/*
! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
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;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-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;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-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;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

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

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden] {
  display: none;
}

input:where([type='text']),input:where(:not([type])),input:where([type='email']),input:where([type='url']),input:where([type='password']),input:where([type='number']),input:where([type='date']),input:where([type='datetime-local']),input:where([type='month']),input:where([type='search']),input:where([type='tel']),input:where([type='time']),input:where([type='week']),select:where([multiple]),textarea,select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: #fff;
  border-color: #6b7280;
  border-width: 1px;
  border-radius: 0px;
  padding-top: 0.5rem;
  padding-right: 0.75rem;
  padding-bottom: 0.5rem;
  padding-left: 0.75rem;
  font-size: 1rem;
  line-height: 1.5rem;
  --tw-shadow: 0 0 #0000;
}

input:where([type='text']):focus, input:where(:not([type])):focus, input:where([type='email']):focus, input:where([type='url']):focus, input:where([type='password']):focus, input:where([type='number']):focus, input:where([type='date']):focus, input:where([type='datetime-local']):focus, input:where([type='month']):focus, input:where([type='search']):focus, input:where([type='tel']):focus, input:where([type='time']):focus, input:where([type='week']):focus, select:where([multiple]):focus, textarea:focus, select:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: #2563eb;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  border-color: #2563eb;
}

input::-moz-placeholder, textarea::-moz-placeholder {
  color: #6b7280;
  opacity: 1;
}

input::placeholder,textarea::placeholder {
  color: #6b7280;
  opacity: 1;
}

::-webkit-datetime-edit-fields-wrapper {
  padding: 0;
}

::-webkit-date-and-time-value {
  min-height: 1.5em;
  text-align: inherit;
}

::-webkit-datetime-edit {
  display: inline-flex;
}

::-webkit-datetime-edit,::-webkit-datetime-edit-year-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-meridiem-field {
  padding-top: 0;
  padding-bottom: 0;
}

select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
  -webkit-print-color-adjust: exact;
          print-color-adjust: exact;
}

select:where([multiple]),select:where([size]:not([size="1"])) {
  background-image: initial;
  background-position: initial;
  background-repeat: unset;
  background-size: initial;
  padding-right: 0.75rem;
  -webkit-print-color-adjust: unset;
          print-color-adjust: unset;
}

input:where([type='checkbox']),input:where([type='radio']) {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  padding: 0;
  -webkit-print-color-adjust: exact;
          print-color-adjust: exact;
  display: inline-block;
  vertical-align: middle;
  background-origin: border-box;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  flex-shrink: 0;
  height: 1rem;
  width: 1rem;
  color: #2563eb;
  background-color: #fff;
  border-color: #6b7280;
  border-width: 1px;
  --tw-shadow: 0 0 #0000;
}

input:where([type='checkbox']) {
  border-radius: 0px;
}

input:where([type='radio']) {
  border-radius: 100%;
}

input:where([type='checkbox']):focus,input:where([type='radio']):focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
  --tw-ring-offset-width: 2px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: #2563eb;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
}

input:where([type='checkbox']):checked,input:where([type='radio']):checked {
  border-color: transparent;
  background-color: currentColor;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

input:where([type='checkbox']):checked {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
}

@media (forced-colors: active)  {
  input:where([type='checkbox']):checked {
    -webkit-appearance: auto;
       -moz-appearance: auto;
            appearance: auto;
  }
}

input:where([type='radio']):checked {
  background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e");
}

@media (forced-colors: active)  {
  input:where([type='radio']):checked {
    -webkit-appearance: auto;
       -moz-appearance: auto;
            appearance: auto;
  }
}

input:where([type='checkbox']):checked:hover,input:where([type='checkbox']):checked:focus,input:where([type='radio']):checked:hover,input:where([type='radio']):checked:focus {
  border-color: transparent;
  background-color: currentColor;
}

input:where([type='checkbox']):indeterminate {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3e%3cpath stroke='white' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3e%3c/svg%3e");
  border-color: transparent;
  background-color: currentColor;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

@media (forced-colors: active)  {
  input:where([type='checkbox']):indeterminate {
    -webkit-appearance: auto;
       -moz-appearance: auto;
            appearance: auto;
  }
}

input:where([type='checkbox']):indeterminate:hover,input:where([type='checkbox']):indeterminate:focus {
  border-color: transparent;
  background-color: currentColor;
}

input:where([type='file']) {
  background: unset;
  border-color: inherit;
  border-width: 0;
  border-radius: 0;
  padding: 0;
  font-size: unset;
  line-height: inherit;
}

input:where([type='file']):focus {
  outline: 1px solid ButtonText;
  outline: 1px auto -webkit-focus-ring-color;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:is(.dark body) {
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(249 250 251 / var(--tw-text-opacity));
}

body {
  /* Account for fixed header (nav + divider only; breadcrumb is outside header) */
  padding-top: 66px;
  /* Mobile: 64px nav + 2px divider */
}

@media (min-width: 1024px) {
  body {
    padding-top: 82px;
    /* Desktop: 80px nav + 2px divider */
  }
}

/* Adjust padding when admin bar is present */

/* Custom Fonts - D-DIN */

@font-face {
  font-family: 'D-DIN';

  src: url('../fonts/d-din-bold-webfont.woff2') format('woff2'),
         url('../fonts/d-din-bold-webfont.woff') format('woff');

  font-weight: 700;

  font-style: normal;

  font-display: swap;
}

/* Custom Fonts - IBM Plex Mono */

@font-face {
  font-family: 'IBM Plex Mono';

  src: url('../fonts/ibmplexmono-regular.woff2') format('woff2'),
         url('../fonts/ibmplexmono-regular.woff') format('woff');

  font-weight: 400;

  font-style: normal;

  font-display: swap;
}

/* Improved focus visibility for accessibility - scoped to interactive elements */

button:focus-visible,
  input:focus-visible,
  select:focus-visible,
  textarea:focus-visible,
  a:focus-visible,
  [tabindex]:not([tabindex="-1"]):focus-visible {
  outline: 2px solid transparent;
  outline-offset: 2px;
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(0 102 204 / var(--tw-ring-opacity));
  --tw-ring-offset-width: 2px;
}

:is(.dark button:focus-visible),:is(.dark 
  input:focus-visible),:is(.dark 
  select:focus-visible),:is(.dark 
  textarea:focus-visible),:is(.dark 
  a:focus-visible),:is(.dark 
  [tabindex]:not([tabindex="-1"]):focus-visible) {
  --tw-ring-offset-color: #111827;
}

/* Skip link - visible on focus for keyboard users */

.skip-link.screen-reader-text:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 9999;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-weight: 600;
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

:is(.dark .skip-link.screen-reader-text:focus) {
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / var(--tw-bg-opacity));
}

.skip-link.screen-reader-text:focus {
  clip: auto;
  width: auto;
  height: auto;
}

/* Headings: no sizing (handled by components/typography plugin) */

/* text-balance scoped to avoid conflicts with .prose plugin */

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  letter-spacing: -0.025em;
}

/* Apply text-balance only to theme headings outside .entry-content */

h1:not(.entry-content *),
  h2:not(.entry-content *),
  h3:not(.entry-content *) {
  text-wrap: balance;
}

p {
  line-height: 1.75;
}

/* Additional line-height for content outside .prose */

.entry-content:not(.prose) p {
  line-height: 1.75;
}

/* Only style lists inside .entry-content to avoid conflicts */

.entry-content ul {
  list-style-type: disc;
}

.entry-content ul > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
}

.entry-content ul {
  padding-left: 1.25rem;
}

.entry-content ol {
  list-style-type: decimal;
}

.entry-content ol > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
}

.entry-content ol {
  padding-left: 1.25rem;
}

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

button {
  font-weight: 500;
}

/* Remove default button styling for better control */

button:not([class]) {
  cursor: pointer;
}

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
}

.container {
  width: 100%;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 960px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}

@media (min-width: 1920px) {
  .container {
    max-width: 1920px;
  }
}

.prose {
  color: var(--tw-prose-body);
  max-width: 65ch;
}

.prose :where(p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

.prose :where([class~="lead"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-lead);
  font-size: 1.25em;
  line-height: 1.6;
  margin-top: 1.2em;
  margin-bottom: 1.2em;
}

.prose :where(a):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-links);
  text-decoration: underline;
  font-weight: 500;
}

.prose :where(strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-bold);
  font-weight: 600;
}

.prose :where(a strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(blockquote strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(thead th strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: decimal;
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-inline-start: 1.625em;
}

.prose :where(ol[type="A"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: upper-alpha;
}

.prose :where(ol[type="a"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: lower-alpha;
}

.prose :where(ol[type="A" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: upper-alpha;
}

.prose :where(ol[type="a" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: lower-alpha;
}

.prose :where(ol[type="I"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: upper-roman;
}

.prose :where(ol[type="i"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: lower-roman;
}

.prose :where(ol[type="I" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: upper-roman;
}

.prose :where(ol[type="i" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: lower-roman;
}

.prose :where(ol[type="1"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: decimal;
}

.prose :where(ul):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: disc;
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-inline-start: 1.625em;
}

.prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
  font-weight: 400;
  color: var(--tw-prose-counters);
}

.prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
  color: var(--tw-prose-bullets);
}

.prose :where(dt):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  margin-top: 1.25em;
}

.prose :where(hr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-color: var(--tw-prose-hr);
  border-top-width: 1px;
  margin-top: 3em;
  margin-bottom: 3em;
}

.prose :where(blockquote):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 500;
  font-style: italic;
  color: var(--tw-prose-quotes);
  border-inline-start-width: 0.25rem;
  border-inline-start-color: var(--tw-prose-quote-borders);
  quotes: "\201C""\201D""\2018""\2019";
  margin-top: 1.6em;
  margin-bottom: 1.6em;
  padding-inline-start: 1em;
}

.prose :where(blockquote p:first-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
  content: open-quote;
}

.prose :where(blockquote p:last-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
  content: close-quote;
}

.prose :where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 800;
  font-size: 2.25em;
  margin-top: 0;
  margin-bottom: 0.8888889em;
  line-height: 1.1111111;
}

.prose :where(h1 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 900;
  color: inherit;
}

.prose :where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 700;
  font-size: 1.5em;
  margin-top: 2em;
  margin-bottom: 1em;
  line-height: 1.3333333;
}

.prose :where(h2 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 800;
  color: inherit;
}

.prose :where(h3):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  font-size: 1.25em;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  line-height: 1.6;
}

.prose :where(h3 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 700;
  color: inherit;
}

.prose :where(h4):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  line-height: 1.5;
}

.prose :where(h4 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 700;
  color: inherit;
}

.prose :where(img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 2em;
  margin-bottom: 2em;
}

.prose :where(picture):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  display: block;
  margin-top: 2em;
  margin-bottom: 2em;
}

.prose :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 2em;
  margin-bottom: 2em;
}

.prose :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 500;
  font-family: inherit;
  color: var(--tw-prose-kbd);
  box-shadow: 0 0 0 1px var(--tw-prose-kbd-shadows), 0 3px 0 var(--tw-prose-kbd-shadows);
  font-size: 0.875em;
  border-radius: 0.3125rem;
  padding-top: 0.1875em;
  padding-inline-end: 0.375em;
  padding-bottom: 0.1875em;
  padding-inline-start: 0.375em;
}

.prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-code);
  font-weight: 600;
  font-size: 0.875em;
}

.prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
  content: "`";
}

.prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
  content: "`";
}

.prose :where(a code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(h1 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(h2 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
  font-size: 0.875em;
}

.prose :where(h3 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
  font-size: 0.9em;
}

.prose :where(h4 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(blockquote code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(thead th code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.prose :where(pre):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-pre-code);
  background-color: var(--tw-prose-pre-bg);
  overflow-x: auto;
  font-weight: 400;
  font-size: 0.875em;
  line-height: 1.7142857;
  margin-top: 1.7142857em;
  margin-bottom: 1.7142857em;
  border-radius: 0.375rem;
  padding-top: 0.8571429em;
  padding-inline-end: 1.1428571em;
  padding-bottom: 0.8571429em;
  padding-inline-start: 1.1428571em;
}

.prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  background-color: transparent;
  border-width: 0;
  border-radius: 0;
  padding: 0;
  font-weight: inherit;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
}

.prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
  content: none;
}

.prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
  content: none;
}

.prose :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  width: 100%;
  table-layout: auto;
  margin-top: 2em;
  margin-bottom: 2em;
  font-size: 0.875em;
  line-height: 1.7142857;
}

.prose :where(thead):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-bottom-width: 1px;
  border-bottom-color: var(--tw-prose-th-borders);
}

.prose :where(thead th):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  vertical-align: bottom;
  padding-inline-end: 0.5714286em;
  padding-bottom: 0.5714286em;
  padding-inline-start: 0.5714286em;
}

.prose :where(tbody tr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-bottom-width: 1px;
  border-bottom-color: var(--tw-prose-td-borders);
}

.prose :where(tbody tr:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-bottom-width: 0;
}

.prose :where(tbody td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  vertical-align: baseline;
}

.prose :where(tfoot):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-top-width: 1px;
  border-top-color: var(--tw-prose-th-borders);
}

.prose :where(tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  vertical-align: top;
}

.prose :where(th, td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  text-align: start;
}

.prose :where(figure > *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
  margin-bottom: 0;
}

.prose :where(figcaption):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-captions);
  font-size: 0.875em;
  line-height: 1.4285714;
  margin-top: 0.8571429em;
}

.prose {
  --tw-prose-body: #374151;
  --tw-prose-headings: #111827;
  --tw-prose-lead: #4b5563;
  --tw-prose-links: #111827;
  --tw-prose-bold: #111827;
  --tw-prose-counters: #6b7280;
  --tw-prose-bullets: #d1d5db;
  --tw-prose-hr: #e5e7eb;
  --tw-prose-quotes: #111827;
  --tw-prose-quote-borders: #e5e7eb;
  --tw-prose-captions: #6b7280;
  --tw-prose-kbd: #111827;
  --tw-prose-kbd-shadows: rgb(17 24 39 / 10%);
  --tw-prose-code: #111827;
  --tw-prose-pre-code: #e5e7eb;
  --tw-prose-pre-bg: #1f2937;
  --tw-prose-th-borders: #d1d5db;
  --tw-prose-td-borders: #e5e7eb;
  --tw-prose-invert-body: #d1d5db;
  --tw-prose-invert-headings: #fff;
  --tw-prose-invert-lead: #9ca3af;
  --tw-prose-invert-links: #fff;
  --tw-prose-invert-bold: #fff;
  --tw-prose-invert-counters: #9ca3af;
  --tw-prose-invert-bullets: #4b5563;
  --tw-prose-invert-hr: #374151;
  --tw-prose-invert-quotes: #f3f4f6;
  --tw-prose-invert-quote-borders: #374151;
  --tw-prose-invert-captions: #9ca3af;
  --tw-prose-invert-kbd: #fff;
  --tw-prose-invert-kbd-shadows: rgb(255 255 255 / 10%);
  --tw-prose-invert-code: #fff;
  --tw-prose-invert-pre-code: #d1d5db;
  --tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);
  --tw-prose-invert-th-borders: #4b5563;
  --tw-prose-invert-td-borders: #374151;
  font-size: 1rem;
  line-height: 1.75;
}

.prose :where(picture > img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
  margin-bottom: 0;
}

.prose :where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-start: 0.375em;
}

.prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-start: 0.375em;
}

.prose :where(.prose > ul > li p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}

.prose :where(.prose > ul > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.25em;
}

.prose :where(.prose > ul > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-bottom: 1.25em;
}

.prose :where(.prose > ol > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.25em;
}

.prose :where(.prose > ol > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-bottom: 1.25em;
}

.prose :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}

.prose :where(dl):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

.prose :where(dd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.5em;
  padding-inline-start: 1.625em;
}

.prose :where(hr + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose :where(h2 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose :where(h3 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose :where(h4 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose :where(thead th:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-start: 0;
}

.prose :where(thead th:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-end: 0;
}

.prose :where(tbody td, tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-top: 0.5714286em;
  padding-inline-end: 0.5714286em;
  padding-bottom: 0.5714286em;
  padding-inline-start: 0.5714286em;
}

.prose :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-start: 0;
}

.prose :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-end: 0;
}

.prose :where(figure):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 2em;
  margin-bottom: 2em;
}

.prose :where(.prose > :first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose :where(.prose > :last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-bottom: 0;
}

.prose-lg {
  font-size: 1.125rem;
  line-height: 1.7777778;
}

.prose-lg :where(p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.3333333em;
  margin-bottom: 1.3333333em;
}

.prose-lg :where([class~="lead"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-size: 1.2222222em;
  line-height: 1.4545455;
  margin-top: 1.0909091em;
  margin-bottom: 1.0909091em;
}

.prose-lg :where(blockquote):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.6666667em;
  margin-bottom: 1.6666667em;
  padding-inline-start: 1em;
}

.prose-lg :where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-size: 2.6666667em;
  margin-top: 0;
  margin-bottom: 0.8333333em;
  line-height: 1;
}

.prose-lg :where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-size: 1.6666667em;
  margin-top: 1.8666667em;
  margin-bottom: 1.0666667em;
  line-height: 1.3333333;
}

.prose-lg :where(h3):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-size: 1.3333333em;
  margin-top: 1.6666667em;
  margin-bottom: 0.6666667em;
  line-height: 1.5;
}

.prose-lg :where(h4):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.7777778em;
  margin-bottom: 0.4444444em;
  line-height: 1.5555556;
}

.prose-lg :where(img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.7777778em;
  margin-bottom: 1.7777778em;
}

.prose-lg :where(picture):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.7777778em;
  margin-bottom: 1.7777778em;
}

.prose-lg :where(picture > img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
  margin-bottom: 0;
}

.prose-lg :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.7777778em;
  margin-bottom: 1.7777778em;
}

.prose-lg :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-size: 0.8888889em;
  border-radius: 0.3125rem;
  padding-top: 0.2222222em;
  padding-inline-end: 0.4444444em;
  padding-bottom: 0.2222222em;
  padding-inline-start: 0.4444444em;
}

.prose-lg :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-size: 0.8888889em;
}

.prose-lg :where(h2 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-size: 0.8666667em;
}

.prose-lg :where(h3 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-size: 0.875em;
}

.prose-lg :where(pre):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-size: 0.8888889em;
  line-height: 1.75;
  margin-top: 2em;
  margin-bottom: 2em;
  border-radius: 0.375rem;
  padding-top: 1em;
  padding-inline-end: 1.5em;
  padding-bottom: 1em;
  padding-inline-start: 1.5em;
}

.prose-lg :where(ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.3333333em;
  margin-bottom: 1.3333333em;
  padding-inline-start: 1.5555556em;
}

.prose-lg :where(ul):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.3333333em;
  margin-bottom: 1.3333333em;
  padding-inline-start: 1.5555556em;
}

.prose-lg :where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.6666667em;
  margin-bottom: 0.6666667em;
}

.prose-lg :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-start: 0.4444444em;
}

.prose-lg :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-start: 0.4444444em;
}

.prose-lg :where(.prose-lg > ul > li p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.8888889em;
  margin-bottom: 0.8888889em;
}

.prose-lg :where(.prose-lg > ul > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.3333333em;
}

.prose-lg :where(.prose-lg > ul > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-bottom: 1.3333333em;
}

.prose-lg :where(.prose-lg > ol > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.3333333em;
}

.prose-lg :where(.prose-lg > ol > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-bottom: 1.3333333em;
}

.prose-lg :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.8888889em;
  margin-bottom: 0.8888889em;
}

.prose-lg :where(dl):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.3333333em;
  margin-bottom: 1.3333333em;
}

.prose-lg :where(dt):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.3333333em;
}

.prose-lg :where(dd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.6666667em;
  padding-inline-start: 1.5555556em;
}

.prose-lg :where(hr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 3.1111111em;
  margin-bottom: 3.1111111em;
}

.prose-lg :where(hr + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose-lg :where(h2 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose-lg :where(h3 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose-lg :where(h4 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose-lg :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-size: 0.8888889em;
  line-height: 1.5;
}

.prose-lg :where(thead th):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-end: 0.75em;
  padding-bottom: 0.75em;
  padding-inline-start: 0.75em;
}

.prose-lg :where(thead th:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-start: 0;
}

.prose-lg :where(thead th:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-end: 0;
}

.prose-lg :where(tbody td, tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-top: 0.75em;
  padding-inline-end: 0.75em;
  padding-bottom: 0.75em;
  padding-inline-start: 0.75em;
}

.prose-lg :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-start: 0;
}

.prose-lg :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-end: 0;
}

.prose-lg :where(figure):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.7777778em;
  margin-bottom: 1.7777778em;
}

.prose-lg :where(figure > *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
  margin-bottom: 0;
}

.prose-lg :where(figcaption):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-size: 0.8888889em;
  line-height: 1.5;
  margin-top: 1em;
}

.prose-lg :where(.prose-lg > :first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.prose-lg :where(.prose-lg > :last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-bottom: 0;
}

/* ─────────────────────────────────────────────────────
     BUTTONS
     ───────────────────────────────────────────────────── */

.logo {
  font-family: D-DIN, sans-serif;
  font-weight: 700;
  line-height: 1;
  font-size: 22px;
  /* Mobile: 22px */
}

/* Desktop: 26px logo */

@media (min-width: 1024px) {
  .logo {
    font-size: 26px;
  }
}

.logo-ctrl {
  --tw-text-opacity: 1;
  color: rgb(240 122 40 / var(--tw-text-opacity));
  /* #F07A28 */
}

.logo-dynamics {
  --tw-text-opacity: 1;
  color: rgb(0 153 153 / var(--tw-text-opacity));
  /* #009999 */
}

.logo-subtext {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-size: 11px;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity));
  /* #6B7280, Inter Semi Bold */
  /* Mobile: hide subtitle */
  display: none;
}

/* Desktop: show subtitle - visible up to 175% zoom */

@media (min-width: 980px) {
  .logo-subtext {
    display: block;
  }
}

/* ─────────────────────────────────────────────────────
   HERO SECTION
   ───────────────────────────────────────────────────── */

.hero-heading {
  font-family: D-DIN, sans-serif;
  font-weight: 700;
  color: #E0E1DD;
  font-size: 36px;
  /* Changed from 32px */
  line-height: 1.2;
  margin: 0;
  /* Reset default margins */
}

.hero-text-1,
  .hero-text-2,
  .hero-text-1-continued,
  .hero-text-2-continued {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  color: rgba(224, 225, 221, 0.9);
  /* #E0E1DD at 90% opacity */
  font-size: 16px;
  /* Changed from 12px */
  font-weight: 400;
  /* Regular */
  line-height: 1.5;
  margin: 0;
  /* Reset default paragraph margins */
}

.hero-meta-1,
  .hero-meta-2 {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  color: #A8A8A0;
  font-size: 10px;
  font-weight: 400;
  /* Regular */
  line-height: 1.5;
  margin: 0;
  /* Reset default paragraph margins */
}

.hero-meta-location-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.hero-meta-location-link:hover {
  color: #F07A28;
  /* Orange accent */
}

.hero-meta-location-link:focus-visible {
  outline: 2px solid #F07A28;
  outline-offset: 2px;
}

.btn-hero-primary {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-weight: 700;
  background-color: #D97706;
  /* Muted amber / industrial orange */
  color: #111827;
  /* Near-black for legibility */
  font-size: 12px;
  height: 48px;
  /* Industrial height (44-48px range) */
  padding: 0 24px;
  /* Horizontal padding (20-28px range) */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  /* No border */
  border-radius: 6px;
  /* 6-8px max, not pill-shaped */
  cursor: pointer;
  text-decoration: none;
  /* Remove underline when used as link */
  transition: background-color 0.2s, transform 0.2s;
}

.btn-hero-primary:hover {
  background-color: #B45309;
  /* Slight darkening on hover */
  transform: translateY(-1px);
  /* Subtle lift, not shadow */
}

.btn-hero-primary:focus {
  outline: 2px solid #4B5563;
  /* Neutral outline, not orange glow */
  outline-offset: 2px;
}

.btn-hero-primary:focus:not(:focus-visible) {
  outline: none;
  /* Remove outline for mouse clicks, keep for keyboard */
}

.btn-hero-link {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-weight: 700;
  color: #009999;
  /* teal-500 */
  font-size: 12px;
  text-decoration: none;
  transition: color 0.2s;
  margin-left: 20px;
  /* Move 20px to the right */
  display: inline-flex;
  align-items: center;
  /* Vertically center arrow and text */
  gap: 8px;
  /* Space between arrow and text */
}

.btn-hero-link:hover {
  color: #007a7a;
  /* teal-600 - slightly darker on hover */
}

.btn-hero-arrow {
  flex-shrink: 0;
  /* Prevent arrow from shrinking */
  color: currentColor;
  /* Match link color */
}

/* ─────────────────────────────────────────────────────
   HERO SECTION - GRID OVERLAY
   Default: grid 7 (primary + counter diagonal). Use ?hero_grid=6 to preview grid 6.
   ───────────────────────────────────────────────────── */

.hero-section {
  position: relative;
}

/* Industrial WebGL grid (grid 8): canvas sits on top of section; hide CSS ::before when canvas present */

.hero-section.hero-grid-8:has(#heroGrid)::before {
  opacity: 0;
  pointer-events: none;
}

/* Industrial grid canvas – full bleed, behind content */

#heroGrid.hero-grid-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Grid overlay pseudo-element */

.hero-section.hero-grid-6::before,
.hero-section.hero-grid-7::before,
.hero-section.hero-grid-8::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background-repeat: repeat;
  background-position: center;
}

/* Only elevate site-container above grid. Do NOT set position on .energy-flow so it keeps
   position: absolute and fills the section; otherwise it gets .section-h-128 > div padding
   and clips flow-line-2/3/4. */

.hero-section .site-container {
  position: relative;
  z-index: 1;
}

/* Grid 6: SVG diagonal – minor 40px (4.5% opacity) + major 160px (9% opacity). Enable via ?hero_grid=6 */

.hero-section.hero-grid-6::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1920' height='900' viewBox='0 0 1920 900'%3E%3Cdefs%3E%3Cpattern id='diagMinor' patternUnits='userSpaceOnUse' width='40' height='40' patternTransform='rotate(45)'%3E%3Cline x1='0' y1='0' x2='0' y2='40' stroke='rgba(255,255,255,0.045)' stroke-width='1'/%3E%3C/pattern%3E%3Cpattern id='diagMajor' patternUnits='userSpaceOnUse' width='160' height='160' patternTransform='rotate(45)'%3E%3Crect width='160' height='160' fill='url(%23diagMinor)'/%3E%3Cline x1='0' y1='0' x2='0' y2='160' stroke='rgba(255,255,255,0.09)' stroke-width='1.2'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23diagMajor)'/%3E%3C/svg%3E");
}

/* Version 7: SVG primary diagonal (44/176px) + counter diagonal (220px); vertical fade via CSS mask */

.hero-section.hero-grid-7::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1920' height='900' viewBox='0 0 1920 900'%3E%3Cdefs%3E%3Cpattern id='diagPrimaryMinor' patternUnits='userSpaceOnUse' width='44' height='44' patternTransform='rotate(45)'%3E%3Cline x1='0' y1='0' x2='0' y2='44' stroke='rgba(255,255,255,0.045)' stroke-width='1'/%3E%3C/pattern%3E%3Cpattern id='diagPrimaryMajor' patternUnits='userSpaceOnUse' width='176' height='176' patternTransform='rotate(45)'%3E%3Crect width='176' height='176' fill='url(%23diagPrimaryMinor)'/%3E%3Cline x1='0' y1='0' x2='0' y2='176' stroke='rgba(255,255,255,0.085)' stroke-width='1.2'/%3E%3C/pattern%3E%3Cpattern id='diagCounter' patternUnits='userSpaceOnUse' width='220' height='220' patternTransform='rotate(-45)'%3E%3Cline x1='0' y1='0' x2='0' y2='220' stroke='rgba(255,255,255,0.022)' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23diagPrimaryMajor)'/%3E%3Crect width='100%25' height='100%25' fill='url(%23diagCounter)'/%3E%3C/svg%3E");
  /* Vertical fade: almost invisible at top, full strength at bottom (avoids SVG url(#id) issues in data URI) */
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.15) 25%, rgba(0,0,0,0.6) 55%, rgba(0,0,0,1) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.15) 25%, rgba(0,0,0,0.6) 55%, rgba(0,0,0,1) 100%);
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

/* Grid 8: B2B-authoritative diagonal. Crisp SVG, strong vertical fade, counter-diagonal ~35% strength, very slow drift.
   Enable via ?hero_grid=8. Spec: shape-rendering crispEdges, 1px strokes, no blur; hierarchy (grid supports message). */

.hero-section.hero-grid-8::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1920' height='900' viewBox='0 0 1920 900' shape-rendering='crispEdges'%3E%3Cdefs%3E%3Cpattern id='d8Minor' patternUnits='userSpaceOnUse' width='44' height='44' patternTransform='rotate(45)'%3E%3Cline x1='0' y1='0' x2='0' y2='44' stroke='rgba(255,255,255,0.045)' stroke-width='1'/%3E%3C/pattern%3E%3Cpattern id='d8Major' patternUnits='userSpaceOnUse' width='176' height='176' patternTransform='rotate(45)'%3E%3Crect width='176' height='176' fill='url(%23d8Minor)'/%3E%3Cline x1='0' y1='0' x2='0' y2='176' stroke='rgba(255,255,255,0.085)' stroke-width='1'/%3E%3C/pattern%3E%3Cpattern id='d8Counter' patternUnits='userSpaceOnUse' width='220' height='220' patternTransform='rotate(-45)'%3E%3Cline x1='0' y1='0' x2='0' y2='220' stroke='rgba(255,255,255,0.008)' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23d8Major)'/%3E%3Crect width='100%25' height='100%25' fill='url(%23d8Counter)'/%3E%3C/svg%3E");
  /* Vertical fade: nearly invisible at top, full strength at bottom — grid as structural support, not decoration */
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.02) 8%, rgba(0,0,0,0.12) 30%, rgba(0,0,0,0.5) 55%, rgba(0,0,0,1) 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.02) 8%, rgba(0,0,0,0.12) 30%, rgba(0,0,0,0.5) 55%, rgba(0,0,0,1) 100%);
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  /* Near-imperceptible drift: background-position only, 100s loop — no transform on grid */
  animation: hero-grid-8-drift 100s linear infinite;
}

@keyframes hero-grid-8-drift {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 4px 2px;
  }
}

/* Force grid 8 when body has hero-grid-8-active (set from front-page.php); overrides cached hero-grid-7 */

body.hero-grid-8-active .hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background-repeat: repeat;
  background-position: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1920' height='900' viewBox='0 0 1920 900' shape-rendering='crispEdges'%3E%3Cdefs%3E%3Cpattern id='d8Minor' patternUnits='userSpaceOnUse' width='44' height='44' patternTransform='rotate(45)'%3E%3Cline x1='0' y1='0' x2='0' y2='44' stroke='rgba(255,255,255,0.045)' stroke-width='1'/%3E%3C/pattern%3E%3Cpattern id='d8Major' patternUnits='userSpaceOnUse' width='176' height='176' patternTransform='rotate(45)'%3E%3Crect width='176' height='176' fill='url(%23d8Minor)'/%3E%3Cline x1='0' y1='0' x2='0' y2='176' stroke='rgba(255,255,255,0.085)' stroke-width='1'/%3E%3C/pattern%3E%3Cpattern id='d8Counter' patternUnits='userSpaceOnUse' width='220' height='220' patternTransform='rotate(-45)'%3E%3Cline x1='0' y1='0' x2='0' y2='220' stroke='rgba(255,255,255,0.008)' stroke-width='1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23d8Major)'/%3E%3Crect width='100%25' height='100%25' fill='url(%23d8Counter)'/%3E%3C/svg%3E");
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.02) 8%, rgba(0,0,0,0.12) 30%, rgba(0,0,0,0.5) 55%, rgba(0,0,0,1) 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.02) 8%, rgba(0,0,0,0.12) 30%, rgba(0,0,0,0.5) 55%, rgba(0,0,0,1) 100%);
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  animation: hero-grid-8-drift 100s linear infinite;
}

/* ─────────────────────────────────────────────────────
   HERO SECTION - PLATFORMS COLUMN
   ───────────────────────────────────────────────────── */

/* Container for platforms column */

.hero-platforms-column {
  margin-top: 2rem;
  /* 32px - spacing from text above */
  margin-bottom: 0;
}

/* Micro rule divider */

.hero-platforms-divider {
  width: 28px;
  height: 1px;
  background-color: rgba(0, 153, 153, 0.35);
  /* teal at 35% opacity */
  margin-bottom: 12px;
}

/* Label: "Core Platforms & Delivery" */

.hero-platforms-label {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(247, 247, 245, 0.55);
  /* bone white muted */
  margin: 0 0 14px 0;
  line-height: 1.4;
}

/* Vertical signal list */

.hero-platforms-list {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  color: rgba(247, 247, 245, 0.85);
  list-style: none;
  /* Remove default bullets */
  padding: 0;
  margin: 0;
  padding-left: 0;
  /* No left padding */
  max-width: 32ch;
  /* 28-32ch as per spec */
}

.hero-platforms-list li {
  margin-bottom: 0;
  padding: 0;
  padding-left: 1.2em;
  /* Space for bullet */
  position: relative;
}

/* Add bullet points on the left */

.hero-platforms-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: rgba(247, 247, 245, 0.5);
  /* Muted color for bullets */
  font-weight: 400;
}

/* Desktop: Position as right column, mid-aligned */

@media (min-width: 1024px) {
  .hero-platforms-column {
    position: absolute;
    right: 84px;
    /* Moved 60px left (from 24px to 84px) */
    top: calc(50% + 44px);
    /* Moved 51px down (18px + 33px) */
    transform: translateY(-50%);
    /* Vertically center */
    margin-top: 0;
    max-width: 280px;
    z-index: 2;
    /* Above gradients */
  }

  .hero-platforms-list li::before {
    display: block;
    /* Show bullets on desktop */
  }
}

/* Mobile: Keep vertical list with bullets, remove inline dots */

@media (max-width: 767px) {
  .hero-platforms-column {
    margin-top: 1.5rem;
    margin-bottom: 0;
    max-width: 100%;
  }

  .hero-platforms-list {
    font-size: 14px;
  }

  .hero-platforms-list li::before {
    display: block;
    /* Show bullets on mobile */
  }

  /* Remove the ::after dots that were between items */

  .hero-platforms-list li:not(:last-child)::after {
    content: '';
    /* Remove inline dots */
  }
}

/* ─────────────────────────────────────────────────────
   HERO SECTION - MOVING GRADIENT LINES
   ───────────────────────────────────────────────────── */

/* Energy Flow Container */

.energy-flow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  /* Behind content */
}

/* Base Flow Line */

.flow-line {
  position: absolute;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 107, 53, 0.8),  /* tangerine-alert */
    rgba(255, 182, 39, 0.8),   /* golden-status */
    rgba(255, 107, 53, 0.8),   /* tangerine-alert */
    transparent
  );
  animation: energyFlow 16s linear infinite;
  /* Force all gradients to start at initial state */
  transform: translateX(-100%);
  opacity: 0;
}

/* Animation: Appear slowly on left, fade on right */

@keyframes energyFlow {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }

  8% {
    transform: translateX(-20%);
    /* Still moving, not stopped */
    opacity: 0;
    /* Still invisible */
  }

  15% {
    transform: translateX(0%);
    /* Entered screen */
    opacity: 0.2;
    /* Start appearing */
  }

  20% {
    transform: translateX(5vw);
    /* Continue moving */
    opacity: 0.7;
    /* Peak opacity (desktop) - fully visible */
  }

  70% {
    transform: translateX(70vw);
    /* Start fading earlier */
    opacity: 0.7;
    /* Maintain peak opacity */
  }

  78% {
    transform: translateX(80vw);
    /* Approaching right edge */
    opacity: 0.4;
    /* Start fading out */
  }

  85% {
    transform: translateX(88vw);
    opacity: 0.15;
    /* More faded */
  }

  92% {
    transform: translateX(95vw);
    opacity: 0.05;
    /* Almost gone */
  }

  100% {
    transform: translateX(100vw);
    opacity: 0;
    /* Fully disappeared */
  }
}

/* Desktop (≥1024px): 4 lines */

@media (min-width: 1024px) {
  .flow-line {
    height: 2px;
    animation-duration: 16s;
  }

  .flow-line-1 {
    width: 20vw;
    top: 86px;
    animation-delay: 0s;
  }

  .flow-line-2 {
    width: 30vw;
    top: 151px;
    animation-delay: 2s;
  }

  .flow-line-3 {
    width: 15vw;
    top: 225px;
    animation-delay: 4s;
  }

  .flow-line-4 {
    width: 10vw;
    top: 390px;
    animation-delay: 6s;
    /* Reduced from 6s to follow line 3 more closely */
  }

  /* Hide lines 3 & 4 on tablet, all but line 1 on mobile
  .flow-line-3,
  .flow-line-4 {
    display: none;
  }*/
}

/* Tablet (768px - 1023px): 3 lines */

@media (min-width: 768px) and (max-width: 1023px) {
  .flow-line {
    height: 2px;
    animation-duration: 20s;
  }

  @keyframes energyFlow {
    0% {
      transform: translateX(-100%);
      opacity: 0;
    }

    5% {
      opacity: 0;
    }

    10% {
      opacity: 0.5;
      /* Peak opacity (tablet) */
    }

    85% {
      opacity: 0.5;
    }

    90% {
      opacity: 0.2;
    }

    100% {
      transform: translateX(100vw);
      opacity: 0;
    }
  }

  .flow-line-1 {
    width: 25vw;
    top: 124px;
    animation-delay: 0s;
  }

  .flow-line-2 {
    width: 35vw;
    top: 185px;
    animation-delay: 3s;
  }

  .flow-line-3 {
    width: 20vw;
    top: 480px;
    animation-delay: 6s;
    display: block;
    /* Show 3rd line on tablet */
  }

  /* Hide only line 4 on tablet */

  .flow-line-4 {
    display: none;
  }
}

/* Mobile (≤768px): 3 lines */

@media (max-width: 767px) {
  .flow-line {
    height: 1px;
    animation-duration: 22s;
  }

  @keyframes energyFlow {
    0% {
      transform: translateX(-100%);
      opacity: 0;
    }

    5% {
      opacity: 0;
    }

    10% {
      opacity: 0.35;
      /* Peak opacity (mobile) */
    }

    85% {
      opacity: 0.35;
    }

    90% {
      opacity: 0.15;
    }

    100% {
      transform: translateX(100vw);
      opacity: 0;
    }
  }

  .flow-line-1 {
    width: 70vw;
    top: 163px;
    /* Adjusted for 3 lines */
    animation-delay: 0s;
    display: block;
  }

  .flow-line-2 {
    width: 65vw;
    top: 265px;
    /* Middle position */
    animation-delay: 4s;
    display: block;
    /* Show 2nd line on mobile */
  }

  .flow-line-3 {
    width: 75vw;
    top: 586px;
    /* Lower position */
    animation-delay: 8s;
    display: block;
    /* Show 3rd line on mobile */
  }

  /* Hide only line 4 on mobile */

  .flow-line-4 {
    display: none;
  }
}

/* Narrow mobile (≤430px): 4 lines aligned under content */

@media (max-width: 430px) {
  /* Under "Designer & Engineer" */

  .flow-line-1 {
    top: 17%;
    width: 70vw;
    animation-delay: 0s;
    display: block;
  }

  /* Under "now independent" */

  .flow-line-2 {
    top: 40%;
    width: 65vw;
    animation-delay: 4s;
    display: block;
  }

  /* Under "Full project or phase support" */

  .flow-line-3 {
    top: calc(67% + 10px);
    width: 75vw;
    animation-delay: 8s;
    display: block;
  }

  /* Under "Contract delivery" */

  .flow-line-4 {
    top: 90%;
    width: 60vw;
    animation-delay: 12s;
    display: block;
  }

  /* Under "Check Availability" CTA */
}

/* Accessibility: Respect user's motion preferences
@media (prefers-reduced-motion: reduce) {
  .flow-line {
    animation: none;
    opacity: 0.2;
  }
}
*/

/* Hero section spacing - exact values from design */

.hero-heading {
  margin-top: 0;
  /* Heading starts at top padding */
}

.hero-text-1 {
  margin-top: 1rem;
  /* 16px - below header */
}

.hero-text-1-continued {
  margin-top: 0;
  /* No top margin, continues from previous line */
}

.hero-text-2 {
  margin-top: 1.375rem;
  /* 22px - below text-1-continued */
}

.hero-text-2-continued {
  margin-top: 0;
  /* No top margin, continues from previous line */
}

.hero-meta-1 {
  margin-top: 2.25rem;
  /* 36px - below text-2 */
}

.hero-meta-2 {
  margin-top: 1rem;
  /* 16px - below meta-1 */
}

.hero-actions {
  margin-top: 1.875rem;
  /* 30px - below meta-2 */
  margin-bottom: 0;
  /* Ensure no bottom margin */
}

/* Desktop: Maintain exact spacing values */

@media (min-width: 900px) {
  .hero-heading {
    margin-top: 0 !important;
    font-size: 36px !important;
    /* Changed from default */
    line-height: 1.1 !important;
  }

  .hero-text-1,
  .hero-text-2,
  .hero-text-1-continued,
  .hero-text-2-continued {
    margin-top: 1rem !important;
    /* 16px */
    font-size: 16px !important;
    /* Changed from 12px */
  }

  .hero-text-1-continued,
  .hero-text-2-continued {
    margin-top: 0 !important;
    /* No top margin */
  }

  .hero-meta-1 {
    margin-top: 2.25rem !important;
    /* 36px */
  }

  .hero-meta-2 {
    margin-top: 1rem !important;
    /* 16px */
  }

  .hero-actions {
    margin-top: 1.875rem !important;
    /* 30px */
    margin-bottom: 0 !important;
  }

  /* Ensure container respects 96px bottom padding */

  .section-h-128 > div {
    padding-bottom: 6rem !important;
    /* 96px */
  }

  /* Slightly reduce line-height to save vertical space */

  .hero-text-1,
  .hero-text-2 {
    line-height: 1.4 !important;
    /* Reduced from 1.5 */
  }

  .hero-meta-1,
  .hero-meta-2 {
    line-height: 1.4 !important;
    /* Reduced from 1.5 */
  }
}

/* ─────────────────────────────────────────────────────
   SERVICES SECTION (Section 3)
   ───────────────────────────────────────────────────── */

.services-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  /* Equal gap on both sides */
  align-items: start;
  justify-items: center;
  /* Center the middle column (cloud) */
}

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

.services-title {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-size: 24px;
  /* Changed from 36px */
  font-weight: 400;
  /* Regular - changed from font-bold */
  color: #1F2937;
  /* text-nav-text */
  margin-bottom: 32px;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Reduce gap for right column only (items without descriptions) */

.services-column:last-child .services-list {
  gap: 0.5rem;
  /* Reduced from 1.5rem for tighter spacing */
}

.services-item {
  display: flex;
  align-items: flex-start;
  /* Change from baseline to flex-start for better control */
  gap: 10px;
}

.services-plus {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 600;
  font-size: 35px;
  color: #F07A28;
  /* accent-500 */
  line-height: 1;
  flex-shrink: 0;
  align-self: flex-start;
  padding-top: 0.1em;
  /* Fine-tune alignment with text */
}

/* Adjust "+" signs in right column (items without descriptions) */

.services-column:last-child .services-plus {
  padding-top: 0;
  /* Remove padding for right column */
  margin-top: -0.15em;
  /* Move up slightly to align with text */
}

.services-content {
  flex: 1;
}

.services-item-title {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  /* Changed from 13px */
  font-weight: 400;
  /* Regular */
  color: #1F2937;
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

.services-item-desc {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-size: 13px;
  /* Changed from 11px */
  font-weight: 400;
  /* Regular */
  color: #4B5563;
  /* Slightly lighter gray */
  line-height: 1.5;
}

.services-cloud {
  width: 156px;
  height: 124px;
  /* Changed from 116px to 124px */
  background-color: #DDE2E6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  /* Vertically center in section height */
  padding-top: 18px;
  /* 18px free space from top */
  padding-bottom: 18px;
  /* 18px free space from bottom */
  padding-left: 1rem;
  padding-right: 1rem;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-size: 13px;
  font-weight: 400;
  /* Regular */
  color: #1F2937;
  text-align: center;
  line-height: 1.4;
  flex-shrink: 0;
  justify-self: center;
  margin-top: 3.25rem;
  /* Updated from 2rem (32px) to 3.25rem (52px) - moved down by 20px */
}

/* ─────────────────────────────────────────────────────
     SERVICES SECTION RESPONSIVE ADJUSTMENTS
     ───────────────────────────────────────────────────── */

/* Mobile: Stack columns vertically */

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    justify-items: center;
    /* Center all grid items horizontally */
    align-items: start;
  }

  .services-column {
    width: auto;
    /* Change from 100% - allows centering */
    max-width: 100%;
    /* Prevent overflow */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Keep content aligned to start within column */
  }

  .services-cloud {
    justify-self: center;
    margin: 1rem 0;
  }
}

/* Ensure bottom padding on services section for mobile */

@media (max-width: 768px) {
  .section-h-350 .site-container,
    .section-services-flex .site-container {
    padding-bottom: 4rem !important;
    /* 64px - matches pt-16 */
  }
}

/* Tablet: Adjust spacing */

@media (max-width: 1024px) and (min-width: 769px) {
  .services-grid {
    gap: 1.5rem;
  }

  .services-cloud {
    width: 130px;
    /* Scaled proportionally */
    height: 104px;
    /* Scaled proportionally (124 * 130/156 = 103.33, rounded to 104px) */
    font-size: 11px;
  }
}

/* Desktop: Reduce spacing to prevent overflow at zoom levels */

@media (min-width: 900px) {
  .services-title {
    font-size: 24px !important;
    /* Changed from 36px */
    font-weight: 400 !important;
    /* Regular */
    margin-bottom: 32px !important;
    /* Keep original margin */
  }

  .services-list {
    gap: 1.25rem !important;
    /* Reduced from 1.5rem */
  }

  .services-item-title {
    font-size: 16px !important;
    /* Updated to match base size */
    font-weight: 400 !important;
    /* Regular */
  }

  .services-item-desc {
    font-size: 13px !important;
    /* Updated to match base size */
    font-weight: 400 !important;
    /* Regular */
  }

  .services-plus {
    font-size: 35px !important;
    /* Keep original size or adjust proportionally */
  }

  .services-cloud {
    width: 140px !important;
    /* Scaled proportionally */
    height: 111px !important;
    /* Scaled proportionally (124 * 140/156 = 111.28, rounded to 111px) */
    font-size: 12px !important;
  }
}

/* Further reductions for extreme zoom levels */

@media (min-width: 900px) {
  .services-title {
    line-height: 1.2 !important;
  }

  .services-item-title {
    line-height: 1.3 !important;
    /* Reduced from 1.4 */
  }

  .services-item-desc {
    line-height: 1.4 !important;
    /* Reduced from 1.5 */
  }
}

/* ─────────────────────────────────────────────────────
   CAPABILITIES SECTION (Section 4)
   ───────────────────────────────────────────────────── */

.capabilities-heading {
  font-family: D-DIN, sans-serif;
  font-weight: 700;
  /* Changed from 400 to Bold */
  font-size: 36px;
  /* Changed from 32px to 36px */
  color: #E0E1DD;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.2;
}

.capabilities-columns {
  display: grid;
  grid-template-columns: repeat(3, 380px);
  gap: 2rem;
  justify-content: center;
  align-items: start;
  margin-bottom: 2rem;
  position: relative;
  /* Add this for absolute positioning of button */
}

/* Right column wrapper to contain card and button */

.capability-column-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.capability-card {
  width: 380px;
  border: 1px solid rgba(31, 44, 56, 0.5);
  background: transparent;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.capability-card-tall {
  height: 344px;
}

.capability-card-short {
  height: 344px;
}

/* ─── Hover card variant: image + title bar + overlay (same size/location) ─── */

.capability-hover-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  display: block;
}

.capability-hover-card .capability-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.4s ease;
}

.capability-hover-card:hover .capability-card-img {
  transform: scale(1.05);
}

.capability-card-title-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 1rem;
  background: rgba(0, 0, 0, 0.65);
  color: #E0E1DD;
  font-size: 16px;
  font-weight: 400;
  transition: opacity 0.4s ease;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
}

.capability-hover-card:hover .capability-card-title-bar,
  .capability-hover-card:focus .capability-card-title-bar {
  opacity: 0;
}

.capability-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  color: #F7F7F5;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  padding: 0.75rem 1rem;
}

.capability-hover-card:hover .capability-card-overlay,
  .capability-hover-card:focus .capability-card-overlay,
  .capability-hover-card.is-overlay-open .capability-card-overlay {
  opacity: 1;
}

.capability-hover-card.is-overlay-open .capability-card-title-bar {
  opacity: 0;
}

/* Green/teal hover ring around card (same as before, without link) */

.capability-hover-card:hover,
  .capability-hover-card:focus {
  outline: 1px solid #009999;
  outline-offset: 1px;
}

.capability-overlay-content {
  text-align: left;
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;
}

/* Learn More link at bottom-right of overlay (same underline behavior as footer links) */

.capability-card-learn-more {
  position: absolute;
  right: 1rem;
  bottom: 0.75rem;
  font-size: 14px;
  font-weight: 500;
  color: #009999;
  opacity: 0.6;
  text-decoration: none !important;
  transition: color 0.2s, opacity 0.2s;
}

.capability-card-learn-more:hover,
  .capability-card-learn-more:focus {
  opacity: 1;
}

.capability-card-learn-more:hover {
  color: #F07A28;
  text-decoration: none !important;
}

.capability-card-learn-more::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1px;
  width: 0;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.capability-card-learn-more:hover::after {
  width: 100%;
}

.capability-card-learn-more:focus {
  outline: 2px solid #009999;
  outline-offset: 2px;
}

/* Tighter overlay-only spacing so content fits in card with no scrollbar */

.capability-overlay-content .capability-header {
  color: #009999;
  font-size: 14px;
  margin-bottom: 4px;
  min-height: 0;
}

.capability-overlay-content .capability-intro {
  font-size: 13px;
  margin-bottom: 8px;
}

/* Card 2 & 3: more space between title and subtext (header → intro) */

.capabilities-columns .capability-hover-card:nth-child(2) .capability-overlay-content .capability-header {
  margin-bottom: 32px;
}

.capability-column-right .capability-hover-card .capability-overlay-content .capability-header {
  margin-bottom: 32px;
}

/* Card 2 & 3: 20px gap between intro and the bullet list */

.capabilities-columns .capability-hover-card:nth-child(2) .capability-overlay-content .capability-intro {
  margin-bottom: 20px;
}

.capability-column-right .capability-hover-card .capability-overlay-content .capability-intro {
  margin-bottom: 20px;
}

.capability-overlay-content .capability-list {
  font-size: 10px;
  margin-bottom: 6px;
  min-height: 0;
}

.capability-overlay-content .capability-list li {
  margin-bottom: 4px;
}

.capability-overlay-content .capability-outcome-label {
  margin-top: 4px;
  margin-bottom: 4px;
  font-size: 13px;
}

.capability-overlay-content .capability-outcome {
  font-size: 10px;
  line-height: 1.35;
}

@media (prefers-reduced-motion: reduce) {
  .capability-hover-card .capability-card-img,
    .capability-hover-card .capability-card-title-bar,
    .capability-hover-card .capability-card-overlay {
    transition-duration: 0.01ms;
  }

  .capability-hover-card:hover .capability-card-img {
    transform: none;
  }
}

/* Align all outcome labels at same height using calculated margin-top from card 1 */

.capability-card-tall .capability-outcome-label,
  .capability-card-short .capability-outcome-label {
  margin-top: 30px;
  /* Calculated: header(30px) + intro(37px) + list(96px) = 163px */
  margin-bottom: 14px;
  /* Keep spacing to outcome text */
}

.capability-header {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #009999;
  margin-bottom: 8px;
  line-height: 1.4;
  min-height: 44.8px;
  /* 16px × 1.4 × 2 lines - ensures headers can accommodate wrapping */
}

.capability-intro {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  /* Changed from 13px to 16px */
  font-weight: 400;
  /* Regular */
  color: rgba(247, 247, 245, 0.85);
  /* #F7F7F5 at 85% opacity */
  margin-bottom: 15px;
  line-height: 1.4;
}

.capability-list {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-size: 11px;
  font-weight: 400;
  /* Regular */
  color: rgba(247, 247, 245, 0.55);
  /* Changed from 0.85 to 0.55 (55% opacity) */
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
  line-height: 1.4;
  min-height: 86px;
  /* Approximate height of 4 list items to match card 1 */
}

.capability-list li {
  margin-bottom: 8px;
  /* 8px gaps between each line */
}

.capability-list li:last-child {
  margin-bottom: 0;
}

.capability-list li::before {
  content: "– ";
  margin-right: 4px;
}

.capability-outcome-label {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  /* Changed from 13px to 16px */
  font-weight: 400;
  /* Regular */
  color: rgba(247, 247, 245, 0.85);
  /* #F7F7F5 at 85% opacity */
  margin-bottom: 14px;
  /* margin-top removed - handled by card-specific rules */
  line-height: 1.4;
}

.capability-outcome {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-size: 11px;
  font-weight: 400;
  /* Regular */
  color: rgba(247, 247, 245, 0.85);
  /* #F7F7F5 at 85% opacity */
  margin: 0;
  line-height: 1.4;
}

.capability-button {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-weight: 700;
  width: 196px;
  height: 56px;
  font-size: 12px;
  color: #E5E5DC;
  /* Warm off-white / light grey */
  background: transparent;
  border: 1px solid #4B5563;
  /* Cool industrial grey */
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  /* Remove underline if it's a link */
  line-height: 1.2;
  /* Allow line break */
  text-align: center;
  transition: all 0.2s;
}

.capability-button:hover {
  /* White text on hover */
  /* Very subtle background */
  /* Warm off-white border */
  color: #FFFFFF;
  /* White text on hover */
  background: rgba(229, 229, 220, 0.06);
  /* Very subtle background */
  border-color: #E5E5DC;
  /* Warm off-white border */
}

/* Button wrapper to center button on all viewports */

.capability-button-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 1.5rem;
  /* Match gap from cards */
  margin-bottom: 0;
}

/* Remove button from right column flex layout */

.capability-column-right {
  display: flex;
  flex-direction: column;
  gap: 0;
  /* Remove gap since button is moved out */
  align-items: center;
}

.capability-footer {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-size: 11px;
  font-weight: 400;
  /* Regular */
  color: rgba(112, 112, 112, 0.85);
  /* Changed to #707070 at 85% opacity */
  text-align: center;
  margin: 0;
  margin-top: 56px;
  /* Reduced from 156px by 100px */
  line-height: 1.5;
}

/* ─────────────────────────────────────────────────────
     CAPABILITIES SECTION RESPONSIVE ADJUSTMENTS
     ───────────────────────────────────────────────────── */

@media (max-width: 1024px) {
  .capabilities-columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    justify-items: center;
  }

  .capability-column-right {
    width: 100%;
    max-width: 380px;
  }

  /* Button stays centered on tablet/mobile */

  .capability-button-wrapper {
    margin-top: 1.5rem;
  }

  .capability-card {
    width: 100%;
    max-width: 380px;
    height: auto;
    min-height: 186px;
  }

  /* Hover cards: keep fixed height so image/overlay fill works */

  .capability-hover-card.capability-card-tall,
      .capability-hover-card.capability-card-short {
    height: 344px;
    min-height: 344px;
  }

  .capability-card-tall {
    min-height: 344px;
    /* Increased from 262px by 82px */
  }

  .capability-card-short {
    min-height: 344px;
    /* Changed from 201px to match tall cards */
  }
}

/* Desktop: Reduce spacing to prevent overflow at zoom levels */

@media (min-width: 900px) {
  .capabilities-heading {
    font-size: 36px !important;
    /* Updated to match base size */
    font-weight: 700 !important;
    /* Bold */
    margin-bottom: 30px !important;
  }

  .capabilities-columns {
    gap: 1.5rem !important;
    /* Reduced from 2rem */
  }

  .capability-header {
    font-size: 16px !important;
    /* Updated to match base size */
    font-weight: 400 !important;
    /* Regular */
  }

  .capability-intro {
    font-size: 16px !important;
    /* Updated to match base size */
    font-weight: 400 !important;
    /* Regular */
    margin-bottom: 15px !important;
  }

  .capability-list {
    font-size: 11px !important;
    /* Keep list items at 11px */
  }

  .capability-list li {
    margin-bottom: 8px !important;
    /* Keep at 8px */
  }

  .capability-outcome-label {
    font-size: 16px !important;
    /* Updated to match base size */
    font-weight: 400 !important;
    /* Regular */
    margin-bottom: 14px !important;
  }

  /* Use same margin-top in responsive to maintain alignment */

  .capability-card-tall .capability-outcome-label,
        .capability-card-short .capability-outcome-label {
    margin-top: 30px !important;
    /* Match base value */
  }

  .capability-outcome {
    font-size: 11px !important;
    /* Keep outcome text at 11px */
  }

  .capability-button {
    width: 180px !important;
    height: 52px !important;
    font-size: 12px !important;
  }

  .capability-footer {
    font-size: 11px !important;
    /* Keep footer at 11px */
  }
}

/* ─────────────────────────────────────────────────────
   TECH STACK SECTION (Section 5)
   ───────────────────────────────────────────────────── */

/* Section contains absolute-positioned flow animation */

.techstack-section {
  position: relative;
}

.techstack-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.techstack-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  margin-bottom: 0;
}

.techstack-heading {
  font-family: D-DIN, sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: #1F2937;
  text-align: center;
  margin-bottom: 24px;
  margin-top: 0;
  line-height: 1.2;
}

.techstack-intro {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #1F2937;
  margin-bottom: 0;
  margin-top: 0;
  line-height: 1.5;
  text-align: center;
}

/* PROFINET packet flow animation (Solution A from profinet-animation-guide.md).
     Animation is direct child of section so it fills full section height (incl. empty area).
     Uses .profinet-flow-line to avoid conflict with hero .flow-line (opacity:0, energyFlow). */

.techstack-section .profinet-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 100%;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

.techstack-section .site-container {
  position: relative;
  z-index: 1;
}

.techstack-section .profinet-flow-lines {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: block;
}

.techstack-section .profinet-flow-line {
  stroke: #00a8ff;
  stroke-width: 3;
  stroke-dasharray: 30 15;
  stroke-linecap: round;
  fill: none;
  opacity: 1;
}

.techstack-section .profinet-flow-line.line-1 {
  animation: profinet-flow 4s linear infinite;
}

.techstack-section .profinet-flow-line.line-2 {
  animation: profinet-flow 4s linear infinite 1.3s;
  animation-direction: reverse;
  /* Middle line: right to left */
  opacity: 0.7;
}

.techstack-section .profinet-flow-line.line-3 {
  animation: profinet-flow 4s linear infinite 2.6s;
  opacity: 0.5;
}

@media (prefers-reduced-motion: reduce) {
  .techstack-section .profinet-flow-line {
    animation: none;
  }
}

.techstack-tree {
  width: 100%;
  display: flex;
  justify-content: center;
}

.techstack-tree-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  -moz-column-gap: 74px;
       column-gap: 74px;
  /* Equal gap on both sides of divider */
  align-items: stretch;
  /* Makes all grid items same height */
  justify-items: start;
}

.techstack-tree-divider {
  width: 2px;
  min-width: 2px !important;
  /* Force exact 2px minimum */
  max-width: 2px !important;
  /* Force exact 2px maximum */
  height: 100%;
  /* Use 100% to fill grid row */
  min-height: 200px;
  background-color: rgba(193, 120, 84, 0.5);
  align-self: stretch;
  /* Force consistent rendering across zoom levels */
  transform: translateZ(0);
  /* Force hardware acceleration */
  backface-visibility: hidden;
  /* Prevent rendering inconsistencies */
  will-change: transform;
  /* Optimize rendering */
  box-sizing: border-box;
  /* Ensure width includes all properties */
}

/* Force identical rendering for both dividers */

.techstack-tree-left .techstack-tree-divider,
  .techstack-tree-right .techstack-tree-divider {
  width: 2px !important;
  min-width: 2px !important;
  max-width: 2px !important;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
  box-sizing: border-box;
}

/* Ensure both trees match in height */

.techstack-tree-left,
  .techstack-tree-right {
  display: flex;
  align-items: stretch;
  /* Stretch to match tallest tree */
}

.techstack-tree-left .techstack-tree-grid,
  .techstack-tree-right .techstack-tree-grid {
  height: 100%;
  /* Fill parent height */
}

.techstack-tree-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.techstack-group {
  margin-bottom: 36px;
  /* 36px gap between groups */
}

.techstack-group:last-child {
  margin-bottom: 0;
  /* Remove margin from last group */
}

.techstack-group-header {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-size: 13px;
  font-weight: 500;
  /* Medium */
  color: #009999;
  /* teal */
  margin-bottom: 12px;
  line-height: 1.4;
}

.techstack-list {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-size: 11px;
  font-weight: 400;
  /* Regular */
  color: #707070;
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 1.6;
}

.techstack-list li {
  margin-bottom: 8px;
  /* Match capability lists - 8px gaps between each line */
  position: relative;
  padding-left: 1rem;
}

.techstack-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #707070;
}

.techstack-list li:last-child {
  margin-bottom: 0;
}

/* ─────────────────────────────────────────────────────
     TECH STACK SECTION RESPONSIVE ADJUSTMENTS
     ───────────────────────────────────────────────────── */

/* PROFINET animation: more subtle on small screens */

@media (max-width: 767px) {
  .techstack-section .profinet-animation {
    opacity: 0.08;
  }

  .techstack-section .profinet-flow-line {
    stroke-width: 2;
  }
}

/* Tablet: Header on top, trees stacked */

@media (max-width: 768px) {
  .techstack-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .techstack-header {
    order: -1;
    /* Header first */
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .techstack-tree {
    width: 100%;
    order: 0;
    /* Trees after header */
  }

  .techstack-tree-left {
    order: 1;
    /* Left tree first */
  }

  .techstack-tree-right {
    order: 2;
    /* Right tree second */
  }

  .techstack-tree-grid {
    -moz-column-gap: 16px;
         column-gap: 16px;
    /* Brings columns closer to divider */
    width: auto;
    /* Keep auto - size to content */
    max-width: 100%;
    /* Prevent overflow */
    margin: 0 auto;
    /* Keep centering - respects container padding */
    /* Add min-width to ensure both grids are at least the same minimum width */
    min-width: min(100%, 600px);
    /* Adjust 600px to match your content width */
  }

  .techstack-tree-divider {
    min-height: 150px;
  }
}

/* Mobile: Single column, hide divider, center everything */

@media (max-width: 375px) {
  .techstack-layout {
    align-items: center;
    /* Center everything in layout */
  }

  .techstack-header {
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    /* Center header */
  }

  .techstack-tree {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .techstack-tree-grid {
    grid-template-columns: 1fr !important;
    /* Single column */
    gap: 2rem;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto !important;
  }

  .techstack-tree-divider {
    display: none !important;
    /* Hide divider at 375px and below */
  }

  .techstack-tree-column {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .techstack-heading {
    text-align: center;
    white-space: normal;
    /* Allow wrapping on small screens */
  }

  .techstack-intro {
    text-align: center;
  }

  .techstack-heading {
    text-align: center;
    white-space: normal;
    /* Allow wrapping on small screens */
  }

  .techstack-intro {
    text-align: center;
  }
}

@media (min-width: 900px) {
  .techstack-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Two trees side by side */
    grid-template-rows: auto 1fr;
    /* Header row, trees row */
    gap: 3rem 4rem;
    /* Vertical gap between header and trees, horizontal gap between trees */
    align-items: stretch;
    /* Makes both trees same height */
  }

  .techstack-header {
    grid-column: 1 / -1;
    /* Span full width */
    align-items: flex-start;
    text-align: left;
  }

  .techstack-tree {
    width: 100%;
  }

  .techstack-tree-left,
      .techstack-tree-right {
    height: 100%;
    /* Fill grid cell height */
  }

  .techstack-tree-grid {
    -moz-column-gap: 74px;
         column-gap: 74px;
  }

  .techstack-heading {
    font-size: 36px !important;
    margin-bottom: 24px !important;
    margin-top: 0 !important;
    white-space: nowrap !important;
  }

  .techstack-intro {
    font-size: 24px !important;
    margin-top: 0 !important;
    text-align: left !important;
    /* Ensure left alignment */
    text-indent: 0 !important;
    /* Remove any indentation */
  }

  .techstack-tree-left .techstack-tree-grid,
      .techstack-tree-right .techstack-tree-grid {
    height: 100%;
    /* Fill parent tree height */
  }
}

/* FAQ Section */

.faq-section {
  border-top: 1px solid #E5E7EB;
}

.faq-header {
  text-align: center;
  margin-bottom: 48px;
}

.faq-heading {
  font-family: D-DIN, sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: #1F2937;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.faq-subtitle {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #4B5563;
  margin: 0;
  line-height: 1.5;
}

.faq-accordion {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: #DDE2E6;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  padding: 16px 24px;
  background: #fff;
  border: none;
  cursor: pointer;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #1F2937;
  line-height: 1.4;
  transition: background-color 0.2s ease;
}

.faq-question:hover {
  background-color: #F9FAFB;
}

.faq-question:focus {
  outline: 2px solid #1F2937;
  outline-offset: 2px;
}

.faq-question-text {
  flex: 1;
}

.faq-chevron {
  flex-shrink: 0;
  color: #4B5563;
  width: 20px;
  height: 20px;
  transition: transform 300ms ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
}

.faq-answer-inner {
  padding: 12px 24px 24px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #4B5563;
  line-height: 1.6;
}

.faq-cta {
  text-align: center;
  margin-top: 40px;
}

.faq-cta-text {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  color: #4B5563;
  margin: 0 0 16px 0;
}

.faq-cta-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #1F2937;
  color: #fff;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.faq-cta-button:hover {
  background-color: #111827;
}

/* ─────────────────────────────────────────────────────
   EXPERIENCE SECTION (Section 6)
   ───────────────────────────────────────────────────── */

.experience-heading {
  font-family: D-DIN, sans-serif;
  font-weight: 700;
  /* Changed from 400 to Bold */
  font-size: 36px;
  /* Changed from 32px to 36px */
  color: #E0E1DD;
  margin-bottom: 38px;
  line-height: 1.2;
}

.experience-subtitle {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-size: 24px;
  /* Changed from 13px to 24px */
  font-weight: 400;
  /* Changed from 500 to Regular */
  color: #E0E1DD;
  /* Changed from #009999 (teal) to match content text color */
  margin-bottom: 24px;
  line-height: 1.5;
}

.experience-disclaimer-label {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-size: 13px;
  /* Changed from 11px to 13px */
  font-weight: 400;
  /* Regular */
  color: #707070;
  margin-bottom: 8px;
  line-height: 1.5;
}

.experience-disclaimer-text {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-size: 13px;
  /* Changed from 11px to 13px */
  font-weight: 400;
  /* Regular */
  color: #707070;
  margin-bottom: 36px;
  line-height: 1.5;
}

/* Wrapper keeps cards within site-container / safety margin; scrolls when needed */

.experience-cards-wrapper {
  max-width: 100%;
  overflow-x: auto;
  margin-left: 0;
  margin-right: 0;
}

.experience-cards-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 37.5px;
  /* 37.5 + 25 (dot) + 37.5 = 100px between cards */
  margin-bottom: 0;
}

/* Option 2 + Option 1: scale, lift, shadow-xl, border shift */

.experience-card {
  width: 300px;
  min-width: 300px;
  height: 300px;
  flex-shrink: 0;
  background-color: #16283A;
  border: 1px solid #1F2C38;
  border-left: 3px solid transparent;
  border-radius: 6px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: all 0.3s ease-out;
}

.experience-card:hover {
  border-color: #475569;
  /* slate-600 - subtle border shift (Option 1) */
  border-left-color: #009999;
  /* brand accent */
  transform: scale(1.02) translateY(-4px);
  /* lift 4px (Option 1) + scale (Option 2) */
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.25), 0 8px 10px -6px rgba(0, 0, 0, 0.15);
  /* shadow-xl, dark theme */
}

.experience-card:focus-within {
  outline: 2px solid #009999;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .experience-card,
    .experience-card:hover {
    transition: none;
  }

  .experience-card:hover {
    transform: none;
  }
}

.experience-card-dot {
  width: 25px;
  height: 25px;
  background-color: rgba(1, 88, 90, 0.3);
  border-radius: 50%;
  flex-shrink: 0;
  margin: 0;
}

.experience-card-title {
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-size: 17px;
  font-weight: 400;
  color: #E0E1DD;
  margin: 0;
  line-height: 1.4;
  position: absolute;
  left: 56px;
  right: 32px;
  top: 32px;
  transition: color 0.2s ease;
}

.experience-card:hover .experience-card-title {
  color: #22d3ee;
  /* cyan-400 - group-hover effect */
}

.experience-card-title-accent {
  color: #00E6DC;
  transition: color 0.2s ease;
}

.experience-card:hover .experience-card-title-accent {
  color: #22d3ee;
}

.experience-card-role {
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-size: 11px;
  font-weight: 400;
  color: rgba(112, 112, 112, 0.85);
  margin: 0;
  position: absolute;
  left: 56px;
  /* Moved 24px right (32px + 24px) */
  right: 32px;
  /* Keep right padding */
  top: 108px;
  line-height: 1.4;
}

.experience-card-tech {
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-size: 11px;
  font-weight: 400;
  color: rgba(112, 112, 112, 0.85);
  margin: 0;
  position: absolute;
  left: 56px;
  /* Moved 24px right (32px + 24px) */
  right: 32px;
  /* Keep right padding */
  top: 136px;
  line-height: 1.4;
}

.experience-card-tech-accent {
  color: rgba(0, 153, 153, 0.85);
  /* #009999 at 85% opacity */
}

.experience-card-industry {
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-size: 11px;
  font-weight: 400;
  color: rgba(112, 112, 112, 0.85);
  margin: 0;
  position: absolute;
  left: 56px;
  /* Moved 24px right (32px + 24px) */
  right: 32px;
  /* Keep right padding */
  top: 164px;
  line-height: 1.4;
}

.experience-card-industry-accent {
  color: rgba(0, 153, 153, 0.85);
  /* #009999 at 85% opacity */
}

.experience-card-outcome {
  font-family: 'IBM Plex Mono', 'Courier New', monospace;
  font-size: 13px;
  font-weight: 400;
  font-style: italic;
  color: #707070;
  margin: 0;
  text-align: left;
  max-width: 180px;
  line-height: 1.5;
  position: absolute;
  left: 56px;
  bottom: 32px;
  transform: none;
}

.experience-card-arrow {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 20px;
  height: 20px;
  color: #475569;
  transition: color 0.2s ease;
  pointer-events: none;
}

.experience-card:hover .experience-card-arrow {
  color: #009999;
}

.experience-view-link {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-size: 15px;
  /* Desktop */
  font-weight: 500;
  letter-spacing: normal;
  color: rgba(214, 214, 208, 0.85);
  /* #D6D6D0 at 85% opacity */
  text-decoration: none;
  display: block;
  text-align: center;
  margin-top: -60px;
  /* Moved up by 124px from 64px (64px - 124px = -60px) */
  transition: color 0.2s;
}

.experience-view-link:hover {
  color: rgba(214, 214, 208, 1);
  /* Full opacity on hover */
}

/* Tablet: 14px */

@media (max-width: 1024px) {
  .experience-view-link {
    font-size: 14px;
  }
}

/* Mobile: 14px */

@media (max-width: 768px) {
  .experience-view-link {
    font-size: 14px;
  }
}

/* ─────────────────────────────────────────────────────
     EXPERIENCE SECTION RESPONSIVE ADJUSTMENTS
     ───────────────────────────────────────────────────── */

/* Mobile: Stack cards */

@media (max-width: 768px) {
  .experience-cards-container {
    flex-direction: column;
    gap: 2rem;
  }

  .experience-card-dot {
    display: none;
    /* Hide dots on mobile */
  }

  .experience-buttons {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Desktop: Adjust for new font sizes */

@media (min-width: 900px) {
  .experience-heading {
    font-size: 36px !important;
    /* Changed from 28px to 36px - keep same size on desktop */
    margin-bottom: 38px !important;
  }

  .experience-subtitle {
    font-size: 24px !important;
    /* Changed from 12px to 24px - keep same size on desktop */
    margin-bottom: 24px !important;
  }

  .experience-disclaimer-label,
    .experience-disclaimer-text {
    font-size: 13px !important;
    /* Changed from 10px to 13px - keep same size on desktop */
  }

  .experience-card {
    width: 300px !important;
    height: 300px !important;
    padding: 32px !important;
  }

  .experience-card-title {
    font-family: 'IBM Plex Mono', 'Courier New', monospace !important;
    font-size: 17px !important;
    left: 56px !important;
    top: 32px !important;
  }

  .experience-card-role,
    .experience-card-tech,
    .experience-card-industry {
    font-size: 11px !important;
    left: 56px !important;
  }

  .experience-card-role {
    top: 108px !important;
  }

  .experience-card-tech {
    top: 136px !important;
  }

  .experience-card-industry {
    top: 164px !important;
  }

  .experience-card-outcome {
    font-size: 13px !important;
    bottom: 32px !important;
    max-width: 180px !important;
    line-height: 1.5 !important;
    white-space: normal !important;
    left: 56px !important;
  }

  .experience-btn-left,
    .experience-btn-right {
    width: 180px !important;
    height: 52px !important;
    font-size: 11px !important;
  }
}

/* ─────────────────────────────────────────────────────
   COMMERCIAL SECTION (Section 7)
   ───────────────────────────────────────────────────── */

.commercial-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: stretch;
}

.commercial-content {
  flex: 1;
}

.commercial-heading {
  font-family: D-DIN, sans-serif;
  font-weight: 700;
  /* Changed from 400 to Bold */
  font-size: 36px;
  /* Changed from 32px to 36px */
  color: #1F2937;
  margin-bottom: 14px;
  line-height: 1.2;
}

.commercial-subtitle {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-size: 24px;
  /* Changed from 13px to 24px */
  font-weight: 400;
  /* Changed from 500 to Regular */
  color: rgba(31, 41, 55, 0.65);
  /* #1F2937 at 65% opacity */
  margin-bottom: 88px;
  /* Keep existing value */
  line-height: 1.5;
}

.commercial-subtitle-accent {
  color: rgba(0, 153, 153, 0.65);
  /* #009999 at 65% opacity */
}

.commercial-list-wrapper {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  /* 24px gap between columns */
  align-items: start;
  margin-top: 30px;
  /* Added: Move list down by 30px */
}

.commercial-list-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* Changed from 1.5rem (24px) to 10px - gap between items */
}

.commercial-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  /* Keep 10px gap between plus and content */
}

.commercial-plus {
  font-family: 'Barlow Semi Condensed', sans-serif;
  font-weight: 600;
  font-size: 16px;
  /* Changed from 35px to 16px */
  color: #F07A28;
  /* accent-500 */
  line-height: 1;
  flex-shrink: 0;
  align-self: flex-start;
  padding-top: 0.1em;
}

.commercial-content-text {
  flex: 1;
}

.commercial-item-title {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-size: 18px;
  /* Changed from 13px to 18px */
  font-weight: 400;
  /* Regular */
  color: #1F2937;
  margin-bottom: 6px;
  /* Changed from 0.25rem (4px) to 6px - gap between title and description */
  line-height: 1.4;
}

.commercial-item-desc {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  /* Changed from 11px to 16px */
  font-weight: 400;
  /* Regular */
  color: #4B5563;
  /* Slightly lighter gray */
  line-height: 1.5;
}

.commercial-right {
  display: flex;
  flex-direction: column;
  min-width: 300px;
  align-self: stretch;
}

.commercial-right .commercial-right-cta {
  width: 280px;
  margin: auto auto 0 15px;
  display: flex;
  justify-content: flex-end;
}

.commercial-status {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #707070;
  margin: 0;
  margin-top: 32px;
  /* Changed from 52px to 32px - gap above contractor status */
  margin-bottom: 24px;
  margin-left: 15px;
}

.commercial-status-accent {
  color: rgba(0, 153, 153, 0.65);
  /* #009999 at 65% opacity */
}

.commercial-summary-card {
  width: 280px;
  height: 200px;
  background-color: #DDE2E6;
  border: 1px solid transparent;
  border-left: 3px solid transparent;
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  margin-top: 0;
  margin-left: 15px;
  margin-right: auto;
  transition: all 0.3s ease-out;
}

.commercial-summary-card:hover {
  transform: scale(1.02) translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  border-color: #475569;
  border-left-color: #785DC8;
}

.commercial-summary-card:focus-within {
  outline: 2px solid #785DC8;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .commercial-summary-card,
    .commercial-summary-card:hover {
    transition: none;
  }

  .commercial-summary-card:hover {
    transform: none;
  }
}

.commercial-summary-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.commercial-checkmark {
  display: inline-block;
  color: rgb(120, 93, 200) !important;
  /* #785DC8 as RGB */
  font-size: 16px;
  /* Changed from 13px to 16px */
  font-weight: 400;
  /* Regular */
  flex-shrink: 0;
  line-height: 1;
}

.commercial-checkmark::before {
  content: '\2713';
  /* Unicode checkmark character */
  color: rgb(120, 93, 200) !important;
  /* #785DC8 as RGB */
  font-family: 'Segoe UI Symbol', 'Segoe UI', system-ui, sans-serif;
  display: inline-block;
  font-size: 16px;
  /* Added: Match checkmark size */
}

.commercial-summary-text {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  /* Changed from 13px to 16px */
  font-weight: 400;
  /* Regular */
  color: #707070;
  line-height: 1.5;
}

.commercial-number {
  color: #009999;
}

/* Small mobile: Single column layout, centered */

@media (max-width: 480px) {
  .commercial-list-wrapper {
    grid-template-columns: 1fr !important;
    /* Single column */
    gap: 12px !important;
    align-items: stretch !important;
    max-width: 340px;
    /* Max width for centered appearance */
    margin-left: auto;
    /* Center the column */
    margin-right: auto;
    /* Center the column */
  }

  .commercial-list-column {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-wrap: break-word;
  }

  .commercial-item {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .commercial-content-text {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-wrap: break-word;
  }

  .commercial-item-title {
    font-size: 16px !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
    hyphens: auto;
  }

  .commercial-item-desc {
    font-size: 14px !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
  }

  .commercial-plus {
    font-size: 20px !important;
  }
}

/* Extra small mobile: Status text line break */

@media (max-width: 320px) {
  .commercial-status-wrap {
    display: inline-block;
    width: 100%;
  }

  .commercial-status-wrap::before {
    content: '\A';
    /* Line break character */
    white-space: pre;
    /* Preserve whitespace and line breaks */
  }
}

/* Mobile: Stack layout */

@media (max-width: 768px) {
  .commercial-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem !important;
    /* Increased from 2rem for better spacing */
  }

  .commercial-list-wrapper {
    grid-template-columns: auto 1fr;
    /* Keep original on tablet */
  }

  .commercial-right {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  .commercial-status {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 32px !important;
    /* Changed from 0 to 32px - add gap above on mobile */
  }

  .commercial-summary-card {
    margin-top: 1.5rem !important;
    width: 100% !important;
    max-width: 280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .commercial-right .commercial-right-cta {
    width: 100% !important;
    max-width: 280px !important;
    margin-top: 1rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center !important;
  }
}

/* Tablet: Better spacing for stacked layout */

@media (max-width: 768px) and (min-width: 426px) {
  .commercial-layout {
    gap: 2.5rem !important;
  }

  .commercial-list-wrapper {
    gap: 20px !important;
    /* Slightly reduced gap */
  }
}

/* Desktop: Adjust for new font sizes */

@media (min-width: 900px) {
  .commercial-heading {
    font-size: 36px !important;
    /* Changed from 28px to 36px - keep same size on desktop */
    margin-bottom: 14px !important;
  }

  .commercial-subtitle {
    font-size: 24px !important;
    /* Changed from 12px to 24px - keep same size on desktop */
    margin-bottom: 80px !important;
    /* Keep existing value */
  }

  .commercial-list-wrapper {
    gap: 20px !important;
    /* Scaled proportionally from 24px */
  }

  .commercial-list-column {
    gap: 1.25rem !important;
    /* Reduced from 1.5rem */
  }

  .commercial-item-title {
    font-size: 18px !important;
    /* Keep 18px on desktop */
    margin-bottom: 6px !important;
    /* Keep 6px gap */
  }

  .commercial-item-desc {
    font-size: 16px !important;
    /* Keep 16px on desktop */
  }

  .commercial-plus {
    font-size: 24px !important;
    /* Changed from 16px to 24px */
  }

  .commercial-list-column {
    gap: 10px !important;
    /* Keep 10px gap between items */
  }

  .commercial-status {
    font-size: 14px !important;
    margin-top: 32px !important;
    /* Changed from 45px to match new base gap */
  }

  .commercial-summary-card {
    width: 250px !important;
    height: 180px !important;
    padding: 1.25rem !important;
    margin-top: 1.25rem !important;
    /* Scaled proportionally from 1.5rem */
  }

  .commercial-right .commercial-right-cta {
    width: 250px !important;
  }

  .commercial-summary-text {
    font-size: 16px !important;
    /* Changed from 12px to 16px - keep same size on desktop */
  }

  .commercial-checkmark {
    font-size: 16px !important;
    /* Changed from 12px to 16px - keep same size on desktop */
  }

  .commercial-checkmark::before {
    color: rgb(120, 93, 200) !important;
    /* RGB for Edge compatibility */
    font-size: 16px !important;
    /* Changed from 12px to 16px - match parent font-size */
  }
}

/* ─────────────────────────────────────────────────────
     CONTACT SECTION (Section 8)
     ───────────────────────────────────────────────────── */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-heading {
  font-family: D-DIN, sans-serif;
  font-weight: 700;
  /* Bold */
  font-size: 36px;
  /* Changed from 32px */
  color: #E0E1DD;
  margin-bottom: 14px;
  line-height: 1.2;
}

.contact-subtitle {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-size: 24px;
  /* Changed from 13px */
  font-weight: 400;
  /* Changed from 500 to Regular */
  color: #E0E1DD;
  /* Changed from #009999 to match content text */
  margin-bottom: 48px;
  line-height: 1.5;
}

.contact-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-item-heading {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  /* Changed from 13px */
  font-weight: 400;
  /* Changed from 500 to Regular */
  color: #009999;
  /* teal-500 - keep teal for headings */
  line-height: 1.5;
}

.contact-item-heading .contact-item-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.contact-item-content {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  /* Changed from 13px */
  font-weight: 400;
  /* Regular */
  color: #E0E1DD;
  line-height: 1.5;
}

.contact-item-content a {
  color: rgba(214, 214, 208, 0.85) !important;
  /* #D6D6D0 at 85% opacity - matches experience exit links */
  text-decoration: none;
  transition: color 0.2s;
}

.contact-item-content a:hover,
    .contact-item-content a:focus {
  color: rgba(214, 214, 208, 1) !important;
  /* Full opacity on hover - matches experience exit links */
  transition: color 0.2s;
}

.contact-phone-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-availability-cta {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  margin-top: 2rem;
}

@media (min-width: 900px) {
  .contact-availability-cta {
    padding-right: 35px;
  }
}

.contact-availability-cta .btn-hero-primary {
  color: #fff;
}

/* Email row: link + copy button inline */

.contact-item-content-email {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

/* Copy to clipboard button (Availability section) */

.availability-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(0, 153, 153, 0.35);
  color: rgba(224, 225, 221, 0.7);
  padding: 4px 12px;
  border-radius: 3px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.availability-copy-btn:hover {
  background: rgba(0, 153, 153, 0.1);
  border-color: rgba(0, 153, 153, 0.6);
  color: #009999;
}

.availability-copy-btn svg {
  width: 12px;
  height: 12px;
}

.availability-copy-btn-copied {
  border-color: rgba(0, 153, 153, 0.7) !important;
  color: #009999 !important;
}

/* ========================================
   PROFESSIONAL FOOTER REDESIGN
   ======================================== */

.site-footer {
  background-color: #F7F7F5;
  /* Off-white (matches light sections) */
  border-top: 1px solid #E5E5DC;
  /* Your existing divider color */
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px;
}

/* ────────────────────────────────────
   NAVIGATION ROW
   ──────────────────────────────────── */

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #E5E5DC;
  /* Divider color */
}

.footer-nav-link {
  position: relative;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: #222222;
  /* Primary text */
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav-link:hover {
  color: #F07A28;
  /* Orange hover (CTA color) */
  text-decoration: none;
}

.footer-nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1px;
  width: 0;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.footer-nav-link:hover::after {
  width: 100%;
}

/* ────────────────────────────────────
   BUSINESS BLOCK
   ──────────────────────────────────── */

.footer-business-block {
  margin-bottom: 40px;
}

.footer-business-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
}

.footer-business-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-company-name {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #222222;
  /* Primary text */
  margin-bottom: 8px;
}

.footer-contact-label {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #222222;
  /* Primary text */
  margin-bottom: 8px;
}

.footer-business-text {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
  color: #555555;
  /* Secondary text */
  margin: 0;
}

.footer-spacer-top {
  margin-top: 12px !important;
}

.footer-link {
  position: relative;
  color: #009999;
  /* Teal (your link color) */
  text-decoration: none !important;
  /* override .prose a etc. so only ::after underline shows */
  transition: color 0.2s;
}

.footer-link:hover {
  color: #F07A28;
  /* Orange hover (CTA color) */
  text-decoration: none !important;
}

.footer-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1px;
  width: 0;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.footer-link:hover::after {
  width: 100%;
}

/* Ensure no double underline from .prose a or other globals (ZC010078, email, etc.) */

.site-footer a.footer-link,
.site-footer a.footer-link:hover,
.site-footer a.footer-legal-link,
.site-footer a.footer-legal-link:hover {
  text-decoration: none !important;
}

/* ────────────────────────────────────
   LEGAL ROW
   ──────────────────────────────────── */

.footer-legal-row {
  border-top: 1px solid #E5E5DC;
  /* Divider color */
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.footer-legal-link {
  position: relative;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 400;
  color: #666666;
  /* Muted text for legal links */
  text-decoration: none !important;
  /* override .prose a etc. so only ::after underline shows */
  transition: color 0.2s;
}

.footer-legal-link:hover {
  color: #F07A28;
  /* Orange hover */
  text-decoration: none !important;
}

.footer-legal-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1px;
  width: 0;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.footer-legal-link:hover::after {
  width: 100%;
}

.footer-legal-separator {
  font-size: 13px;
  color: #999999;
  /* Light separator */
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}

.footer-copyright {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 400;
  color: #666666;
  /* Muted text for copyright */
  margin: 0;
}

/* ────────────────────────────────────
   RESPONSIVE: TABLET
   ──────────────────────────────────── */

@media (max-width: 1023px) {
  .footer-business-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ────────────────────────────────────
   RESPONSIVE: MOBILE
   ──────────────────────────────────── */

@media (max-width: 768px) {
  .footer-container {
    padding: 64px 24px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
    padding-bottom: 24px;
  }

  .footer-nav-link {
    align-self: flex-start;
    /* Shrink to text so underline doesn't extend to right edge */
    font-size: 15px;
  }

  .footer-business-block {
    margin-bottom: 32px;
  }

  .footer-business-row {
    gap: 24px;
  }

  .footer-business-text,
  .footer-company-name {
    font-size: 15px;
  }

  .footer-legal-row {
    align-items: center;
    text-align: center;
  }

  .footer-legal-links {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .footer-legal-separator {
    display: none;
  }

  .footer-copyright {
    text-align: center;
  }
}

/* End Professional Footer */

/* ─────────────────────────────────────────────────────
       CONTACT SECTION RESPONSIVE ADJUSTMENTS
       ───────────────────────────────────────────────────── */

/* Mobile: Stack layout */

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Desktop: Adjust for new font sizes */

@media (min-width: 900px) {
  .contact-heading {
    font-size: 36px !important;
    /* Keep 36px on desktop */
    margin-bottom: 14px !important;
  }

  .contact-subtitle {
    font-size: 24px !important;
    /* Keep 24px on desktop */
    margin-bottom: 48px !important;
  }

  .contact-column {
    gap: 1.5rem !important;
  }

  .contact-item-heading {
    font-size: 16px !important;
    /* Keep 16px on desktop */
  }

  .contact-item-content {
    font-size: 16px !important;
    /* Keep 16px on desktop */
  }
}

/* ─────────────────────────────────────────────────────
   HERO SECTION RESPONSIVE ADJUSTMENTS
   ───────────────────────────────────────────────────── */

/* Mobile: Adjust font sizes and maintain 96px bottom padding */

@media (max-width: 768px) {
  .hero-heading {
    font-size: 32px;
    /* Keep responsive size or adjust as needed */
  }

  .hero-text-1,
  .hero-text-2,
  .hero-text-1-continued,
  .hero-text-2-continued {
    font-size: 14px;
    /* Responsive size, adjust as needed */
  }

  .hero-meta-1,
  .hero-meta-2 {
    font-size: 9px;
  }

  /* Maintain 96px bottom padding on mobile */

  .section-h-128 > div {
    padding-bottom: 6rem !important;
    /* 96px - matches pb-24 */
  }
}

/* ─────────────────────────────────────────────────────
   NAVIGATION MENU
   ───────────────────────────────────────────────────── */

.nav-menu {
  margin: 0px;
  list-style-type: none;
  align-items: center;
  padding: 0px;
  gap: 30px;
}

.nav-menu-item {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  font-size: 15px;
  font-weight: 400;
}

.nav-menu-item a {
  color: #1F2933;
  /* dark neutral / near-black */
  background: transparent;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-menu-item a:hover {
  color: #0F172A;
  /* slightly darker */
}

/* Active/Current menu item */

.nav-menu-item.current-menu-item a,
  .nav-menu-item.current_page_item a,
  .nav-menu-item a[aria-current="page"] {
  color: #F97316;
  /* orange */
}

/* ─────────────────────────────────────────────────────
     DIVIDER LINE (Gradient Fade) – inside header, respects site-container (backup structure)
     ───────────────────────────────────────────────────── */

.divider-gradient {
  height: 2px;
  width: 100%;
  display: block;
  border-radius: 0.1px;
  /* Tiny radius for subtle rounding */
  background: linear-gradient(
      to right,
      transparent 0%,
      rgba(240, 122, 40, 0.3) 8%,  /* Reddish-orange fade in (#F07A28) */
      rgba(240, 122, 40, 0.8) 15%, /* Reddish-orange stronger */
      rgba(255, 180, 60, 1) 50%,   /* Vibrant yellow-orange at center */
      rgba(240, 122, 40, 0.8) 85%, /* Reddish-orange stronger */
      rgba(240, 122, 40, 0.3) 92%, /* Reddish-orange fade out */
      transparent 100%
    );
}

/* ─────────────────────────────────────────────────────
     BREADCRUMB STRIPE – Outside header, at top of page content
     ───────────────────────────────────────────────────── */

.breadcrumb-stripe {
  background-color: #F7F7F5;
  /* bg-surface-light */
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  padding: 10px 0;
  transition: opacity 0.2s ease;
}

.breadcrumbs {
  /* Semantic nav container */
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8125rem;
  /* 13px on mobile */
  line-height: 1.25rem;
  /* 20px */
  font-weight: 400;
  letter-spacing: 0.01em;
}

.breadcrumb-list li {
  display: inline-flex;
  align-items: center;
}

/* Breadcrumb links – base state */

.breadcrumb-list a {
  color: #6B7280;
  /* gray-500 */
  font-weight: 400;
  text-decoration: none;
  transition: color 0.15s ease;
}

/* Breadcrumb links – hover */

.breadcrumb-list a:hover {
  color: #F07A28;
  /* accent orange */
}

/* Breadcrumb links – focus (keyboard navigation only) */

.breadcrumb-list a:focus-visible {
  color: #F07A28;
  outline: 2px solid #F07A28;
  outline-offset: 2px;
  border-radius: 2px;
}

/* Breadcrumb links – active (being clicked) */

.breadcrumb-list a:active {
  color: #D96A20;
  /* Slightly darker orange */
}

/* Current page (not a link) – no hover */

.breadcrumb-list li[aria-current="page"],
  .breadcrumb-list [aria-current="page"],
  .breadcrumb-list .current {
  color: #111827 !important;
  /* gray-900 – distinct from links */
  font-weight: 500;
}

.breadcrumb-stripe .breadcrumb-list li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: #D1D5DB;
  /* gray-300 – separator */
  font-weight: 300;
}

@media (max-width: 640px) {
  .breadcrumb-stripe {
    padding: 8px 0;
  }

  .breadcrumb-list {
    font-size: 0.8125rem;
    /* 13px */
  }

  .breadcrumb-list a {
    padding: 8px 4px;
    /* Larger touch target */
    margin: -8px -4px;
    /* Negative margin to maintain visual spacing */
    min-height: 44px;
    /* Apple/WCAG minimum touch target */
    display: inline-flex;
    align-items: center;
  }
}

@media (min-width: 768px) {
  .breadcrumb-stripe {
    padding: 12px 0;
  }

  .breadcrumb-list {
    font-size: 0.875rem;
    /* 14px on desktop */
  }
}

/* ─────────────────────────────────────────────────────
     CARDS & CONTAINERS
     ───────────────────────────────────────────────────── */

.card {
  border-radius: 0.75rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
  padding: 1rem;
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

:is(.dark .card) {
  --tw-border-opacity: 1;
  border-color: rgb(55 65 81 / var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity));
}

@media (min-width: 640px) {
  .card {
    padding: 1.5rem;
  }
}

/* ─────────────────────────────────────────────────────
     LAYOUT
     ───────────────────────────────────────────────────── */

/* Avoid .container class name (WP conflict) */

.site-container {
  margin-left: auto;
  margin-right: auto;
  max-width: 80rem;
  /* Mobile safe zone: 328px content, 375px width = 23.5px margin per side */
  padding-left: 1.47rem;
  /* ~23.5px */
  padding-right: 1.47rem;
  /* ~23.5px */
}

/* Tablet: standard padding */

@media (min-width: 640px) {
  .site-container {
    padding-left: 1.5rem;
    /* 24px */
    padding-right: 1.5rem;
  }
}

/* Desktop: standard padding, but ensure content respects 1100px safe zone */

@media (min-width: 1024px) {
  .site-container {
    padding-left: 2rem;
    /* 32px */
    padding-right: 2rem;
    /* Ensure max-width allows for 1100px safe zone */
    max-width: min(80rem, calc(1100px + 4rem));
    /* 1100px + padding */
  }
}

@media (min-width: 1280px) {
  .site-container {
    padding-left: 3rem;
    padding-right: 3rem;
    max-width: min(80rem, calc(1100px + 6rem));
  }
}

@media (min-width: 1920px) {
  .site-container {
    padding-left: 4rem;
    padding-right: 4rem;
    max-width: min(80rem, calc(1100px + 8rem));
  }
}

.site-header {
  --tw-bg-opacity: 1;
  background-color: rgb(247 247 245 / var(--tw-bg-opacity));
}

@layer components2 {
  .site-header {
    background-color: #F7F7F5;
  }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 40;
  transition: transform 0.15s ease-out;
  transform: translateY(0);
  background-color: #F7F7F5;
  /* bg-surface-light */
  height: auto;
  min-height: 66px;
  /* Mobile: 64px nav + 2px divider */
}

/* Desktop header: min-height when no breadcrumb stripe */

@media (min-width: 1024px) {
  .site-header {
    min-height: 82px;
    /* Desktop: 80px nav + 2px divider */
  }
}

/* Header hidden: whole header (nav + divider) slides up; extra 2px so divider fully hides */

.site-header.header-hidden {
  transform: translateY(calc(-100% - 2px));
}

/* Account for WordPress admin bar when logged in */

html.admin-bar .site-header {
  top: 32px;
  /* Desktop admin bar height */
}

@media screen and (max-width: 782px) {
  html.admin-bar .site-header {
    top: 46px;
    /* Mobile admin bar height */
  }
}

/* ─────────────────────────────────────────────────────
   DESKTOP NAVIGATION (Always visible, horizontal)
   ───────────────────────────────────────────────────── */

@media (min-width: 1024px) {
  .nav-menu {
    display: flex !important;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    position: static;
    background: transparent;
    padding-top: 45px;
    gap: 2rem;
    margin: 0;
    padding-left: 0;
    list-style: none;
  }

  .nav-menu li {
    margin-bottom: 0;
  }

  .nav-menu a {
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
    font-size: 15px;
    font-weight: 400;
    color: #374151 !important;
    /* gray-700 */
    background: transparent;
    display: inline;
    text-decoration: none;
    transition: color 200ms ease-in-out;
    box-sizing: border-box;
  }

  .nav-menu a:hover {
    color: #111827 !important;
    /* gray-900 - subtle darkening */
  }

  .nav-menu a:focus-visible {
    outline: 2px solid #F97316;
    outline-offset: 4px;
    border-radius: 2px;
  }

  /* Active/Current menu item - Desktop */

  .nav-menu .current-menu-item a,
    .nav-menu .current_page_item a,
    .nav-menu a[aria-current="page"],
    .nav-menu a.active {
    color: #F97316 !important;
    /* orange - brand color */
  }

  /* Availability: dot contained inside link (match by href so WP menu works without .nav-link-availability class) */

  .nav-menu a[href*="availability"] {
    position: relative !important;
    /* force containing block so dot does not anchor to site-container */
    display: inline-flex;
    align-items: center;
    padding-left: 12px;
    /* gap between dot and "Availability" text */
  }

  .nav-menu .nav-link-availability {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding-left: 12px;
    /* gap between dot and "Availability" text */
  }

  .nav-menu .availability-dot-wrap {
    position: absolute;
    left: -10px;
    /* dot sits in the gap to the left of the link, not on the text */
    top: 0;
    bottom: 0;
    margin: auto 0;
    width: 8px;
    height: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
  }

  .nav-menu .availability-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    min-width: 8px;
    min-height: 8px;
    border-radius: 50%;
    background: #10b981;
    /* green-500 */
    flex-shrink: 0;
    animation: availability-dot-pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  }

  .nav-menu .availability-tooltip-desktop {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 18px;
    /* 5px lower than 26px */
    padding: 0.375rem 0.75rem;
    /* py-1.5 px-3 - original */
    font-size: 0.75rem;
    line-height: 1.25;
    color: #fff;
    background: #111827;
    /* gray-900 - original */
    border: none;
    border-radius: 0.25rem;
    /* rounded - original */
    box-shadow: none;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 200ms ease-in-out, visibility 200ms ease-in-out;
    z-index: 60;
  }

  .nav-menu .availability-dot-wrap:hover .availability-tooltip-desktop,
    .nav-menu .availability-dot-wrap:focus-within .availability-tooltip-desktop {
    opacity: 1;
    visibility: visible;
  }

  /* Hide "currently accepting new engagements" tooltip in mobile menu (desktop keeps hover tooltip) */

  @media (max-width: 1023px) {
    .nav-menu .availability-tooltip-desktop {
      display: none !important;
    }
  }

  /* Contact button - distinct CTA styling */

  .nav-menu .contact-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    color: #374151 !important;
    font-size: 1rem;
    font-weight: 400;
    text-decoration: none;
    background: transparent;
    border: 1px solid #D1D5DB;
    border-radius: 0.375rem;
    transition: all 200ms ease-in-out;
  }

  .nav-menu .contact-btn:hover {
    color: #111827 !important;
    background: #F3F4F6;
    border-color: #9CA3AF;
  }

  .nav-menu .contact-btn.active,
    .nav-menu .contact-btn[aria-current="page"] {
    color: #F97316 !important;
    background: #FFF7ED;
    border-color: #FDBA74;
  }

  .nav-menu .contact-btn:focus-visible {
    outline: 2px solid #F97316;
    outline-offset: 2px;
  }

  /* Hide hamburger on desktop */

  .menu-toggle {
    display: none !important;
  }

  /* Services dropdown: hover to open on desktop; click still used on mobile */

  .nav-menu .menu-item-has-children {
    position: relative;
  }

  /* Submenu just below nav bar divider; top from li (li is vertically centered in 80px row) */

  .nav-menu .menu-item-has-children .sub-menu {
    position: absolute;
    top: 36px;
    /* bring submenu up so it sits right under the divider */
    left: 0;
    margin: 0;
    padding: 0.5rem 0;
    min-width: 12rem;
    background: #F7F7F5;
    border: 1px solid #E5E7EB;
    border-radius: 0.375rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease-out, visibility 0.15s ease-out;
    z-index: 50;
  }

  .nav-menu .menu-item-has-children:hover .sub-menu,
    .nav-menu .menu-item-has-children.nav-dropdown-open .sub-menu {
    opacity: 1;
    visibility: visible;
  }

  .nav-menu .menu-item-has-children .sub-menu li {
    margin: 0;
    border: none;
  }

  .nav-menu .menu-item-has-children .sub-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: #374151 !important;
    font-size: 0.9375rem;
    white-space: nowrap;
  }

  .nav-menu .menu-item-has-children .sub-menu a:hover {
    color: #111827 !important;
    background: #F3F4F6;
  }

  .nav-menu .menu-item-has-children .sub-menu a.active {
    color: #F97316 !important;
  }

  /* Hide accordion chevron on desktop; dropdown is click-on-link only */

  .nav-menu .nav-submenu-toggle {
    display: none !important;
  }

  /* Header flex row: logo + header-right (nav + contact). Menu items at right edge of safety margin.
       High specificity so these rules win over utilities and plugin CSS. */

  .site-branding {
    flex-shrink: 0;
  }

  #masthead .site-container .header-right {
    flex: 1 1 0%;
    min-width: 0;
    position: relative;
  }

  #masthead .site-container #site-navigation.main-navigation {
    flex: 1 1 0%;
    min-width: 0;
  }

  .desktop-header-contact {
    position: absolute;
    top: 4px;
    right: 0;
    flex-shrink: 0;
    align-items: center;
    z-index: 5;
  }

  /* Contact block: explicit #1F2937 so text/icons are visible (no var(--color-nav-text)) */

  .desktop-header-contact-divider {
    display: block;
    width: 1px;
    height: 20px;
    background-color: #1F2937;
    opacity: 0.15;
  }

  .desktop-header-contact-phone {
    color: #1F2937 !important;
    text-decoration: none;
    opacity: 0.75;
    white-space: nowrap;
    transition: opacity 0.15s ease;
  }

  .desktop-header-contact-phone svg {
    color: inherit;
  }

  .desktop-header-contact-phone:hover,
    .desktop-header-contact-phone:focus-visible {
    opacity: 1;
    outline: none;
  }

  .desktop-header-contact-email {
    color: #1F2937 !important;
    opacity: 0.75;
    min-width: 36px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.15s ease;
  }

  .desktop-header-contact-email svg {
    color: inherit;
  }

  .desktop-header-contact-email:hover,
    .desktop-header-contact-email:focus-visible {
    opacity: 1;
    outline: none;
  }
}

/* Dark header: light text for contact block */

.dark .desktop-header-contact-phone,
.dark .desktop-header-contact-email {
  color: #f1f5f9;
}

.dark .desktop-header-contact-divider {
  background-color: #f1f5f9;
}

/* ─────────────────────────────────────────────────────
   MOBILE NAVIGATION (Hamburger menu)
   ───────────────────────────────────────────────────── */

@media (max-width: 1023px) {
  /* Backdrop: full viewport, dark, tap-to-close (Rule 1–4, 6–7) */

  .nav-backdrop {
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 120ms ease-out;
  }

  body.nav-menu-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  body.nav-menu-open .nav-backdrop[hidden] {
    display: block !important;
    /* and any hidden attribute override you had */
  }

  /* Menu moved to body when open – keep above backdrop */

  body.nav-menu-open .nav-menu {
    display: flex !important;
    position: fixed;
    left: 0;
    right: 0;
    top: 66px;
    z-index: 50;
  }

  /* No bottom decorative lines – clean menu end (see doc) */

  .nav-menu::after {
    content: none;
    display: none;
  }

  /* Hide menu by default on mobile */

  .nav-menu {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    /* Add 1px to account for divider line */
    left: 0;
    right: 0;
    background-color: #111F2C;
    /* bg-surface-dark */
    z-index: 50;
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 1rem;
    gap: 0.5rem;
    /* Reduced from 1rem (16px) to 0.75rem (12px) */
    max-height: calc(100vh - 66px);
    overflow-y: auto;
  }

  /* Show menu when toggled – fixed so it sits above backdrop without touching header */

  .main-navigation.toggled .nav-menu {
    display: flex !important;
    position: fixed;
    left: 0;
    right: 0;
    top: 66px;
    /* just below header bar + divider */
    z-index: 50;
  }

  /* Hide wrapper when in nav so only dot + hamburger show */

  .main-navigation #mobile-menu-wrapper {
    position: absolute;
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
  }

  .availability-dot-mobile [role="presentation"] {
    animation: availability-dot-pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  }

  /* Mobile menu wrapper (card + ul) when moved to body – 85% width, max 360px (German engineering standard) */

  body.nav-menu-open #mobile-menu-wrapper {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    left: 0;
    right: 15%;
    /* Creates 85% width */
    top: 66px;
    z-index: 50;
    background-color: #111F2C;
    padding: 1.5rem 0;
    max-width: 360px;
    max-height: calc(100vh - 66px);
    overflow-y: auto;
  }

  /* Availability indicator at bottom of mobile menu – German engineering style */

  body.nav-menu-open #mobile-menu-wrapper .availability-indicator,
    #mobile-menu-wrapper .availability-indicator {
    flex-shrink: 0;
    margin-top: auto;
    /* Push to bottom when wrapper has extra space */
    margin-left: 1.5rem;
    /* Match .nav-menu padding so width aligns with menu items */
    margin-right: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.06);
    /* Subtle strip on dark */
    border: none;
    border-left: 4px solid rgba(16, 185, 129, 0.6);
    /* Green left border – available, 60% opacity */
    border-radius: 0;
    /* Flat – German aesthetic */
    text-decoration: none;
    display: block;
  }

  body.nav-menu-open #mobile-menu-wrapper .availability-indicator:hover,
    body.nav-menu-open #mobile-menu-wrapper .availability-indicator:focus {
    background: rgba(255, 255, 255, 0.1);
    color: inherit;
  }

  body.nav-menu-open .availability-indicator-dot,
    .availability-indicator-dot {
    animation: availability-dot-pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  }

  body.nav-menu-open .availability-indicator-label,
    #mobile-menu-wrapper .availability-indicator-label {
    color: #F3F4F6 !important;
    /* gray-100 – "Available" */
    font-weight: 600;
  }

  body.nav-menu-open .availability-indicator-sub,
    #mobile-menu-wrapper .availability-indicator-sub {
    color: rgba(255, 255, 255, 0.75) !important;
    /* "Tap to call: ..." */
  }

  body.nav-menu-open #mobile-menu-wrapper .nav-menu {
    position: static;
    display: flex !important;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    /* Allow nav to shrink in flex; scroll instead of squashing card */
    padding: 0 1.5rem;
    /* Breathing room – German standard */
    gap: 0;
    /* No extra gap – dividers only */
    overflow-y: auto;
  }

  /* Solid background behind entire mobile nav so nothing peeks through during submenu collapse */

  #mobile-menu-wrapper,
    .nav-menu {
    background: #111F2C;
  }

  /* Wrapper height must transition so it shrinks with submenu (no gap during collapse) */

  #mobile-menu-wrapper {
    transition: height 300ms ease-in-out, max-height 300ms ease-in-out;
  }

  /* Navigation z-index: top-level items above submenus so Experience overlays Services during collapse */

  .nav-menu {
    position: relative;
    z-index: 10;
    transition: all 300ms ease-in-out;
  }

  .nav-menu > li {
    position: relative;
    z-index: 20;
    background-color: #111F2C;
    transition: transform 300ms ease-in-out;
  }

  .nav-menu > li > a {
    position: relative;
    z-index: 1;
    background: inherit;
  }

  /* Mobile menu items */

  .nav-menu li {
    width: 100%;
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 120ms ease-out, transform 120ms ease-out;
  }

  /* Staggered reveal when menu opens */

  body.nav-menu-open .nav-menu li {
    opacity: 1;
    transform: translateY(0);
  }

  body.nav-menu-open .nav-menu li:nth-child(1) {
    transition-delay: 0ms;
  }

  body.nav-menu-open .nav-menu li:nth-child(2) {
    transition-delay: 30ms;
  }

  body.nav-menu-open .nav-menu li:nth-child(3) {
    transition-delay: 60ms;
  }

  body.nav-menu-open .nav-menu li:nth-child(4) {
    transition-delay: 90ms;
  }

  body.nav-menu-open .nav-menu li:nth-child(5) {
    transition-delay: 120ms;
  }

  body.nav-menu-open .nav-menu li:nth-child(6) {
    transition-delay: 150ms;
  }

  body.nav-menu-open .nav-menu li:nth-child(7) {
    transition-delay: 180ms;
  }

  body.nav-menu-open .nav-menu li:nth-child(8) {
    transition-delay: 210ms;
  }

  body.nav-menu-open .nav-menu li:nth-child(9) {
    transition-delay: 240ms;
  }

  body.nav-menu-open .nav-menu li:nth-child(10) {
    transition-delay: 270ms;
  }

  /* Subtle dividers between items only (option with dividers) */

  .nav-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  /* When Services is expanded: no border so no line between submenu and Experience. When collapsed: keep divider (from .nav-menu li) between Services and Experience. */

  .nav-menu .menu-item-has-children.nav-submenu-expanded {
    border-bottom: none;
  }

  .nav-menu li:last-child {
    border-bottom: none;
    /* Clean end – no line after last item */
  }

  /* Hide "currently accepting new engagements" text in mobile menu – show only dot + Availability */

  .nav-menu .availability-tooltip-desktop {
    display: none !important;
  }

  /* Services accordion: link + chevron in flow; padding-left balances chevron for visual centering */

  .nav-menu .menu-item-has-children {
    position: relative;
    display: flex;
    flex-wrap: wrap;
  }

  .nav-menu .menu-item-has-children .nav-menu-item-with-submenu {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
  }

  .nav-menu .menu-item-has-children .nav-menu-item-with-submenu > a,
    .nav-menu .menu-item-has-children > a {
    flex: 1;
    min-width: 0;
    justify-content: flex-start;
    padding-right: 0.5rem;
  }

  /* Chevron stays in normal flow – no position: absolute (keeps JS click working) */

  .nav-menu .menu-item-has-children .nav-submenu-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 0.75rem;
    background: transparent;
    border: none;
    border-radius: 0;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: color 0.2s, background 0.2s;
  }

  .nav-menu .menu-item-has-children .nav-submenu-toggle:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
  }

  .nav-menu .menu-item-has-children .nav-submenu-toggle:focus-visible {
    outline: 2px solid #F97316;
    outline-offset: 2px;
  }

  .nav-menu .nav-submenu-chevron {
    transition: transform 300ms ease-in-out;
    flex-shrink: 0;
  }

  .nav-menu .menu-item-has-children.nav-submenu-expanded .nav-submenu-chevron {
    transform: rotate(90deg);
  }

  /* Submenu: slide-down via max-height only (no scaleY – content stays full size, spec) */

  .nav-menu .menu-item-has-children .sub-menu {
    display: block;
    width: 100%;
    flex-basis: 100%;
    padding-top: 8px;
    padding-bottom: 4px;
    margin-top: 4px;
    margin-bottom: 0;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 10;
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
    visibility: visible;
    transition: opacity 300ms ease-in-out, max-height 300ms ease-in-out;
  }

  .nav-menu .menu-item-has-children:not(.nav-submenu-expanded) .sub-menu {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    pointer-events: none;
    z-index: 5;
  }

  .nav-menu .menu-item-has-children.nav-submenu-expanded .sub-menu {
    max-height: 500px;
    opacity: 1;
    pointer-events: auto;
    z-index: 10;
  }

  .nav-menu .menu-item-has-children .sub-menu.submenu-transitioning {
    z-index: 5 !important;
    pointer-events: none !important;
  }

  /* Remove borders from submenu container so no gap/line between submenu and Experience */

  .nav-menu .menu-item-has-children .sub-menu {
    border: none;
    border-top: none;
    border-bottom: none;
  }

  .nav-menu .menu-item-has-children > a {
    border-bottom: none;
  }

  .nav-menu .menu-item-has-children .sub-menu li {
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 8px;
  }

  .nav-menu .menu-item-has-children .sub-menu li:last-child,
    .nav-menu .menu-item-has-children .sub-menu li:last-child a {
    border-bottom: none;
  }

  .nav-menu .menu-item-has-children .sub-menu li:last-child {
    margin-bottom: 0;
  }

  .nav-menu .menu-item-has-children .sub-menu a {
    display: flex;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 20px;
    /* Spec: indented 20px from left edge */
    padding-right: 1.25rem;
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.4;
    min-height: 44px;
    color: rgba(255, 255, 255, 0.8) !important;
    white-space: normal;
    text-decoration: none;
    transition: color 0.2s, background 0.2s;
  }

  .nav-menu .menu-item-has-children .sub-menu a:hover,
    .nav-menu .menu-item-has-children .sub-menu a:focus {
    color: #F3F4F6 !important;
    background: rgba(255, 255, 255, 0.05);
  }

  .nav-menu .menu-item-has-children .sub-menu a.active {
    color: #F97316 !important;
  }

  .nav-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    /* 12px 20px – tighter */
    font-size: 1rem;
    /* 16px */
    line-height: 1.4;
    min-height: 44px;
    text-align: center;
    color: #E5E7EB !important;
    background: transparent;
    text-decoration: none;
    transition: color 0.2s;
  }

  .nav-menu a:hover {
    color: #0F172A !important;
    /* slightly darker */
  }

  /* Services link: extra left padding so label looks centered (after .nav-menu a so it wins) */

  .nav-menu .menu-item-has-children .nav-menu-item-with-submenu > a,
    .nav-menu .menu-item-has-children > a {
    padding-left: 122px;
    /* Increase to move "Services" further toward center */
  }

  /* Active/Current menu item - Mobile */

  .nav-menu .current-menu-item a,
    .nav-menu .current_page_item a,
    .nav-menu a[aria-current="page"] {
    color: #F97316 !important;
    /* orange */
  }

  /* ─── DIAGNOSTIC: Animation tests (advanced-animation-diagnostic.md) – remove after testing ─── */

  /* Uncomment the block below to run visual tests 5 & 6 (colored backgrounds). */

  /*
    .nav-menu > li:not(.menu-item-has-children) {
      background: red !important;
    }
    .nav-menu .menu-item-has-children > a {
      background: blue !important;
    }
    .nav-menu .menu-item-has-children .sub-menu {
      background: green !important;
    }
    .nav-menu > li:nth-child(2) {
      background: red !important;
    }
    .nav-menu > li:not(.menu-item-has-children) {
      z-index: 30 !important;
    }
    */

  /* ─── END DIAGNOSTIC ─── */

  /*
     * Option A: Scalable hamburger. --hamburger-size and --hamburger-thickness; all layout derived.
     * Change either variable and the X stays centered (any size, any thickness).
     */

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 45;
  }

  .hamburger-icon {
    --hamburger-size: 28px;
    --hamburger-thickness: 2.5px;
    position: relative;
    width: var(--hamburger-size);
    height: var(--hamburger-size);
    display: block;
  }

  .hamburger-icon .hamburger-line {
    position: absolute;
    left: 16.665%;
    width: 66.67%;
    height: var(--hamburger-thickness);
    background: currentColor;
    border-radius: calc(var(--hamburger-thickness) / 2);
    transform-origin: center;
    transition: top 0.22s ease-out, transform 0.22s ease-out, opacity 0.18s ease-out;
  }

  .hamburger-line-1 {
    top: 25%;
  }

  .hamburger-line-2 {
    top: calc(50% - var(--hamburger-thickness) / 2);
  }

  .hamburger-line-3 {
    top: 66.667%;
  }

  /* Open: both outer bars at center then rotate only */

  .menu-toggle[aria-expanded="true"] .hamburger-line-1 {
    top: calc(50% - var(--hamburger-thickness) / 2);
    transform: rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] .hamburger-line-2 {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] .hamburger-line-3 {
    top: calc(50% - var(--hamburger-thickness) / 2);
    transform: rotate(-45deg);
  }

  /* Respect user motion preferences (accessibility) */

  @media (prefers-reduced-motion: reduce) {
    .nav-menu,
      .nav-menu li,
      .sub-menu,
      .nav-submenu-chevron,
      .nav-backdrop,
      #mobile-menu-wrapper {
      transition: none !important;
      animation: none !important;
    }

    .nav-menu .menu-item-has-children.nav-submenu-expanded .nav-submenu-chevron {
      transform: rotate(90deg);
      transition: none;
    }

    .menu-toggle .hamburger-line,
      .menu-toggle .hamburger-icon {
      transition: none !important;
    }
  }

  /* Account for WordPress admin bar */

  html.admin-bar .nav-menu {
    top: calc(100% + 1px + 46px);
    /* 1px divider + 46px admin bar */
  }

  @media (min-width: 783px) {
    html.admin-bar .nav-menu {
      top: calc(100% + 1px + 32px);
      /* 1px divider + 32px admin bar */
    }
  }
}

/* ─────────────────────────────────────────────────────
     FORMS
     ───────────────────────────────────────────────────── */

.input {
  width: 100%;
  border-radius: 0.5rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(209 213 219 / var(--tw-border-opacity));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity));
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
}

.input::-moz-placeholder {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity));
}

.input::placeholder {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity));
}

.input:focus {
  --tw-border-opacity: 1;
  border-color: rgb(0 102 204 / var(--tw-border-opacity));
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(0 102 204 / var(--tw-ring-opacity));
  --tw-ring-offset-width: 0px;
}

.input:disabled {
  cursor: not-allowed;
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity));
}

:is(.dark .input) {
  --tw-border-opacity: 1;
  border-color: rgb(75 85 99 / var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(249 250 251 / var(--tw-text-opacity));
}

:is(.dark .input)::-moz-placeholder {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity));
}

:is(.dark .input)::placeholder {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity));
}

:is(.dark .input:focus) {
  --tw-border-opacity: 1;
  border-color: rgb(51 153 255 / var(--tw-border-opacity));
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(51 153 255 / var(--tw-ring-opacity));
}

:is(.dark .input:disabled) {
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / var(--tw-bg-opacity));
}

.textarea {
  width: 100%;
  border-radius: 0.5rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(209 213 219 / var(--tw-border-opacity));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity));
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
}

.textarea::-moz-placeholder {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity));
}

.textarea::placeholder {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity));
}

.textarea:focus {
  --tw-border-opacity: 1;
  border-color: rgb(0 102 204 / var(--tw-border-opacity));
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(0 102 204 / var(--tw-ring-opacity));
  --tw-ring-offset-width: 0px;
}

.textarea:disabled {
  cursor: not-allowed;
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity));
}

:is(.dark .textarea) {
  --tw-border-opacity: 1;
  border-color: rgb(75 85 99 / var(--tw-border-opacity));
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(249 250 251 / var(--tw-text-opacity));
}

:is(.dark .textarea)::-moz-placeholder {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity));
}

:is(.dark .textarea)::placeholder {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity));
}

:is(.dark .textarea:focus) {
  --tw-border-opacity: 1;
  border-color: rgb(51 153 255 / var(--tw-border-opacity));
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(51 153 255 / var(--tw-ring-opacity));
}

:is(.dark .textarea:disabled) {
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / var(--tw-bg-opacity));
}

.textarea {
  min-height: 120px;
  resize: vertical;
}

.label {
  margin-bottom: 0.5rem;
  display: block;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity));
}

:is(.dark .label) {
  --tw-text-opacity: 1;
  color: rgb(229 231 235 / var(--tw-text-opacity));
}

/* ─────────────────────────────────────────────────────
     WORDPRESS CONTENT
     ───────────────────────────────────────────────────── */

/* Use Typography plugin for rich content */

.entry-content {
  color: var(--tw-prose-body);
  max-width: 65ch;
}

.entry-content :where(p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

.entry-content :where([class~="lead"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-lead);
  font-size: 1.25em;
  line-height: 1.6;
  margin-top: 1.2em;
  margin-bottom: 1.2em;
}

.entry-content :where(a):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-links);
  text-decoration: underline;
  font-weight: 500;
}

.entry-content :where(strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-bold);
  font-weight: 600;
}

.entry-content :where(a strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.entry-content :where(blockquote strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.entry-content :where(thead th strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.entry-content :where(ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: decimal;
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-inline-start: 1.625em;
}

.entry-content :where(ol[type="A"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: upper-alpha;
}

.entry-content :where(ol[type="a"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: lower-alpha;
}

.entry-content :where(ol[type="A" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: upper-alpha;
}

.entry-content :where(ol[type="a" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: lower-alpha;
}

.entry-content :where(ol[type="I"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: upper-roman;
}

.entry-content :where(ol[type="i"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: lower-roman;
}

.entry-content :where(ol[type="I" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: upper-roman;
}

.entry-content :where(ol[type="i" s]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: lower-roman;
}

.entry-content :where(ol[type="1"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: decimal;
}

.entry-content :where(ul):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  list-style-type: disc;
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-inline-start: 1.625em;
}

.entry-content :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
  font-weight: 400;
  color: var(--tw-prose-counters);
}

.entry-content :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
  color: var(--tw-prose-bullets);
}

.entry-content :where(dt):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  margin-top: 1.25em;
}

.entry-content :where(hr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-color: var(--tw-prose-hr);
  border-top-width: 1px;
  margin-top: 3em;
  margin-bottom: 3em;
}

.entry-content :where(blockquote):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 500;
  font-style: italic;
  color: var(--tw-prose-quotes);
  border-inline-start-width: 0.25rem;
  border-inline-start-color: var(--tw-prose-quote-borders);
  quotes: "\201C""\201D""\2018""\2019";
  margin-top: 1.6em;
  margin-bottom: 1.6em;
  padding-inline-start: 1em;
}

.entry-content :where(blockquote p:first-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
  content: open-quote;
}

.entry-content :where(blockquote p:last-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
  content: close-quote;
}

.entry-content :where(h1):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 800;
  font-size: 2.25em;
  margin-top: 0;
  margin-bottom: 0.8888889em;
  line-height: 1.1111111;
}

.entry-content :where(h1 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 900;
  color: inherit;
}

.entry-content :where(h2):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 700;
  font-size: 1.5em;
  margin-top: 2em;
  margin-bottom: 1em;
  line-height: 1.3333333;
}

.entry-content :where(h2 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 800;
  color: inherit;
}

.entry-content :where(h3):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  font-size: 1.25em;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  line-height: 1.6;
}

.entry-content :where(h3 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 700;
  color: inherit;
}

.entry-content :where(h4):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  line-height: 1.5;
}

.entry-content :where(h4 strong):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 700;
  color: inherit;
}

.entry-content :where(img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 2em;
  margin-bottom: 2em;
}

.entry-content :where(picture):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  display: block;
  margin-top: 2em;
  margin-bottom: 2em;
}

.entry-content :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 2em;
  margin-bottom: 2em;
}

.entry-content :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  font-weight: 500;
  font-family: inherit;
  color: var(--tw-prose-kbd);
  box-shadow: 0 0 0 1px var(--tw-prose-kbd-shadows), 0 3px 0 var(--tw-prose-kbd-shadows);
  font-size: 0.875em;
  border-radius: 0.3125rem;
  padding-top: 0.1875em;
  padding-inline-end: 0.375em;
  padding-bottom: 0.1875em;
  padding-inline-start: 0.375em;
}

.entry-content :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-code);
  font-weight: 600;
  font-size: 0.875em;
}

.entry-content :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
  content: "`";
}

.entry-content :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
  content: "`";
}

.entry-content :where(a code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.entry-content :where(h1 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.entry-content :where(h2 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
  font-size: 0.875em;
}

.entry-content :where(h3 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
  font-size: 0.9em;
}

.entry-content :where(h4 code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.entry-content :where(blockquote code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.entry-content :where(thead th code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: inherit;
}

.entry-content :where(pre):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-pre-code);
  background-color: var(--tw-prose-pre-bg);
  overflow-x: auto;
  font-weight: 400;
  font-size: 0.875em;
  line-height: 1.7142857;
  margin-top: 1.7142857em;
  margin-bottom: 1.7142857em;
  border-radius: 0.375rem;
  padding-top: 0.8571429em;
  padding-inline-end: 1.1428571em;
  padding-bottom: 0.8571429em;
  padding-inline-start: 1.1428571em;
}

.entry-content :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  background-color: transparent;
  border-width: 0;
  border-radius: 0;
  padding: 0;
  font-weight: inherit;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
}

.entry-content :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
  content: none;
}

.entry-content :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after {
  content: none;
}

.entry-content :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  width: 100%;
  table-layout: auto;
  margin-top: 2em;
  margin-bottom: 2em;
  font-size: 0.875em;
  line-height: 1.7142857;
}

.entry-content :where(thead):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-bottom-width: 1px;
  border-bottom-color: var(--tw-prose-th-borders);
}

.entry-content :where(thead th):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  vertical-align: bottom;
  padding-inline-end: 0.5714286em;
  padding-bottom: 0.5714286em;
  padding-inline-start: 0.5714286em;
}

.entry-content :where(tbody tr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-bottom-width: 1px;
  border-bottom-color: var(--tw-prose-td-borders);
}

.entry-content :where(tbody tr:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-bottom-width: 0;
}

.entry-content :where(tbody td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  vertical-align: baseline;
}

.entry-content :where(tfoot):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  border-top-width: 1px;
  border-top-color: var(--tw-prose-th-borders);
}

.entry-content :where(tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  vertical-align: top;
}

.entry-content :where(th, td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  text-align: start;
}

.entry-content :where(figure > *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
  margin-bottom: 0;
}

.entry-content :where(figcaption):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  color: var(--tw-prose-captions);
  font-size: 0.875em;
  line-height: 1.4285714;
  margin-top: 0.8571429em;
}

.entry-content {
  --tw-prose-body: #374151;
  --tw-prose-headings: #111827;
  --tw-prose-lead: #4b5563;
  --tw-prose-links: #111827;
  --tw-prose-bold: #111827;
  --tw-prose-counters: #6b7280;
  --tw-prose-bullets: #d1d5db;
  --tw-prose-hr: #e5e7eb;
  --tw-prose-quotes: #111827;
  --tw-prose-quote-borders: #e5e7eb;
  --tw-prose-captions: #6b7280;
  --tw-prose-kbd: #111827;
  --tw-prose-kbd-shadows: rgb(17 24 39 / 10%);
  --tw-prose-code: #111827;
  --tw-prose-pre-code: #e5e7eb;
  --tw-prose-pre-bg: #1f2937;
  --tw-prose-th-borders: #d1d5db;
  --tw-prose-td-borders: #e5e7eb;
  --tw-prose-invert-body: #d1d5db;
  --tw-prose-invert-headings: #fff;
  --tw-prose-invert-lead: #9ca3af;
  --tw-prose-invert-links: #fff;
  --tw-prose-invert-bold: #fff;
  --tw-prose-invert-counters: #9ca3af;
  --tw-prose-invert-bullets: #4b5563;
  --tw-prose-invert-hr: #374151;
  --tw-prose-invert-quotes: #f3f4f6;
  --tw-prose-invert-quote-borders: #374151;
  --tw-prose-invert-captions: #9ca3af;
  --tw-prose-invert-kbd: #fff;
  --tw-prose-invert-kbd-shadows: rgb(255 255 255 / 10%);
  --tw-prose-invert-code: #fff;
  --tw-prose-invert-pre-code: #d1d5db;
  --tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);
  --tw-prose-invert-th-borders: #4b5563;
  --tw-prose-invert-td-borders: #374151;
  font-size: 1rem;
  line-height: 1.75;
}

.entry-content :where(picture > img):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
  margin-bottom: 0;
}

.entry-content :where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.entry-content :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-start: 0.375em;
}

.entry-content :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-start: 0.375em;
}

.entry-content :where(.prose > ul > li p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}

.entry-content :where(.prose > ul > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.25em;
}

.entry-content :where(.prose > ul > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-bottom: 1.25em;
}

.entry-content :where(.prose > ol > li > p:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.25em;
}

.entry-content :where(.prose > ol > li > p:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-bottom: 1.25em;
}

.entry-content :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}

.entry-content :where(dl):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

.entry-content :where(dd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0.5em;
  padding-inline-start: 1.625em;
}

.entry-content :where(hr + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.entry-content :where(h2 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.entry-content :where(h3 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.entry-content :where(h4 + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.entry-content :where(thead th:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-start: 0;
}

.entry-content :where(thead th:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-end: 0;
}

.entry-content :where(tbody td, tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-top: 0.5714286em;
  padding-inline-end: 0.5714286em;
  padding-bottom: 0.5714286em;
  padding-inline-start: 0.5714286em;
}

.entry-content :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-start: 0;
}

.entry-content :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  padding-inline-end: 0;
}

.entry-content :where(figure):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 2em;
  margin-bottom: 2em;
}

.entry-content :where(.prose > :first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-top: 0;
}

.entry-content :where(.prose > :last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
  margin-bottom: 0;
}

.entry-content {
  --tw-prose-body: #374151;
  --tw-prose-headings: #111827;
  --tw-prose-lead: #4b5563;
  --tw-prose-links: #111827;
  --tw-prose-bold: #111827;
  --tw-prose-counters: #6b7280;
  --tw-prose-bullets: #d1d5db;
  --tw-prose-hr: #e5e7eb;
  --tw-prose-quotes: #111827;
  --tw-prose-quote-borders: #e5e7eb;
  --tw-prose-captions: #6b7280;
  --tw-prose-kbd: #111827;
  --tw-prose-kbd-shadows: rgb(17 24 39 / 10%);
  --tw-prose-code: #111827;
  --tw-prose-pre-code: #e5e7eb;
  --tw-prose-pre-bg: #1f2937;
  --tw-prose-th-borders: #d1d5db;
  --tw-prose-td-borders: #e5e7eb;
  --tw-prose-invert-body: #d1d5db;
  --tw-prose-invert-headings: #fff;
  --tw-prose-invert-lead: #9ca3af;
  --tw-prose-invert-links: #fff;
  --tw-prose-invert-bold: #fff;
  --tw-prose-invert-counters: #9ca3af;
  --tw-prose-invert-bullets: #4b5563;
  --tw-prose-invert-hr: #374151;
  --tw-prose-invert-quotes: #f3f4f6;
  --tw-prose-invert-quote-borders: #374151;
  --tw-prose-invert-captions: #9ca3af;
  --tw-prose-invert-kbd: #fff;
  --tw-prose-invert-kbd-shadows: rgb(255 255 255 / 10%);
  --tw-prose-invert-code: #fff;
  --tw-prose-invert-pre-code: #d1d5db;
  --tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);
  --tw-prose-invert-th-borders: #4b5563;
  --tw-prose-invert-td-borders: #374151;
  max-width: none;
}

@layer components2 {
  .entry-content h2 {
    color: #1B2A38;
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1rem;
    line-height: 1.3;
  }

  .entry-content h3 {
    color: #1B2A38;
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
  }

  .entry-content p {
    color: #5E6E7E;
    line-height: 1.7;
    margin-bottom: 1.5rem;
  }

  .entry-content ul {
    color: #5E6E7E;
    line-height: 1.7;
  }

  .entry-content a {
    color: #009999;
    text-decoration: underline;
    transition: color 0.2s;
  }

  .entry-content a:hover {
    color: #007a7a;
  }
}

:is(.dark .entry-content) {
  --tw-prose-body: var(--tw-prose-invert-body);
  --tw-prose-headings: var(--tw-prose-invert-headings);
  --tw-prose-lead: var(--tw-prose-invert-lead);
  --tw-prose-links: var(--tw-prose-invert-links);
  --tw-prose-bold: var(--tw-prose-invert-bold);
  --tw-prose-counters: var(--tw-prose-invert-counters);
  --tw-prose-bullets: var(--tw-prose-invert-bullets);
  --tw-prose-hr: var(--tw-prose-invert-hr);
  --tw-prose-quotes: var(--tw-prose-invert-quotes);
  --tw-prose-quote-borders: var(--tw-prose-invert-quote-borders);
  --tw-prose-captions: var(--tw-prose-invert-captions);
  --tw-prose-kbd: var(--tw-prose-invert-kbd);
  --tw-prose-kbd-shadows: var(--tw-prose-invert-kbd-shadows);
  --tw-prose-code: var(--tw-prose-invert-code);
  --tw-prose-pre-code: var(--tw-prose-invert-pre-code);
  --tw-prose-pre-bg: var(--tw-prose-invert-pre-bg);
  --tw-prose-th-borders: var(--tw-prose-invert-th-borders);
  --tw-prose-td-borders: var(--tw-prose-invert-td-borders);
}

.entry-content :is(:where(h1, h2, h3, h4, h5, h6, th):not(:where([class~="not-prose"],[class~="not-prose"] *))) {
  font-weight: 600;
  letter-spacing: -0.025em;
}

.entry-content :is(:where(a):not(:where([class~="not-prose"],[class~="not-prose"] *))) {
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(0 102 204 / var(--tw-text-opacity));
  text-decoration-line: none;
}

.entry-content :is(:where(a):not(:where([class~="not-prose"],[class~="not-prose"] *))):hover {
  text-decoration-line: underline;
  text-underline-offset: 4px;
}

.entry-content :is(:where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))) {
  border-radius: 0.25rem;
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity));
  padding-left: 0.375rem;
  padding-right: 0.375rem;
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
  --tw-text-opacity: 1;
  color: rgb(0 82 163 / var(--tw-text-opacity));
}

.entry-content :is(:where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)))::before {
  --tw-content: none;
  content: var(--tw-content);
}

.entry-content :is(:where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)))::after {
  --tw-content: none;
  content: var(--tw-content);
}

:is(.dark .entry-content :is(:where(code):not(:where([class~="not-prose"],[class~="not-prose"] *)))) {
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity));
  --tw-text-opacity: 1;
  color: rgb(51 153 255 / var(--tw-text-opacity));
}

/* WordPress block alignments */

/* Full-width alignment - test carefully in your theme context */

/* Alternative alignfull approach if negative margins cause issues */

/* Uncomment if needed and wrap content in .site-container parent */

/*
  .alignfull {
    @apply w-full;
    margin-left: calc(-1 * var(--site-padding, 1.5rem));
    margin-right: calc(-1 * var(--site-padding, 1.5rem));
  }
  */

/* ─────────────────────────────────────────────────────
     BADGES & INDICATORS
     ───────────────────────────────────────────────────── */

/* =========================================================
   UTILITIES LAYER
   Project-specific utilities
   ========================================================= */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.pointer-events-none {
  pointer-events: none;
}

.visible {
  visibility: visible;
}

.static {
  position: static;
}

.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.bottom-0 {
  bottom: 0px;
}

.bottom-24 {
  bottom: 6rem;
}

.bottom-8 {
  bottom: 2rem;
}

.left-0 {
  left: 0px;
}

.left-4 {
  left: 1rem;
}

.right-0 {
  right: 0px;
}

.right-8 {
  right: 2rem;
}

.right-full {
  right: 100%;
}

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

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

.order-last {
  order: 9999;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mr-3 {
  margin-right: 0.75rem;
}

.mt-0 {
  margin-top: 0px;
}

.mt-0\.5 {
  margin-top: 0.125rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.block {
  display: block;
}

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

.inline {
  display: inline;
}

.flex {
  display: flex;
}

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

.table {
  display: table;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

.h-12 {
  height: 3rem;
}

.h-16 {
  height: 4rem;
}

.h-2 {
  height: 0.5rem;
}

.h-4 {
  height: 1rem;
}

.h-5 {
  height: 1.25rem;
}

.h-7 {
  height: 1.75rem;
}

.h-full {
  height: 100%;
}

.min-h-\[48px\] {
  min-height: 48px;
}

.w-12 {
  width: 3rem;
}

.w-2 {
  width: 0.5rem;
}

.w-4 {
  width: 1rem;
}

.w-5 {
  width: 1.25rem;
}

.w-7 {
  width: 1.75rem;
}

.min-w-0 {
  min-width: 0px;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-screen-sm {
  max-width: 640px;
}

.flex-1 {
  flex: 1 1 0%;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.translate-y-full {
  --tw-translate-y: 100%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.list-disc {
  list-style-type: disc;
}

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

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

.justify-end {
  justify-content: flex-end;
}

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

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

.gap-1 {
  gap: 0.25rem;
}

.gap-1\.5 {
  gap: 0.375rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}

.whitespace-nowrap {
  white-space: nowrap;
}

.rounded {
  border-radius: 0.25rem;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.border {
  border-width: 1px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-l-4 {
  border-left-width: 4px;
}

.border-t {
  border-top-width: 1px;
}

.border-gray-800 {
  --tw-border-opacity: 1;
  border-color: rgb(31 41 55 / var(--tw-border-opacity));
}

.border-slate-200 {
  --tw-border-opacity: 1;
  border-color: rgb(226 232 240 / var(--tw-border-opacity));
}

.border-teal {
  --tw-border-opacity: 1;
  border-color: rgb(0 153 153 / var(--tw-border-opacity));
}

.bg-\[\#10b981\] {
  --tw-bg-opacity: 1;
  background-color: rgb(16 185 129 / var(--tw-bg-opacity));
}

.bg-gray-800 {
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity));
}

.bg-gray-900 {
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / var(--tw-bg-opacity));
}

.bg-surface-dark {
  --tw-bg-opacity: 1;
  background-color: rgb(17 31 44 / var(--tw-bg-opacity));
}

.bg-surface-light {
  --tw-bg-opacity: 1;
  background-color: rgb(247 247 245 / var(--tw-bg-opacity));
}

.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}

.p-2 {
  padding: 0.5rem;
}

.p-2\.5 {
  padding: 0.625rem;
}

.p-6 {
  padding: 1.5rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-24 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.pb-16 {
  padding-bottom: 4rem;
}

.pb-24 {
  padding-bottom: 6rem;
}

.pb-32 {
  padding-bottom: 8rem;
}

.pb-6 {
  padding-bottom: 1.5rem;
}

.pl-6 {
  padding-left: 1.5rem;
}

.pt-10 {
  padding-top: 2.5rem;
}

.pt-16 {
  padding-top: 4rem;
}

.pt-24 {
  padding-top: 6rem;
}

.pt-32 {
  padding-top: 8rem;
}

.pt-6 {
  padding-top: 1.5rem;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.font-bold {
  font-weight: 700;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.text-gray-200 {
  --tw-text-opacity: 1;
  color: rgb(229 231 235 / var(--tw-text-opacity));
}

.text-gray-900 {
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity));
}

.text-nav-text {
  --tw-text-opacity: 1;
  color: rgb(31 41 55 / var(--tw-text-opacity));
}

.text-slate-600 {
  --tw-text-opacity: 1;
  color: rgb(71 85 105 / var(--tw-text-opacity));
}

.text-teal {
  --tw-text-opacity: 1;
  color: rgb(0 153 153 / var(--tw-text-opacity));
}

.text-teal-600 {
  --tw-text-opacity: 1;
  color: rgb(0 122 122 / var(--tw-text-opacity));
}

.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}

.underline {
  text-decoration-line: underline;
}

.opacity-0 {
  opacity: 0;
}

.shadow-2xl {
  --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-lg {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.shadow-sm {
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-300 {
  transition-duration: 300ms;
}

/* Section Heights - Mobile first, then desktop */

.section-h-48 {
  /* Mobile: 32px */
  height: 32px;
  /* Mobile: 32px light section */
}

@media (min-width: 900px) {
  .section-h-48 {
    min-height: 48px;
    /* Desktop: 48px - matches hero section breakpoint */
  }
}

.section-h-128 {
  min-height: 320px;
  /* Change from height to min-height - allows expansion */
}

/* Use VERY LOW breakpoint (640px) to ensure desktop height is stable across all zoom levels */

@media (min-width: 640px) {
  .section-h-128 {
    min-height: 580px;
    /* Desktop: 580px - dark blue hero with animated grid */
  }
}

/* Increased from 350px by 42px */

.section-services-flex {
  height: auto;
  min-height: 320px;
}

/* Flexible: grows with content */

.section-h-640 {
  min-height: 640px;
}

/* Updated height to match Adobe XD design */

.section-h-800 {
  min-height: 800px;
}

.section-h-580 {
  height: auto;
}

/* Fit content exactly, no minimum */

.section-h-480 {
  min-height: 580px;
}

/* Increased from 480px to 580px */

.section-h-560 {
  min-height: 600px;
}

/* ─────────────────────────────────────────────────────
   SECTION CONTAINER CONSTRAINTS
   Applied to all sections to prevent content overflow
   ───────────────────────────────────────────────────── */

section {
  overflow: hidden;
  /* Prevent content from escaping section */
  position: relative;
  /* Establish positioning context */
  box-sizing: border-box;
  /* Include padding in height calculation */
}

/* Exception: sections 03 & 06 Compliance gradient must bleed viewport-wide */

.compliance-page .compliance-section-gradient-bg {
  overflow: visible !important;
}

/* Exception: section 02 Availability gradient must bleed viewport-wide */

.availability-page .availability-section-gradient-bg {
  overflow: visible !important;
}

/* Exception: section 02 About gradient must bleed viewport-wide */

.about-page .about-section-gradient-bg {
  overflow: visible !important;
}

/* Better text balancing for headings (Chrome 114+, graceful fallback) */

/* Fallback for older browsers */

/* Hide scrollbar but keep functionality */

/* Focus visible for better keyboard navigation */

/* Truncate with ellipsis */

/* Responsive: Heights should be flexible on mobile (portrait and landscape) */

@media (max-width: 768px), (max-height: 768px) and (max-width: 1024px) {
  .section-h-128 {
    height: auto;
    min-height: 320px;
  }

  /* Allow hero to expand on mobile */

  .section-h-350 {
    height: auto;
    min-height: 392px;
  }

  /* Increased from 350px by 42px */

  .section-services-flex {
    height: auto;
    min-height: 320px;
  }

  .section-h-540 {
    height: auto;
    min-height: 540px;
  }

  .section-h-640 {
    height: auto;
    min-height: 640px;
  }

  /* Allow expansion on mobile only */

  .section-h-800 {
    height: auto;
    min-height: 800px;
  }

  .section-h-500 {
    height: auto;
    min-height: 500px;
  }

  .section-h-516 {
    height: auto;
    min-height: 516px;
  }

  .section-h-580 {
    height: auto;
  }

  /* Fit content exactly, no minimum */

  .section-h-480 {
    height: auto;
    min-height: 580px;
  }

  /* Increased from 480px to 580px */

  .section-h-560 {
    height: auto;
    min-height: 600px;
  }
}

/* =========================================================
   DESIGN SYSTEM TOKENS (for Services, Experience, Compliance, Availability, Contact)
   ========================================================= */

:root {
  /* Color Tokens */
  --color-dark-primary: #111F2C;
  --color-header-dark: #0A1628;
  --color-light-primary: #F7F7F5;
  --color-accent-primary: #009999;
  --color-accent-secondary: #F07A28;
  --color-accent-secondary-hover: #FF8C42;
  --color-text-dark: #0E1A26;
  --color-text-light: #FFFFFF;
  --color-text-muted-light: rgba(255, 255, 255, 0.6);
  --color-text-muted-dark: rgba(14, 26, 38, 0.6);
  --color-divider-light: rgba(14, 26, 38, 0.12);
  --color-divider-dark: rgba(255, 255, 255, 0.08);
  --color-neutral-bg: #F5F7FA;
  --color-border-neutral: #E5E7EB;
  --color-exclusions-bg: #FFF7ED;
  /* Typography Scale (Desktop baseline) */
  --text-h1: 48px;
  --text-h2: 36px;
  --text-h3: 24px;
  --text-h4: 18px;
  --text-body-lg: 18px;
  --text-body: 16px;
  --text-body-sm: 14px;
  --text-caption: 13px;
  /* Font Weights */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  /* Spacing System (8px grid) */
  --space-xxs: 4px;
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-xxl: 64px;
  --space-huge: 96px;
  --space-massive: 128px;
  /* Container max-width */
  --container-max: 1200px;
  /* Footer CTA button width (WCAG touch targets, design-system norms) */
  --cta-btn-min-width: 160px;
  --cta-btn-max-width: 240px;
}

@keyframes availability-dot-pulse {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: 0.65;
  }
}

/* Tech stack PROFINET flow (SVG stroke-dashoffset – profinet-animation-guide Solution A) */

@keyframes profinet-flow {
  0% {
    stroke-dashoffset: 45;
  }

  100% {
    stroke-dashoffset: 0;
  }
}

/* =========================================================
   BASE LAYER
   Global resets and defaults (minimal, WP-safe)
   ========================================================= */

/* =========================================================
   COMPONENTS LAYER 2 - Dedicated Pages
   Reusable UI primitives
   ========================================================= */

@layer components2 {
  /* ─────────────────────────────────────────────────────
   SERVICES PAGE (German engineering firm–inspired layout)
   ───────────────────────────────────────────────────── */

  .services-page {
    background-color: #fff;
    color: var(--color-text-dark);
    overflow-x: hidden;
  }

  .services-page .services-page-container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.47rem;
    padding-right: 1.47rem;
    box-sizing: border-box;
  }

  @media (min-width: 640px) {
    .services-page .services-page-container {
      padding-left: 1.5rem;
      padding-right: 1.5rem;
    }
  }

  @media (min-width: 1024px) {
    .services-page .services-page-container {
      padding-left: 2rem;
      padding-right: 2rem;
      max-width: min(80rem, calc(1100px + 4rem));
    }
  }

  @media (min-width: 1280px) {
    .services-page .services-page-container {
      padding-left: 3rem;
      padding-right: 3rem;
      max-width: min(80rem, calc(1100px + 6rem));
    }
  }

  @media (min-width: 1920px) {
    .services-page .services-page-container {
      padding-left: 4rem;
      padding-right: 4rem;
      max-width: min(80rem, calc(1100px + 8rem));
    }
  }

  /* Page header (dark) */

  .services-page-header {
    background: var(--color-dark-primary);
    color: var(--color-text-light);
    padding: var(--space-xxl) var(--space-md);
    position: relative;
    overflow: hidden;
  }

  .services-page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.02) 2px,
      rgba(255, 255, 255, 0.02) 4px
    );
    pointer-events: none;
  }

  .services-page-header-inner {
    position: relative;
    z-index: 1;
  }

  .services-page-header .services-page-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-sm);
    color: var(--color-text-light);
  }

  .services-page-header .services-page-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(1rem, 2vw, 1.125rem);
    max-width: 800px;
    margin-bottom: var(--space-md);
    line-height: 1.7;
  }

  .services-page-headline {
    font-size: clamp(2.25rem, 5vw, 3.5rem) !important;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 !important;
    padding-bottom: var(--space-xl) !important;
    line-height: 1.2;
    color: var(--color-text-light);
  }

  .services-page-header .services-page-subtitle-lead {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 600;
  }

  .services-page-header .services-page-subtitle strong {
    color: var(--color-text-light);
    font-weight: 600;
  }

  /* Industry sectors bar */

  .services-sectors-bar {
    background: var(--color-neutral-bg);
    border-top: 3px solid var(--color-accent-secondary);
    border-bottom: 1px solid var(--color-border-neutral);
    padding: var(--space-lg) var(--space-md);
  }

  .services-sectors-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted-dark);
    margin-bottom: var(--space-md);
    display: block;
  }

  .services-sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: var(--space-md);
  }

  .services-sector-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text-dark);
  }

  .services-sector-icon {
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid var(--color-border-neutral);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-text-dark);
  }

  .services-sector-icon svg {
    width: 24px;
    height: 24px;
  }

  /* Main content area */

  .services-main-content {
    padding: var(--space-xxl) 0;
    background-color: #FFFFFF;
  }

  .services-service-section {
    margin-bottom: var(--space-xxl);
    padding-bottom: var(--space-xxl);
    border-bottom: 1px solid var(--color-border-neutral);
  }

  .services-service-section:last-child {
    border-bottom: none;
  }

  /* Off-white background only for section 02 (HMI / SCADA); full viewport width, extra height at top */

  .services-service-section:nth-of-type(2) {
    background-color: #F7F7F5;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    padding-top: var(--space-huge);
    box-sizing: border-box;
  }

  .services-service-header {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    align-items: start;
  }

  .services-service-number {
    font-family: ui-monospace, 'Cascadia Code', 'JetBrains Mono', 'Courier New', monospace;
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--color-accent-primary);
    line-height: 1;
    opacity: 0.2;
    min-width: 80px;
  }

  .services-service-header-content {
    display: block;
  }

  .services-service-title {
    font-size: 36px !important;
    font-weight: 600;
    color: var(--color-text-dark);
    margin: 0 0 var(--space-xs);
    letter-spacing: -0.01em;
    line-height: 1.2;
  }

  .services-service-subtitle {
    display: block;
    font-size: 1rem;
    color: var(--color-text-muted-dark);
    font-weight: 500;
    margin: 0;
    margin-top: 0.125rem;
  }

  .services-service-description {
    margin-bottom: var(--space-xl);
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--color-text-dark);
  }

  .services-service-description p {
    margin-bottom: var(--space-md);
  }

  .services-service-description p:last-child {
    margin-bottom: 0;
  }

  .services-service-description strong {
    font-weight: 600;
    color: var(--color-accent-primary);
  }

  .services-section-label {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted-dark);
    margin: 0 0 var(--space-lg) 0 !important;
  }

  /* Single-service page overview section (reuses services typography) */

  .services-single-overview {
    margin-bottom: var(--space-xl);
  }

  /* CTA link after each service section on hub page */

  .services-section-cta {
    margin-top: var(--space-xl);
  }

  /* Deliverables grid */

  .services-deliverables-section {
    margin-bottom: var(--space-xl);
  }

  .services-deliverables-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-md);
  }

  .services-deliverable-block {
    background: var(--color-neutral-bg);
    padding: var(--space-lg);
    position: relative;
    box-sizing: border-box;
  }

  .services-deliverable-block::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--color-accent-primary);
  }

  .services-deliverable-block h4 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin: 0 0 var(--space-sm);
  }

  .services-deliverable-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .services-deliverable-block li {
    font-size: 0.9375rem;
    color: var(--color-text-dark);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
  }

  .services-deliverable-block li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--color-accent-primary);
    font-size: 1rem;
    font-weight: 600;
  }

  /* Platform badges */

  .services-platforms-section {
    margin-top: var(--space-lg);
  }

  .services-platforms-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
  }

  .services-platform-badge {
    display: inline-block;
    font-family: ui-monospace, 'Cascadia Code', 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.875rem;
    padding: 0.625rem 1.25rem;
    background: #fff !important;
    border: 2px solid var(--color-border-neutral) !important;
    color: var(--color-text-dark);
    font-weight: 500;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
  }

  .services-platform-badge:hover {
    border-color: var(--color-accent-primary) !important;
    background: var(--color-neutral-bg) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 153, 153, 0.15);
  }

  /* Standards section */

  .services-standards-section {
    margin-top: var(--space-xl);
    padding: var(--space-lg);
    background: var(--color-neutral-bg);
    border: 1px solid var(--color-border-neutral);
  }

  .services-standards-section .services-section-label {
    margin-bottom: var(--space-md);
  }

  .services-standards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-md);
  }

  .services-standard-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
  }

  .services-standard-marker {
    width: 10px;
    height: 10px;
    background: var(--color-accent-secondary);
    flex-shrink: 0;
  }

  .services-standard-text {
    font-family: ui-monospace, 'Cascadia Code', 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.9375rem;
    color: var(--color-text-dark);
    font-weight: 500;
  }

  /* Engagement section (4 cards) */

  .services-engagement-section {
    padding: var(--space-xxl) var(--space-md);
    background: linear-gradient(to bottom,
      transparent,
      var(--color-neutral-bg) 10%,
      var(--color-neutral-bg) 90%,
      transparent
    );
  }

  .services-engagement-title {
    font-size: 36px !important;
    font-weight: 600;
    color: var(--color-text-dark);
    margin: 0 0 var(--space-sm);
    text-align: center;
  }

  .services-engagement-intro {
    text-align: center;
    color: var(--color-text-muted-dark);
    margin-bottom: var(--space-xl);
    font-size: 1.0625rem;
  }

  .services-engagement-intro strong {
    color: var(--color-accent-primary);
  }

  /* Match reference: gap above and below card grid (space-xl = 4rem in reference) */

  .services-engagement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-xl);
  }

  .services-engagement-card:nth-child(4) {
    grid-column: 2;
  }

  .services-engagement-card {
    background: #fff;
    border: 1px solid var(--color-border-neutral);
    border-left: 4px solid var(--color-accent-primary);
    padding: var(--space-lg);
    position: relative;
  }

  .services-engagement-card-title {
    font-size: 1.1875rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin: 0 0 var(--space-sm);
  }

  .services-engagement-card-text {
    font-size: 0.9375rem;
    color: var(--color-text-dark);
    line-height: 1.7;
    margin: 0;
  }

  .services-engagement-outro {
    text-align: center;
    margin-top: var(--space-xl);
    font-size: 1rem;
    color: var(--color-text-dark);
  }

  .services-engagement-outro strong {
    color: var(--color-accent-primary);
  }

  /* Scope & Interfaces */

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

  .services-scope-inner {
    max-width: 900px;
    margin: 0 auto;
  }

  .services-scope-inner > .services-scope-title {
    padding-left: 0;
  }

  .services-scope-inner > .services-scope-line-wrap > .services-category-description {
    padding-left: calc(3px + var(--space-md));
  }

  .services-scope-line-wrap {
    position: relative;
  }

  .services-scope-line-wrap::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-border-neutral);
  }

  .services-scope-title {
    font-size: 36px !important;
    font-weight: 600;
    color: var(--color-text-dark);
    margin: 0;
    padding-bottom: var(--space-xl);
  }

  .services-scope-section .services-category-description {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--color-text-dark);
    margin-bottom: var(--space-md);
  }

  .services-scope-inner > .services-category-description {
    margin-top: 0;
    margin-bottom: var(--space-md);
  }

  .services-scope-inner > .services-category-description:first-of-type {
    margin-bottom: var(--space-md);
  }

  /* Gap above paragraph that follows responsibility box (e.g. "This approach ensures...") */

  .services-responsibility-box + .services-category-description {
    margin-top: var(--space-lg) !important;
  }

  .services-scope-section .services-category-description strong {
    color: var(--color-accent-primary);
  }

  .services-scope-block {
    margin-bottom: var(--space-xl);
    padding-left: calc(3px + var(--space-md));
  }

  .services-scope-block:first-of-type {
    padding-top: var(--space-xl);
  }

  .services-scope-block-title {
    font-size: 24px !important;
    font-weight: 600;
    color: var(--color-text-dark);
    margin: 0;
    padding-bottom: var(--space-md);
  }

  .services-scope-block h3.services-scope-block-title {
    font-size: 24px !important;
    padding-bottom: var(--space-md);
  }

  .services-responsibility-box {
    background: var(--color-neutral-bg);
    padding: var(--space-lg);
    margin-top: var(--space-md);
    border: 1px solid var(--color-border-neutral) !important;
    box-sizing: border-box;
  }

  .services-responsibility-title {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted-dark);
    margin: 0 0 var(--space-sm);
  }

  .services-responsibility-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .services-responsibility-box li {
    font-size: 0.9375rem;
    color: var(--color-text-dark);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
  }

  .services-responsibility-box li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent-primary);
    font-weight: 600;
  }

  .services-responsibility-box li strong {
    color: var(--color-text-dark);
  }

  /* Exclusions box */

  .services-exclusions-box {
    margin-top: var(--space-xl);
    padding: var(--space-lg);
    background: var(--color-exclusions-bg);
    border: 1px solid #FDBA74 !important;
    border-left-width: 0 !important;
    position: relative;
    box-sizing: border-box;
  }

  .services-exclusions-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--color-accent-secondary);
  }

  .services-exclusions-title {
    font-size: 1.1875rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin: 0 0 var(--space-sm);
  }

  .services-exclusions-box .services-category-description {
    margin-bottom: var(--space-sm);
  }

  .services-exclusions-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .services-exclusions-list li {
    font-size: 0.9375rem;
    color: var(--color-text-dark);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
  }

  .services-exclusions-list li::before {
    content: '×';
    position: absolute;
    left: 0;
    color: var(--color-accent-secondary);
    font-weight: 700;
    font-size: 1.25rem;
  }

  .services-exclusions-note {
    margin-top: var(--space-sm);
    font-size: 0.875rem;
    color: var(--color-text-muted-dark);
    font-style: italic;
  }

  /* Footer CTA (dark) */

  .services-footer-cta {
    padding: var(--space-xxl) var(--space-md);
    background: var(--color-dark-primary);
    color: var(--color-text-light);
    text-align: center;
  }

  .services-footer-cta-title {
    font-size: 36px !important;
    font-weight: 500;
    text-align: center;
    margin: 0;
  }

  .services-footer-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-top: var(--space-xxl);
  }

  .services-footer-cta-buttons a {
    flex: 1 1 0%;
    min-width: var(--cta-btn-min-width);
    max-width: var(--cta-btn-max-width);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
  }

  .services-cta-button {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    height: 48px;
    padding: 0 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-text-light) !important;
    border-radius: 6px;
    background: transparent !important;
    color: var(--color-text-light);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    box-sizing: border-box;
  }

  .services-cta-button:hover {
    border: 2px solid var(--color-text-light) !important;
    background: var(--color-text-light) !important;
    color: #111F2C !important;
  }

  .services-cta-button-primary {
    background: var(--color-accent-secondary);
    border-color: var(--color-accent-secondary);
    color: var(--color-text-light);
  }

  .services-cta-button-primary:hover {
    background: var(--color-accent-secondary-hover);
    border-color: var(--color-accent-secondary-hover);
    color: var(--color-text-light);
  }

  /* Accent for strong text in scope/description */

  .services-page .services-category-description strong {
    color: var(--color-accent-primary) !important;
    font-weight: 600;
  }

  @media (max-width: 768px) {
    .services-service-header {
      grid-template-columns: 60px minmax(0, 1fr);
      gap: var(--space-md);
    }

    .services-service-number {
      font-size: 2.5rem;
      min-width: 60px;
    }

    .services-deliverables-grid {
      grid-template-columns: 1fr;
    }

    .services-sectors-grid {
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .services-engagement-grid {
      grid-template-columns: 1fr;
    }

    .services-engagement-card:nth-child(4) {
      grid-column: auto;
    }
  }

  /* ─────────────────────────────────────────────────────
     EXPERIENCE PAGE (German engineering layout – viewport as Services)
     ───────────────────────────────────────────────────── */

  .experience-page {
    background-color: #fff;
    color: var(--color-text-dark);
    overflow-x: hidden;
  }

  .experience-page .experience-page-container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.47rem;
    padding-right: 1.47rem;
    box-sizing: border-box;
  }

  @media (min-width: 640px) {
    .experience-page .experience-page-container {
      padding-left: 1.5rem;
      padding-right: 1.5rem;
    }
  }

  @media (min-width: 1024px) {
    .experience-page .experience-page-container {
      padding-left: 2rem;
      padding-right: 2rem;
      max-width: min(80rem, calc(1100px + 4rem));
    }
  }

  @media (min-width: 1280px) {
    .experience-page .experience-page-container {
      padding-left: 3rem;
      padding-right: 3rem;
      max-width: min(80rem, calc(1100px + 6rem));
    }
  }

  @media (min-width: 1920px) {
    .experience-page .experience-page-container {
      padding-left: 4rem;
      padding-right: 4rem;
      max-width: min(80rem, calc(1100px + 8rem));
    }
  }

  /* Page header (dark) */

  .experience-page-header {
    background: var(--color-dark-primary);
    color: var(--color-text-light);
    padding: var(--space-xxl) var(--space-md);
    position: relative;
    overflow: hidden;
  }

  .experience-page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.02) 2px,
      rgba(255, 255, 255, 0.02) 4px
    );
    pointer-events: none;
  }

  .experience-page-header-inner {
    position: relative;
    z-index: 1;
  }

  .experience-page-headline {
    font-size: clamp(2.25rem, 5vw, 3.5rem) !important;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 !important;
    padding-bottom: var(--space-xl) !important;
    line-height: 1.2;
    color: var(--color-text-light);
  }

  .experience-page-subtitle-lead {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 600;
    color: var(--color-text-light);
    margin: 0 0 var(--space-lg);
    line-height: 1.7;
  }

  .experience-page-header .experience-page-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(1rem, 2vw, 1.125rem);
    max-width: 800px;
    margin-bottom: var(--space-md);
    line-height: 1.7;
  }

  .experience-page-header .experience-page-subtitle strong {
    color: var(--color-text-light);
    font-weight: 600;
  }

  /* Project Types Bar */

  .experience-types-bar {
    background: var(--color-neutral-bg);
    border-top: 3px solid var(--color-accent-secondary);
    border-bottom: 1px solid var(--color-border-neutral);
    padding: var(--space-lg) var(--space-md);
  }

  .experience-types-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted-dark);
    margin-bottom: var(--space-md);
    display: block;
  }

  .experience-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-md);
  }

  .experience-type-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text-dark);
  }

  .experience-type-icon {
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid var(--color-border-neutral);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-text-dark);
  }

  .experience-type-icon svg {
    width: 24px;
    height: 24px;
  }

  /* Main content */

  .experience-main-content {
    padding: var(--space-xxl) 0;
    background-color: #FFFFFF;
  }

  .experience-section {
    margin-bottom: var(--space-xxl);
    padding-bottom: var(--space-xxl);
    border-bottom: 1px solid var(--color-border-neutral);
  }

  .experience-section:last-of-type {
    border-bottom: none;
  }

  /* Section 02: full viewport off-white gradient band with soft fade edges */

  .experience-section-offwhite {
    background-color: transparent;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    padding-top: var(--space-huge);
    box-sizing: border-box;
    position: relative;
    overflow: visible;
  }

  .experience-section-offwhite > * {
    position: relative;
    z-index: 1;
  }

  .experience-section-offwhite::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(to bottom,
      transparent 0%,
      #F3F3EF 8%,
      #F7F7F5 35%,
      #FFFFFF 65%,
      #F7F7F5 92%,
      transparent 100%
    );
  }

  .experience-header {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    align-items: start;
  }

  .experience-number {
    font-family: ui-monospace, 'Cascadia Code', 'JetBrains Mono', 'Courier New', monospace;
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--color-accent-primary);
    line-height: 1;
    opacity: 0.2;
    min-width: 80px;
  }

  .experience-header-content {
    display: block;
  }

  .experience-title {
    font-size: 36px !important;
    font-weight: 600;
    color: var(--color-text-dark);
    margin: 0;
    letter-spacing: -0.01em;
    line-height: 1.2;
  }

  .experience-description {
    max-width: 900px;
    margin-bottom: var(--space-xl);
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--color-text-dark);
  }

  .experience-description p {
    margin-bottom: var(--space-md);
  }

  .experience-description p:last-child {
    margin-bottom: 0;
  }

  .experience-description strong {
    font-weight: 600;
    color: var(--color-accent-primary);
  }

  .experience-section-label {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted-dark);
    margin: 0 0 var(--space-lg) 0 !important;
  }

  .experience-responsibilities-section {
    margin-bottom: var(--space-xl);
  }

  .experience-responsibilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-md);
  }

  .experience-page .experience-responsibility-block {
    background: var(--color-neutral-bg);
    border-left: 4px solid var(--color-accent-primary) !important;
    padding: var(--space-lg);
    box-sizing: border-box;
  }

  .experience-responsibility-block h4 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin: 0 0 var(--space-sm);
  }

  .experience-responsibility-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .experience-responsibility-block li {
    font-size: 0.9375rem;
    color: var(--color-text-dark);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
  }

  .experience-responsibility-block li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--color-accent-primary);
    font-size: 1rem;
    font-weight: 600;
  }

  .experience-environments-section {
    margin-top: var(--space-lg);
  }

  .experience-environments-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-sm);
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .experience-page .experience-environments-list li {
    font-size: 0.9375rem;
    color: var(--color-text-dark);
    padding: 0.75rem 1rem;
    padding-left: 2rem;
    background: var(--color-neutral-bg);
    position: relative;
    border-left: 3px solid var(--color-accent-primary) !important;
  }

  .experience-environments-list li::before {
    content: '●';
    position: absolute;
    left: 0.75rem;
    color: var(--color-accent-primary);
    font-size: 0.75rem;
  }

  .experience-platforms-section {
    margin-top: var(--space-lg);
  }

  .experience-platforms-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
  }

  .experience-page .experience-platform-badge {
    font-family: ui-monospace, 'Cascadia Code', 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.875rem;
    padding: 0.625rem 1.25rem;
    background: #fff !important;
    border: 2px solid var(--color-border-neutral) !important;
    color: var(--color-text-dark);
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-block;
  }

  .experience-page .experience-platform-badge:hover {
    border-color: var(--color-accent-primary) !important;
    background: var(--color-neutral-bg) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 153, 153, 0.15);
  }

  /* Confidentiality Notice */

  .experience-confidentiality-section {
    margin: var(--space-xxl) 0;
    padding: var(--space-xl) var(--space-md);
    background: linear-gradient(to bottom,
      transparent,
      var(--color-neutral-bg) 10%,
      var(--color-neutral-bg) 90%,
      transparent
    );
  }

  .experience-page .experience-confidentiality-box {
    background: #fff !important;
    border: 1px solid var(--color-border-neutral) !important;
    border-left: 4px solid var(--color-accent-secondary) !important;
    padding: var(--space-xl);
    text-align: center;
    box-sizing: border-box;
  }

  .experience-confidentiality-box p {
    font-size: 1rem;
    color: var(--color-text-dark);
    line-height: 1.7;
    margin-bottom: var(--space-md);
  }

  .experience-confidentiality-box p:last-child {
    margin-bottom: 0;
  }

  .experience-confidentiality-box strong {
    font-weight: 600;
    color: var(--color-accent-primary);
  }

  /* Footer CTA (dark; same pattern as Services) */

  .experience-footer-cta {
    padding: var(--space-xxl) var(--space-md);
    background: var(--color-dark-primary);
    color: var(--color-text-light);
    text-align: center;
  }

  .experience-footer-cta-title {
    font-size: 36px !important;
    font-weight: 500;
    text-align: center;
    margin: 0;
    padding-bottom: var(--space-xxl);
  }

  .experience-footer-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-top: 0;
  }

  .experience-footer-cta-buttons a {
    flex: 1 1 0%;
    min-width: var(--cta-btn-min-width);
    max-width: var(--cta-btn-max-width);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .experience-footer-cta-buttons .btn-hero-primary {
    font-size: 1rem !important;
    /* match View Compliance button */
    color: var(--color-text-light) !important;
    padding: 0 2rem;
  }

  .experience-footer-cta-buttons .btn-hero-primary:hover {
    background-color: #B45309 !important;
    color: var(--color-dark-primary) !important;
  }

  .experience-cta-button {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    height: 48px;
    padding: 0 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-text-light) !important;
    border-radius: 6px;
    background: transparent !important;
    color: var(--color-text-light);
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    box-sizing: border-box;
  }

  .experience-cta-button:hover {
    border: 2px solid var(--color-text-light) !important;
    background: var(--color-text-light) !important;
    color: #111F2C !important;
  }

  @media (max-width: 768px) {
    .experience-header {
      grid-template-columns: 60px minmax(0, 1fr);
      gap: var(--space-md);
    }

    .experience-number {
      font-size: 2.5rem;
      min-width: 60px;
    }

    .experience-responsibilities-grid {
      grid-template-columns: 1fr;
    }

    .experience-types-grid {
      grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .experience-environments-list {
      grid-template-columns: 1fr;
    }
  }

  /* ─────────────────────────────────────────────────────
     ABOUT PAGE (Redesigned – viewport as Services/Experience)
     ───────────────────────────────────────────────────── */

  .about-page {
    background-color: #fff;
    color: var(--color-text-dark);
    overflow-x: visible;
    /* allow section 02 gradient to bleed viewport-wide */
  }

  .about-page .about-page-container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.47rem;
    padding-right: 1.47rem;
    box-sizing: border-box;
  }

  @media (min-width: 640px) {
    .about-page .about-page-container {
      padding-left: 1.5rem;
      padding-right: 1.5rem;
    }
  }

  @media (min-width: 1024px) {
    .about-page .about-page-container {
      padding-left: 2rem;
      padding-right: 2rem;
      max-width: min(80rem, calc(1100px + 4rem));
    }
  }

  @media (min-width: 1280px) {
    .about-page .about-page-container {
      padding-left: 3rem;
      padding-right: 3rem;
      max-width: min(80rem, calc(1100px + 6rem));
    }
  }

  @media (min-width: 1920px) {
    .about-page .about-page-container {
      padding-left: 4rem;
      padding-right: 4rem;
      max-width: min(80rem, calc(1100px + 8rem));
    }
  }

  /* SECTION 1 — Hero (2-col desktop: photo left, content right) */

  .about-hero {
    padding: var(--space-huge) 0 var(--space-xxl);
    background: #FFFFFF;
  }

  /* Align with header safe margin (same as .site-container) so text doesn’t extend past “Contact” */

  .about-page .about-hero-inner,
  .about-page .site-container {
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.47rem;
    padding-right: 1.47rem;
  }

  /* Hero (dark gradient, photo left, content right) */

  .about-page-hero {
    background: var(--color-dark-primary);
    position: relative;
    overflow: hidden;
    padding: var(--space-xxl) var(--space-md);
  }

  .about-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.02) 2px,
      rgba(255, 255, 255, 0.02) 4px
    );
    pointer-events: none;
  }

  .about-page-hero .about-page-container {
    position: relative;
    z-index: 1;
  }

  .about-hero-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: var(--space-xxl);
    align-items: start;
  }

  .about-hero-left {
    order: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .about-hero-subtext-row {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: var(--space-xl);
    margin-bottom: 0;
  }

  .about-hero-photo-wrap {
    order: 0;
  }

  .about-hero-photo {
    width: 100%;
    height: auto;
    border: 3px solid var(--color-accent-primary);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  }

  .about-hero-content {
    order: 2;
    color: var(--color-text-light);
  }

  .about-hero-headline {
    font-size: clamp(2.25rem, 5vw, 3.5rem) !important;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0 0 var(--space-md);
    color: var(--color-text-light);
  }

  .about-hero-subtext {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.7;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
  }

  .about-hero-subtext strong {
    font-weight: 600;
    color: var(--color-text-light);
  }

  .about-hero-grid:not(:has(.about-hero-photo-wrap)) .about-hero-content {
    max-width: 720px;
  }

  .about-hero-grid:not(:has(.about-hero-photo-wrap)) .about-hero-subtext-row {
    grid-row: 2;
  }

  /* Focus bar */

  .about-focus-bar {
    background: var(--color-neutral-bg);
    border-top: 3px solid var(--color-accent-secondary);
    border-bottom: 1px solid var(--color-border-neutral);
    padding: var(--space-lg) var(--space-md);
  }

  .about-focus-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted-dark);
    margin-bottom: var(--space-md);
    display: block;
  }

  .about-focus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
  }

  .about-focus-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text-dark);
  }

  .about-focus-icon {
    width: 40px;
    height: 40px;
    background: #fff;
    border: 1px solid var(--color-border-neutral);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .about-focus-icon svg {
    width: 24px;
    height: 24px;
  }

  /* Intro (centered) */

  .about-intro-section {
    margin: var(--space-xxl) 0;
    padding: 0 var(--space-md);
  }

  .about-intro-inner {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .about-intro-text {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    line-height: 1.7;
    color: var(--color-text-dark);
    margin: 0;
  }

  /* Main content */

  .about-main-content {
    padding: var(--space-xxl) 0;
    overflow-x: visible;
    /* allow section 02 gradient to extend viewport-wide */
  }

  .about-page .about-page-container {
    overflow-x: visible;
    /* allow section 02 gradient to extend left/right */
  }

  /* Section 02: viewport-wide grey gradient background (same as Compliance / Availability) */

  .about-page .about-section-gradient-bg {
    position: relative;
    overflow: visible !important;
    padding-top: 100px;
    padding-bottom: calc(100px + var(--space-xxl));
  }

  .about-page .about-section-gradient-bg > * {
    position: relative;
    z-index: 1;
  }

  .about-page .about-section-gradient-bg::before {
    content: '';
    display: block;
    position: absolute;
    z-index: 0;
    left: 50%;
    margin-left: -50vw;
    width: 100vw;
    top: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
      transparent 0%,
      #E8ECF1 8%,
      #F0F2F5 35%,
      #FFFFFF 65%,
      #F0F2F5 92%,
      transparent 100%
    );
  }

  .about-content-section {
    margin-bottom: var(--space-xxl);
    padding-bottom: var(--space-xxl);
    border-bottom: 1px solid var(--color-border-neutral);
  }

  .about-content-section:last-of-type {
    border-bottom: none;
  }

  .about-section-header {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    align-items: start;
  }

  .about-section-number {
    font-family: ui-monospace, 'Cascadia Code', 'JetBrains Mono', 'Courier New', monospace;
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--color-accent-primary);
    line-height: 1;
    opacity: 0.2;
    min-width: 80px;
  }

  .about-section-title {
    font-size: 36px !important;
    font-weight: 600;
    color: var(--color-text-dark);
    margin: 0;
    letter-spacing: -0.01em;
    line-height: 1.2;
  }

  .about-section-lead {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text-muted-dark);
    margin-top: 0;
    margin-bottom: var(--space-lg) !important;
  }

  .about-section-intro {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-dark);
    margin-top: 0;
    margin-bottom: var(--space-lg) !important;
  }

  .about-section-outro {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-dark);
    font-style: italic;
    margin-top: var(--space-md);
  }

  .about-approach-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-lg) !important;
    margin-bottom: var(--space-lg);
  }

  .about-page .about-approach-block {
    background: var(--color-neutral-bg);
    border-left: 4px solid var(--color-accent-primary) !important;
    padding: var(--space-lg);
    box-sizing: border-box;
  }

  .about-approach-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .about-approach-block li {
    font-size: 0.9375rem;
    color: var(--color-text-dark);
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
  }

  .about-approach-block li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--color-accent-primary);
    font-size: 1rem;
    font-weight: 600;
  }

  .about-industry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
  }

  /* Center the fourth card (row 2) in the middle column */

  .about-industry-grid .about-industry-block:nth-child(4) {
    grid-column: 2;
  }

  .about-page .about-industry-block {
    background: var(--color-neutral-bg);
    border-left: 4px solid var(--color-accent-primary) !important;
    padding: var(--space-lg);
    box-sizing: border-box;
  }

  .about-industry-block h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin: 0 0 var(--space-sm);
  }

  .about-industry-block p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-text-dark);
    margin: 0;
  }

  .about-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
  }

  .about-page .about-tech-tag {
    font-family: ui-monospace, 'Cascadia Code', 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.875rem;
    padding: 0.625rem 1.25rem;
    background: #fff !important;
    border: 2px solid var(--color-border-neutral) !important;
    color: var(--color-text-dark);
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-block;
  }

  .about-page .about-tech-tag:hover {
    border-color: var(--color-accent-primary) !important;
    background: var(--color-neutral-bg) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 153, 153, 0.15);
  }

  /* Section 04: Working Engagement – layout as per reference (centered column, left-aligned text, list block with teal stripe) */

  .about-engagement-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    display: flex;
    flex-direction: column;
  }

  .about-engagement-content p {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--color-text-dark);
    margin-bottom: var(--space-md);
  }

  .about-engagement-content p:last-child {
    margin-bottom: 0;
  }

  .about-engagement-list-intro {
    margin-bottom: var(--space-lg) !important;
  }

  .about-page .about-engagement-list {
    background: var(--color-neutral-bg) !important;
    border-left: 4px solid var(--color-accent-primary) !important;
    padding: var(--space-lg) var(--space-lg) var(--space-lg) var(--space-xl) !important;
    margin: 0 0 var(--space-lg) 0 !important;
    list-style: none;
    box-sizing: border-box;
  }

  .about-page .about-engagement-list li {
    font-size: 0.9375rem;
    color: var(--color-text-dark);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
  }

  .about-page .about-engagement-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--color-accent-primary);
    font-size: 1rem;
    font-weight: 600;
  }

  .about-footer-cta {
    padding: var(--space-xxl) var(--space-md);
    background: var(--color-dark-primary);
    color: var(--color-text-light);
    text-align: center;
  }

  .about-footer-cta .about-page-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-footer-cta-text {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    line-height: 1.6;
    color: var(--color-text-light);
    display: block;
    width: 100%;
    max-width: 48ch;
    margin: 0 auto;
    padding-bottom: var(--space-xxl);
    text-align: center;
  }

  .about-footer-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-top: 0;
  }

  .about-footer-cta-buttons a {
    flex: 1 1 0%;
    min-width: var(--cta-btn-min-width);
    max-width: var(--cta-btn-max-width);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
  }

  .about-cta-btn {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    height: 48px;
    padding: 0 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: nowrap;
  }

  /* Match Experience page footer CTA: secondary = white border, transparent, hover fill */

  .about-cta-btn-secondary {
    border: 2px solid var(--color-text-light) !important;
    background: transparent !important;
    color: var(--color-text-light);
  }

  .about-cta-btn-secondary:hover {
    border: 2px solid var(--color-text-light) !important;
    background: var(--color-text-light) !important;
    color: #111F2C !important;
  }

  /* Match Experience page footer CTA: primary = orange (btn-hero-primary) */

  .about-cta-btn-primary {
    background-color: #D97706;
    border: none;
    color: #111827;
    transition: background-color 0.2s, transform 0.2s;
  }

  .about-cta-btn-primary:hover {
    background-color: #B45309;
    transform: translateY(-1px);
  }

  .about-footer-cta .about-cta-btn-primary:hover {
    color: var(--color-dark-primary) !important;
  }

  @media (max-width: 900px) {
    .about-hero-grid {
      grid-template-columns: 1fr;
      gap: var(--space-lg);
    }

    .about-hero-photo {
      max-width: 400px;
      margin: 0 auto;
      display: block;
    }

    .about-hero-left {
      order: 0;
    }

    .about-hero-content {
      order: 1;
    }
  }

  @media (max-width: 768px) {
    .about-section-header {
      grid-template-columns: 60px 1fr;
      gap: var(--space-md);
    }

    .about-section-number {
      font-size: 2.5rem;
      min-width: 60px;
    }

    .about-approach-grid,
    .about-industry-grid {
      grid-template-columns: 1fr;
    }

    .about-industry-grid .about-industry-block:nth-child(4) {
      grid-column: auto;
    }

    .about-focus-grid {
      grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
  }

  /* ─────────────────────────────────────────────────────
     COMPLIANCE PAGE (German engineering layout – compliance-redesigned.html)
     ───────────────────────────────────────────────────── */

  .compliance-page {
    background-color: var(--color-light-primary);
    color: var(--color-text-dark);
    overflow-x: visible;
    /* allow section 03 gradient to bleed to viewport edges */
  }

  .compliance-page .compliance-page-container {
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.47rem;
    padding-right: 1.47rem;
    overflow-x: visible;
    /* allow section 03 gradient to extend left/right to viewport */
  }

  @media (min-width: 640px) {
    .compliance-page .compliance-page-container {
      padding-left: 1.5rem;
      padding-right: 1.5rem;
    }
  }

  @media (min-width: 1024px) {
    .compliance-page .compliance-page-container {
      padding-left: 2rem;
      padding-right: 2rem;
      max-width: min(80rem, calc(1100px + 4rem));
    }
  }

  @media (min-width: 1280px) {
    .compliance-page .compliance-page-container {
      padding-left: 3rem;
      padding-right: 3rem;
      max-width: min(80rem, calc(1100px + 6rem));
    }
  }

  @media (min-width: 1920px) {
    .compliance-page .compliance-page-container {
      padding-left: 4rem;
      padding-right: 4rem;
      max-width: min(80rem, calc(1100px + 8rem));
    }
  }

  /* 1. Page Header (dark gradient – same top padding as Services/Experience/Availability) */

  .compliance-header {
    background: var(--color-dark-primary);
    color: var(--color-text-light);
    padding: var(--space-xxl) var(--space-md);
    position: relative;
    overflow: hidden;
  }

  .compliance-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.02) 2px,
      rgba(255, 255, 255, 0.02) 4px
    );
    pointer-events: none;
  }

  .compliance-header .compliance-page-container {
    position: relative;
    z-index: 1;
  }

  .compliance-headline {
    font-size: clamp(2.25rem, 5vw, 3.5rem) !important;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 !important;
    padding-bottom: var(--space-xl) !important;
    line-height: 1.2;
    color: var(--color-text-light);
  }

  /* Ref: page-subtitle margin-bottom var(--space-md), font clamp(1rem, 2vw, 1.125rem) */

  .compliance-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 400;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 0 var(--space-md);
    line-height: 1.7;
    color: var(--color-text-light);
  }

  .compliance-subtitle strong {
    font-weight: 600;
  }

  /* 2. Certifications Bar – ref padding var(--space-lg) var(--space-md) */

  .compliance-certifications-bar {
    background: var(--color-neutral-50, #F9FAFB);
    border-top: 3px solid var(--color-orange, #F07A28);
    border-bottom: 1px solid var(--color-neutral-300);
    padding: var(--space-lg) var(--space-md);
  }

  .compliance-certifications-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-neutral-600, #6B7280);
    display: block;
    margin-bottom: var(--space-md);
  }

  .compliance-certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-md);
  }

  .compliance-certification-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text-dark);
  }

  /* Certification checkbox: white fill, teal border + tick (override Tailwind base border-width: 0) */

  .compliance-certifications-bar .compliance-certification-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    background: #fff;
    border-width: 2px !important;
    border-style: solid !important;
    border-color: #009999 !important;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    font-weight: 700;
    color: #009999;
  }

  /* 3. Main content – ref padding var(--space-2xl) = 6rem vertical; container has horizontal padding */

  .compliance-main-content {
    padding: var(--space-huge) 0;
    background: #fff;
    overflow-x: visible;
    /* allow section 03 gradient ::before to extend viewport-wide */
  }

  /* Sections 03 & 06: viewport-wide grey gradient background (no layout change) */

  .compliance-page .compliance-section-gradient-bg {
    position: relative;
    overflow: visible !important;
    /* force: allow ::before to bleed viewport-wide (beat global section overflow:hidden) */
    padding-top: 100px;
    padding-bottom: calc(100px + var(--space-huge));
  }

  /* Keep section content above the gradient layer */

  .compliance-page .compliance-section-gradient-bg > * {
    position: relative;
    z-index: 1;
  }

  /* Viewport-wide background only (::before); full-bleed so it crosses entire page left–right */

  .compliance-page .compliance-section-gradient-bg::before {
    content: '';
    display: block;
    position: absolute;
    z-index: 0;
    left: 50%;
    margin-left: -50vw;
    width: 100vw;
    top: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
      transparent 0%,
      #E8ECF1 8%,
      #F0F2F5 35%,
      #FFFFFF 65%,
      #F0F2F5 92%,
      transparent 100%
    );
  }

  /* Off-white variant for HMI Section 05 (same full-bleed effect, warmer palette) */

  .compliance-page .compliance-section-offwhite-gradient-bg::before {
    background: linear-gradient(to bottom,
      transparent 0%,
      #F3F3EF 8%,
      #F7F7F5 35%,
      #FFFFFF 65%,
      #F7F7F5 92%,
      transparent 100%
    );
  }

  /* Ref: content-section margin-bottom + padding-bottom var(--space-2xl) = 6rem each */

  .compliance-content-section {
    margin-bottom: var(--space-huge);
    padding-bottom: var(--space-huge);
    border-bottom: 1px solid var(--color-neutral-300);
  }

  .compliance-content-section:last-child {
    border-bottom: none;
  }

  /* Section header – ref gap var(--space-lg)=2.5rem, margin-bottom var(--space-xl)=4rem */

  .compliance-section-header {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2.5rem;
    margin-bottom: var(--space-xxl);
    align-items: start;
  }

  .compliance-section-number {
    font-family: ui-monospace, 'Cascadia Code', 'JetBrains Mono', 'Courier New', monospace;
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--color-accent-primary);
    line-height: 1;
    opacity: 0.2;
  }

  .compliance-section-header-content {
    min-width: 0;
  }

  /* Ref: section-header-content h2 clamp(1.75rem, 3vw, 2.5rem), margin-bottom var(--space-xs) */

  .compliance-section-title {
    font-size: 36px !important;
    font-weight: 600;
    color: var(--color-text-dark);
    margin: 0 0 var(--space-xs);
    letter-spacing: -0.01em;
    line-height: 1.2;
  }

  .compliance-section-description {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--color-text-dark);
    margin: 0 0 var(--space-md);
  }

  .compliance-section-description strong {
    font-weight: 600;
    color: var(--color-accent-primary);
  }

  /* Gap below inlead/lead description (match Availability) */

  .compliance-description-lead {
    margin-bottom: var(--space-lg) !important;
  }

  /* Gap below intro line before list/categories/grid (e.g. "Standards... include:", "Typical site compliance includes:") */

  .compliance-description-before-block {
    margin-bottom: var(--space-lg) !important;
  }

  .compliance-description-gap-above {
    margin-top: var(--space-lg) !important;
  }

  /* Gap above paragraph that follows an info list (ref: list has margin space-lg 0; no extra on paragraph) */

  .compliance-info-list + .compliance-section-description {
    margin-top: var(--space-lg) !important;
  }

  .compliance-link {
    color: var(--color-accent-primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
  }

  .compliance-link:hover {
    border-bottom-color: var(--color-accent-primary);
  }

  /* Info list – card: light grey, green stripe, green ▸; force padding (Tailwind preflight resets ul padding) */

  .compliance-page .compliance-info-list {
    background: #F5F7FA !important;
    border-left: 4px solid #009999 !important;
    padding: var(--space-lg) var(--space-lg) var(--space-lg) 2.25rem !important;
    margin: var(--space-lg) 0;
    list-style: none;
  }

  .compliance-page .compliance-info-list li {
    font-size: 0.9375rem;
    color: var(--color-text-dark);
    padding: 0.625rem 0 0.625rem 1.5rem !important;
    position: relative;
    line-height: 1.6;
  }

  /* Bullet offset from card left: list padding pushes li right; bullet at 0 is already inset */

  .compliance-page .compliance-info-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #009999 !important;
    font-size: 1rem;
    font-weight: 600;
  }

  /* Standards categories – gap between title and grid (margin-top on grid ensures gap even if h3 reset) */

  .compliance-standards-category {
    margin-bottom: var(--space-xl);
  }

  .compliance-standards-category:last-child {
    margin-bottom: 0;
  }

  .compliance-page .compliance-standards-category .compliance-standards-grid {
    margin-top: var(--space-lg);
  }

  /* Section 02: category titles – gap below heading (override global h3 margin: 0), teal accent #009999 */

  .compliance-page .compliance-category-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: var(--space-lg) !important;
    padding-left: var(--space-sm);
    border-left: 4px solid #009999 !important;
  }

  .compliance-standards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
  }

  .compliance-standard-card {
    position: relative;
    background: var(--color-neutral-bg, #F5F7FA);
    padding: var(--space-md);
  }

  .compliance-standard-card::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: var(--color-accent-primary, #009999);
    border-radius: 0 2px 2px 0;
  }

  .compliance-standard-code {
    font-family: ui-monospace, 'Cascadia Code', 'JetBrains Mono', 'Courier New', monospace;
    font-size: 1rem;
    font-weight: 600;
    color: #009999;
    margin-bottom: var(--space-xs);
  }

  .compliance-standard-description {
    font-size: 0.9375rem;
    color: var(--color-text-dark);
    line-height: 1.6;
  }

  .compliance-standard-meta {
    font-size: 0.8125rem;
    color: var(--color-neutral-600, #6B7280);
    margin-top: var(--space-xs);
    font-style: italic;
  }

  .compliance-project-example {
    background: #F5F7FA;
    border-left: 4px solid #009999;
    padding: var(--space-lg);
    margin: var(--space-lg) 0;
  }

  .compliance-project-header {
    margin-bottom: var(--space-sm);
  }

  .compliance-project-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-neutral-600, #6B7280);
    display: block;
    margin-bottom: var(--space-xs);
  }

  .compliance-project-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin: 0;
  }

  .compliance-project-description {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-text-dark);
    margin: 0;
  }

  .compliance-project-description em {
    color: var(--color-neutral-600, #6B7280);
    font-style: italic;
  }

  /* Phase cards – teal TOP border (not left) */

  .compliance-phases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    margin: var(--space-lg) 0;
  }

  .compliance-phase-card {
    position: relative;
    background: var(--color-neutral-bg, #F5F7FA);
    padding: var(--space-md);
    text-align: center;
  }

  .compliance-phase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: var(--space-sm, 0.75rem);
    right: var(--space-sm, 0.75rem);
    height: 3px;
    background: var(--color-accent-primary);
  }

  .compliance-phase-code {
    font-family: ui-monospace, 'Cascadia Code', 'JetBrains Mono', 'Courier New', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent-primary);
    margin-bottom: var(--space-xs);
  }

  .compliance-phase-name {
    font-size: 0.875rem;
    color: var(--color-text-dark);
    font-weight: 500;
    margin-bottom: var(--space-xs);
  }

  .compliance-phase-note {
    font-size: 0.8125rem;
    color: var(--color-neutral-600, #6B7280);
    font-style: italic;
  }

  /* Insurance cards – green left stripe + checkmark */

  .compliance-insurance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    margin: var(--space-lg) 0;
  }

  .compliance-insurance-card {
    position: relative;
    background: var(--color-neutral-bg, #F5F7FA);
    padding: var(--space-lg);
  }

  /* Left stripe */

  .compliance-insurance-card::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: var(--color-accent-primary, #009999);
    border-radius: 0 2px 2px 0;
  }

  /* Checkmark */

  .compliance-insurance-card::after {
    content: '✓';
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    font-size: 1.5rem;
    color: var(--color-accent-primary, #009999);
    font-weight: 700;
  }

  .compliance-insurance-type {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: var(--space-xs);
  }

  .compliance-insurance-note {
    font-size: 0.875rem;
    color: var(--color-neutral-600, #6B7280);
    font-style: italic;
  }

  /* Business details box – teal left stripe */

  .compliance-business-details-box {
    position: relative;
    background: var(--color-neutral-bg, #F5F7FA);
    border: 1px solid var(--color-neutral-300);
    border-left: none;
    padding: var(--space-xl);
    margin: var(--space-lg) 0;
  }

  .compliance-business-details-box::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: var(--color-accent-primary, #009999);
    border-radius: 2px 0 0 2px;
  }

  .compliance-business-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
  }

  .compliance-detail-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
  }

  .compliance-detail-label {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-neutral-600, #6B7280);
  }

  .compliance-detail-value {
    font-family: ui-monospace, 'Cascadia Code', 'JetBrains Mono', 'Courier New', monospace;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-text-dark);
  }

  .compliance-detail-value a {
    color: var(--color-accent-primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
  }

  .compliance-detail-value a:hover {
    border-bottom-color: var(--color-accent-primary);
  }

  /* Footer CTA (dark; same pattern as Availability/Experience) */

  .compliance-footer-cta {
    padding: var(--space-xxl) var(--space-md);
    background: var(--color-dark-primary);
    color: var(--color-text-light);
    text-align: center;
  }

  .compliance-footer-cta .compliance-page-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .compliance-footer-cta-title {
    font-size: clamp(1.5rem, 3vw, 2rem) !important;
    font-weight: 500;
    margin: 0 0 var(--space-lg);
  }

  .compliance-footer-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
  }

  .compliance-footer-cta-buttons a {
    flex: 1 1 0%;
    min-width: var(--cta-btn-min-width);
    max-width: var(--cta-btn-max-width);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
  }

  .compliance-footer-cta .availability-cta-btn-primary:hover {
    color: var(--color-dark-primary) !important;
  }

  .compliance-cta-btn {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    height: 48px;
    padding: 0 2rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    box-sizing: border-box;
  }

  .compliance-cta-btn-primary {
    background: var(--color-orange, #F07A28);
    border: 2px solid var(--color-orange, #F07A28);
    color: #fff;
  }

  .compliance-cta-btn-primary:hover {
    background: #FF8C42;
    border-color: #FF8C42;
    color: #fff;
  }

  .compliance-cta-btn-secondary {
    border: 2px solid var(--color-text-light);
    background: transparent;
    color: var(--color-text-light);
  }

  .compliance-cta-btn-secondary:hover {
    background: var(--color-text-light);
    color: var(--color-dark-primary);
  }

  /* Responsive */

  @media (max-width: 768px) {
    .compliance-section-header {
      grid-template-columns: 60px 1fr;
      gap: var(--space-md);
    }

    .compliance-section-number {
      font-size: 2.5rem;
    }

    .compliance-standards-grid,
    .compliance-phases-grid,
    .compliance-insurance-grid {
      grid-template-columns: 1fr;
    }

    .compliance-certifications-grid {
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .compliance-business-details-grid {
      grid-template-columns: 1fr;
    }
  }

  /* Compliance competency card removed – credentials moved to certifications bar. */

  /* Compensate the card position so it stays in place – match experience cards: visible border, left accent on hover only */

  .compliance-page .compliance-competency-card {
    background-color: #111F2C;
    border: 1px solid #1F2C38;
    border-left: 3px solid transparent;
    border-radius: 20px;
    padding: 32px 28px;
    margin-top: 0;
    margin-bottom: 48px;
    margin-right: -100px;
    /* Keep existing right offset */
    max-width: 360px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.1);
    float: right;
    margin-left: 48px;
    position: relative;
    z-index: 2;
    /* Above following content so hover works (parent transform creates stacking context) */
    transform: translateX(100px);
    /* Move card back right to compensate for parent movement */
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out, border-color 0.3s ease-out;
  }

  .compliance-page .compliance-competency-card:hover {
    transform: translateX(100px) scale(1.02) translateY(-4px);
    /* Even shadow on all sides (no large y-offset so it’s not only at the bottom) */
    box-shadow: 0 0 25px -5px rgba(0, 0, 0, 0.25), 0 0 12px -4px rgba(0, 0, 0, 0.15);
    border-color: #475569;
    border-left-color: #009999;
  }

  .compliance-page .compliance-competency-card:focus-within {
    outline: 2px solid #009999;
    outline-offset: 2px;
  }

  @media (prefers-reduced-motion: reduce) {
    .compliance-page .compliance-competency-card,
  .compliance-page .compliance-competency-card:hover {
      transition: none;
    }

    .compliance-page .compliance-competency-card:hover {
      transform: translateX(100px);
    }
  }

  /* Micro rule divider - brand #009999 */

  .competency-card-divider {
    width: 28px;
    height: 1px;
    background-color: #009999;
    margin-bottom: 12px;
  }

  /* Label: "Competency & Site Readiness" */

  .competency-card-label {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: rgba(247, 247, 245, 0.55);
    /* Bone white muted - matches hero */
    margin: 0 0 14px 0;
    line-height: 1.4;
    text-transform: none;
    /* Remove uppercase */
  }

  /* Vertical list */

  .competency-card-list {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.8;
    color: rgba(247, 247, 245, 0.85);
    /* Light text - matches hero */
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 32ch;
  }

  .competency-card-list li {
    margin-bottom: 0;
    padding: 0;
    padding-left: 1.2em;
    /* Space for bullet */
    position: relative;
  }

  /* Add bullet points on the left */

  .competency-card-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: rgba(247, 247, 245, 0.5);
    /* Muted color for bullets - matches hero */
    font-weight: 400;
  }

  /* Remove strong styling - not needed for dark theme */

  .competency-card-list li strong {
    color: inherit;
    font-weight: 400;
  }

  /* Make the last section container relative so card can float within it */

  .compliance-section-last {
    position: relative;
    overflow: visible;
  }

  .compliance-section-last .compliance-content {
    overflow: visible;
  }

  /* Responsive adjustments */

  @media (max-width: 1024px) {
    .compliance-section-last .compliance-content {
      transform: none;
      /* Reset text shift on tablet/mobile */
    }

    .compliance-page .compliance-competency-card {
      float: none;
      max-width: 100%;
      margin-left: 0;
      margin-right: 0;
      margin-top: 32px;
      padding: 28px 24px;
      border-radius: 16px;
      transform: none;
      /* Reset card shift on tablet/mobile */
    }

    .compliance-page .compliance-competency-card:hover {
      transform: scale(1.02) translateY(-4px);
    }
  }

  @media (max-width: 1024px) and (prefers-reduced-motion: reduce) {
    .compliance-page .compliance-competency-card:hover {
      transform: none;
    }
  }

  @media (max-width: 768px) {
    .compliance-page .compliance-competency-card {
      margin-top: 24px;
      margin-bottom: 32px;
      padding: 24px 20px;
    }

    .competency-card-list {
      font-size: 14px;
    }
  }

  /* ─────────────────────────────────────────────────────
     AVAILABILITY PAGE (Redesigned – matches Experience/About layout)
     Status Bar only. Numbered sections 01–04. White main content.
     ───────────────────────────────────────────────────── */

  .availability-page {
    background-color: #fff;
    color: var(--color-text-dark);
    overflow-x: visible;
    /* allow section 02 gradient to bleed viewport-wide */
  }

  /* Same viewport / safe margin as Experience/About pages */

  .availability-page .availability-page-container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.47rem;
    padding-right: 1.47rem;
    box-sizing: border-box;
  }

  @media (min-width: 640px) {
    .availability-page .availability-page-container {
      padding-left: 1.5rem;
      padding-right: 1.5rem;
    }
  }

  @media (min-width: 1024px) {
    .availability-page .availability-page-container {
      padding-left: 2rem;
      padding-right: 2rem;
      max-width: min(80rem, calc(1100px + 4rem));
    }
  }

  @media (min-width: 1280px) {
    .availability-page .availability-page-container {
      padding-left: 3rem;
      padding-right: 3rem;
      max-width: min(80rem, calc(1100px + 6rem));
    }
  }

  @media (min-width: 1920px) {
    .availability-page .availability-page-container {
      padding-left: 4rem;
      padding-right: 4rem;
      max-width: min(80rem, calc(1100px + 8rem));
    }
  }

  /* 1. Page Header (dark gradient, no redundant "Availability" title) */

  .availability-header {
    background: var(--color-dark-primary);
    color: var(--color-text-light);
    padding: var(--space-xxl) var(--space-md);
    position: relative;
    overflow: hidden;
  }

  .availability-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.02) 2px,
      rgba(255, 255, 255, 0.02) 4px
    );
    pointer-events: none;
  }

  .availability-header .availability-page-container {
    position: relative;
    z-index: 1;
  }

  .availability-headline {
    font-size: clamp(2.25rem, 5vw, 3.5rem) !important;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 !important;
    padding-bottom: var(--space-xl) !important;
    line-height: 1.2;
    color: var(--color-text-light);
  }

  .availability-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 400;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 0 var(--space-md);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
  }

  .availability-subtitle strong {
    font-weight: 600;
    color: var(--color-text-light);
  }

  /* 2. Status Bar (green gradient, prominent – replaces types bar) */

  .availability-status-bar {
    background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
    /* Use box-shadow for borders – reliable display (avoids Tailwind preflight border resets) */
    box-shadow: inset 0 3px 0 0 #10B981, inset 0 -1px 0 0 #A7F3D0;
    padding: var(--space-xl) var(--space-md);
  }

  .availability-status-content {
    max-width: var(--container-max);
    margin: 0 auto;
    text-align: center;
  }

  .availability-status-indicator {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-sm);
  }

  .availability-status-dot {
    width: 16px;
    height: 16px;
    background: #10B981;
    border-radius: 50%;
    flex-shrink: 0;
    animation: availability-dot-pulse 2s ease-in-out infinite;
  }

  .availability-status-text {
    font-size: 32px !important;
    font-weight: 600;
    color: #065F46;
  }

  .availability-status-updated {
    font-size: 0.9375rem;
    color: #047857;
    font-weight: 500;
    margin: 0;
  }

  /* 3. Main content (white background) */

  .availability-main-content {
    padding: var(--space-xxl) 0;
    background-color: #fff;
    overflow-x: visible;
    /* allow section 02 gradient to extend viewport-wide */
  }

  .availability-page .availability-page-container {
    overflow-x: visible;
    /* allow section 02 gradient to extend left/right */
  }

  /* Section 02: viewport-wide grey gradient background (same as Compliance sections 03 & 06) */

  .availability-page .availability-section-gradient-bg {
    position: relative;
    overflow: visible !important;
    padding-top: 100px;
    padding-bottom: calc(100px + var(--space-xxl));
  }

  .availability-page .availability-section-gradient-bg > * {
    position: relative;
    z-index: 1;
  }

  .availability-page .availability-section-gradient-bg::before {
    content: '';
    display: block;
    position: absolute;
    z-index: 0;
    left: 50%;
    margin-left: -50vw;
    width: 100vw;
    top: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
      transparent 0%,
      #E8ECF1 8%,
      #F0F2F5 35%,
      #FFFFFF 65%,
      #F0F2F5 92%,
      transparent 100%
    );
  }

  .availability-content-section {
    margin-bottom: var(--space-xxl);
    padding-bottom: var(--space-xxl);
    border-bottom: 1px solid var(--color-border-neutral);
  }

  .availability-content-section:last-of-type {
    border-bottom: none;
  }

  .availability-section-header {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    align-items: start;
  }

  .availability-section-number {
    font-family: ui-monospace, 'Cascadia Code', 'JetBrains Mono', 'Courier New', monospace;
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--color-accent-primary);
    line-height: 1;
    opacity: 0.2;
    min-width: 80px;
  }

  .availability-section-title {
    font-size: 36px !important;
    font-weight: 600;
    color: var(--color-text-dark);
    margin: 0 !important;
    letter-spacing: -0.01em;
    line-height: 1.2;
  }

  .availability-section-description {
    max-width: 900px;
    margin: 0 0 var(--space-md);
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--color-text-dark);
  }

  /* Match About page "My approach includes:" gap */

  .availability-description-lead {
    margin-bottom: var(--space-lg) !important;
  }

  /* Same gap above description as above "Urgent commissioning..." (after table) */

  .availability-description-follows-block {
    margin-top: var(--space-lg) !important;
  }

  .availability-section-description strong {
    font-weight: 600;
    color: var(--color-accent-primary);
  }

  /* Timeline grid (Section 01) */

  .availability-timeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg) !important;
    margin-bottom: var(--space-lg);
  }

  .availability-timeline-item {
    position: relative;
    background: var(--color-neutral-bg);
    padding: var(--space-lg);
  }

  .availability-timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: var(--color-accent-primary, #009999);
    border-radius: 0 2px 2px 0;
  }

  .availability-timeline-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: var(--space-xs);
  }

  .availability-timeline-value {
    font-family: ui-monospace, 'Cascadia Code', 'JetBrains Mono', 'Courier New', monospace;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-accent-primary);
  }

  /* Engagement grid (Section 02) */

  .availability-engagement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg) !important;
    margin-bottom: var(--space-lg);
  }

  .availability-engagement-card {
    position: relative;
    background: var(--color-neutral-bg);
    padding: var(--space-lg);
  }

  .availability-engagement-card::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: var(--color-accent-primary, #009999);
    border-radius: 0 2px 2px 0;
  }

  .availability-engagement-card::after {
    content: '▸';
    position: absolute;
    top: var(--space-lg);
    left: var(--space-lg);
    color: var(--color-accent-primary, #009999);
    font-size: 1.25rem;
    font-weight: 600;
  }

  .availability-engagement-card p {
    padding-left: 2rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--color-text-dark);
    margin: 0;
  }

  /* Info list (Section 03) */

  .availability-info-list {
    position: relative;
    background: var(--color-neutral-bg);
    padding: var(--space-lg);
    padding-left: calc(4px + var(--space-lg)) !important;
    margin: var(--space-lg) 0;
    list-style: none;
  }

  .availability-info-list::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: var(--color-accent-primary, #009999);
    border-radius: 0 2px 2px 0;
  }

  .availability-info-list li {
    font-size: 0.9375rem;
    color: var(--color-text-dark);
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
  }

  .availability-info-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--color-accent-primary);
    font-size: 1rem;
    font-weight: 600;
  }

  /* Response table (Section 04) */

  .availability-response-table {
    display: grid;
    gap: var(--space-sm);
    margin-top: var(--space-lg) !important;
    margin-bottom: var(--space-lg);
  }

  .availability-response-row {
    position: relative;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: var(--space-md);
    background: var(--color-neutral-bg);
    padding: var(--space-md);
  }

  .availability-response-row::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 4px;
    background: var(--color-accent-primary, #009999);
    border-radius: 0 2px 2px 0;
  }

  .availability-response-label {
    font-weight: 600;
    color: var(--color-text-dark);
    font-size: 0.9375rem;
  }

  .availability-response-value {
    font-family: ui-monospace, 'Cascadia Code', 'JetBrains Mono', 'Courier New', monospace;
    color: var(--color-accent-primary);
    font-size: 0.9375rem;
    font-weight: 500;
  }

  /* 4. Footer CTA (dark; full Availability Confirmation text + buttons) */

  .availability-footer-cta {
    padding: var(--space-xxl) var(--space-md);
    background: var(--color-dark-primary);
    color: var(--color-text-light);
    text-align: center;
  }

  .availability-footer-cta .availability-page-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .availability-footer-cta-title {
    font-size: clamp(1.5rem, 3vw, 2rem) !important;
    font-weight: 500;
    margin: 0 0 var(--space-lg);
  }

  /* Match About page footer CTA: padding-bottom for gap before buttons */

  .availability-footer-cta-text {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    opacity: 0.6;
    max-width: 48ch;
    margin: 0 auto;
    padding-bottom: var(--space-xxl);
    text-align: center;
  }

  .availability-footer-cta-link {
    color: var(--color-accent-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
  }

  .availability-footer-cta-link:hover,
  .availability-footer-cta-link:focus {
    color: #00b3b3;
  }

  .availability-footer-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
  }

  .availability-footer-cta-buttons a {
    flex: 1 1 0%;
    min-width: var(--cta-btn-min-width);
    max-width: var(--cta-btn-max-width);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
  }

  .availability-footer-cta .availability-cta-btn-primary:hover {
    color: var(--color-dark-primary) !important;
  }

  .availability-cta-btn {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    height: 48px;
    padding: 0 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: nowrap;
  }

  /* Match About page: primary = amber/orange */

  .availability-cta-btn-primary {
    background-color: #D97706;
    border: none;
    color: #111827;
  }

  .availability-cta-btn-primary:hover {
    background-color: #B45309;
    transform: translateY(-1px);
  }

  /* Match About page: secondary = white border, transparent, hover fill */

  .availability-cta-btn-secondary {
    border: 2px solid var(--color-text-light) !important;
    background: transparent !important;
    color: var(--color-text-light) !important;
  }

  .availability-cta-btn-secondary:hover {
    border: 2px solid var(--color-text-light) !important;
    background: var(--color-text-light) !important;
    color: #111F2C !important;
  }

  /* Responsive */

  @media (max-width: 768px) {
    .availability-section-header {
      grid-template-columns: 60px minmax(0, 1fr);
      gap: var(--space-md);
    }

    .availability-section-number {
      font-size: 2.5rem;
      min-width: 60px;
    }

    .availability-timeline-grid,
    .availability-engagement-grid {
      grid-template-columns: 1fr;
    }

    .availability-response-row {
      grid-template-columns: 1fr;
      gap: var(--space-xs);
    }
  }

  /* ─────────────────────────────────────────────────────
   CONTACT PAGE REDESIGN (Option C – hybrid layout)
   ───────────────────────────────────────────────────── */

  .contact-page {
    color: var(--color-text, #1B2A38);
  }

  /* Page container: 1100px constraint (match compliance) */

  .contact-page .contact-page-container {
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.47rem;
    padding-right: 1.47rem;
  }

  @media (min-width: 640px) {
    .contact-page .contact-page-container {
      padding-left: 1.5rem;
      padding-right: 1.5rem;
    }
  }

  @media (min-width: 1024px) {
    .contact-page .contact-page-container {
      padding-left: 2rem;
      padding-right: 2rem;
      max-width: min(80rem, calc(1100px + 4rem));
    }
  }

  @media (min-width: 1280px) {
    .contact-page .contact-page-container {
      padding-left: 3rem;
      padding-right: 3rem;
      max-width: min(80rem, calc(1100px + 6rem));
    }
  }

  @media (min-width: 1920px) {
    .contact-page .contact-page-container {
      padding-left: 4rem;
      padding-right: 4rem;
      max-width: min(80rem, calc(1100px + 8rem));
    }
  }

  /* 1. Page Header (dark blue gradient) */

  .contact-page-header {
    background: var(--color-dark-primary);
    color: var(--color-text-light);
    padding: var(--space-xxl) var(--space-md);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 -3px 0 0 var(--color-accent-secondary, #F07A28);
  }

  /* Orange stripe below dark page headers (shared with Services, Experience, About, Compliance) */

  .services-page-header,
  .experience-page-header,
  .about-page-hero,
  .compliance-header {
    box-shadow: inset 0 -3px 0 0 var(--color-accent-secondary, #F07A28);
  }

  .contact-page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.02) 2px,
      rgba(255, 255, 255, 0.02) 4px
    );
    pointer-events: none;
  }

  .contact-page-header .contact-page-container {
    position: relative;
    z-index: 1;
  }

  .contact-page-headline {
    font-size: clamp(2.25rem, 5vw, 3.5rem) !important;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 !important;
    padding-bottom: var(--space-xl) !important;
    line-height: 1.2;
    color: var(--color-text-light, #f5f7fa);
  }

  .contact-page-subtitle {
    font-size: clamp(1rem, 2vw, 1.125rem);
    font-weight: 400;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 0 var(--space-md);
    line-height: 1.7;
    color: var(--color-text-light, #f5f7fa);
  }

  /* 2. Contact Methods Bar – same grey as Compliance certifications bar */

  .contact-methods-bar {
    background: var(--color-neutral-50, #F9FAFB);
    border-top: 3px solid var(--color-orange, #F07A28);
    border-bottom: 1px solid var(--color-neutral-300);
    padding: var(--space-lg) var(--space-md);
  }

  .contact-methods-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-neutral-600, #6B7280);
    display: block;
    margin-bottom: var(--space-md);
  }

  .contact-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-md);
  }

  .contact-method-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: var(--space-sm);
    color: var(--color-text, #1B2A38);
    text-decoration: none;
    border: 1px solid var(--color-neutral-300);
    background: var(--color-white, #fff);
    transition: all 0.2s ease;
  }

  .contact-method-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(240, 122, 40, 0.6);
    border-radius: 0 1px 1px 0;
  }

  .contact-page .contact-methods-bar .contact-method-item:hover,
  .contact-page .contact-methods-bar .contact-method-item:focus-visible {
    border-color: var(--color-accent-secondary, #F07A28) !important;
    box-shadow: inset 0 0 0 2px var(--color-accent-secondary, #F07A28);
    background: var(--color-neutral-50);
  }

  .contact-method-icon {
    width: 32px;
    height: 32px;
    background: var(--color-neutral-100);
    border: 1px solid var(--color-neutral-300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--color-teal);
    flex-shrink: 0;
    font-size: 0.875rem;
  }

  .contact-method-text {
    font-size: 0.9375rem;
    font-weight: 500;
  }

  /* Main content wrapper – white below grey bar, gap above form; extra bottom for gap before Footer CTA */

  .contact-page .contact-main-content {
    padding-top: 4rem;
    padding-bottom: var(--space-xxl);
    padding-left: 0;
    padding-right: 0;
    background: #fff;
  }

  /* Contact Form – full 1100px safe zone (Iconsys-style) */

  .contact-form-container {
    max-width: 1100px;
    margin: 0 auto var(--space-2xl);
    width: 100%;
  }

  .contact-form-message {
    margin-bottom: var(--space-md);
    padding: var(--space-md);
    border-radius: 4px;
    font-size: 0.9375rem;
    line-height: 1.5;
  }

  .contact-form-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #86efac;
  }

  .contact-form-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
  }

  .contact-form {
    display: flex;
    flex-direction: column;
  }

  .contact-form-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
  }

  .contact-form-field {
    display: flex;
    flex-direction: column;
    margin-bottom: var(--space-md);
  }

  .contact-form-grid-2col .contact-form-field {
    margin-bottom: 0;
  }

  /* Floating labels: label text inside field, moves up when focused or has value; same horizontal start as input text */

  .contact-form-field-floating {
    position: relative;
    --contact-field-inset: 1rem;
  }

  .contact-form-floating-label {
    display: block;
    position: relative;
    cursor: text;
  }

  .contact-form-floating-label-text {
    position: absolute;
    left: calc(var(--contact-field-inset) - 3px);
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9375rem;
    color: var(--color-neutral-600);
    pointer-events: none;
    transition: transform 0.2s ease, font-size 0.2s ease, color 0.2s ease;
    white-space: nowrap;
  }

  .contact-form-floating-label-textarea .contact-form-floating-label-text {
    top: 1.25rem;
    transform: none;
  }

  .contact-form-field-floating.has-value .contact-form-floating-label-text,
  .contact-form-field-floating.is-focused .contact-form-floating-label-text {
    transform: translateY(calc(-1rem - 7px));
    font-size: 0.625rem;
    color: var(--color-teal);
    opacity: 0.6;
  }

  .contact-form-field-floating.has-value .contact-form-floating-label-textarea .contact-form-floating-label-text,
  .contact-form-field-floating.is-focused .contact-form-floating-label-textarea .contact-form-floating-label-text {
    transform: translateY(calc(-0.75rem - 7px));
    font-size: 0.625rem;
    color: var(--color-teal);
    opacity: 0.6;
  }

  /* When browser autofills (value not always visible to JS), move label up via CSS */

  .contact-form-field-floating:has(.contact-form-input:-webkit-autofill) .contact-form-floating-label-text {
    transform: translateY(calc(-1rem - 7px));
    font-size: 0.625rem;
    color: var(--color-teal);
    opacity: 0.6;
  }

  .contact-form-field-floating:has(.contact-form-input:-webkit-autofill) .contact-form-floating-label-text,
  .contact-form-field-floating:has(.contact-form-input:autofill) .contact-form-floating-label-text {
    transform: translateY(calc(-1rem - 7px));
    font-size: 0.625rem;
    color: var(--color-teal);
    opacity: 0.6;
  }

  .contact-form-field-floating:has(.contact-form-textarea:-webkit-autofill) .contact-form-floating-label-textarea .contact-form-floating-label-text {
    transform: translateY(calc(-0.75rem - 7px));
    font-size: 0.625rem;
    color: var(--color-teal);
    opacity: 0.6;
  }

  .contact-form-field-floating:has(.contact-form-textarea:-webkit-autofill) .contact-form-floating-label-textarea .contact-form-floating-label-text,
  .contact-form-field-floating:has(.contact-form-textarea:autofill) .contact-form-floating-label-textarea .contact-form-floating-label-text {
    transform: translateY(calc(-0.75rem - 7px));
    font-size: 0.625rem;
    color: var(--color-teal);
    opacity: 0.6;
  }

  .contact-form-field-floating .contact-form-input,
  .contact-form-field-floating .contact-form-textarea {
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
  }

  .contact-form-field-floating .contact-form-input::-moz-placeholder, .contact-form-field-floating .contact-form-textarea::-moz-placeholder {
    opacity: 0;
  }

  .contact-form-field-floating .contact-form-input::placeholder,
  .contact-form-field-floating .contact-form-textarea::placeholder {
    opacity: 0;
  }

  /* Standalone utility: stronger red border for any input with .input-error */

  .input-error {
    border: 1.5px solid #ef4444 !important;
  }

  /* Input error border: stronger red + light red background */

  .contact-form-field-floating.is-invalid .contact-form-input,
  .contact-form-field-floating.is-invalid .contact-form-textarea,
  .contact-form-input.input-error,
  .contact-form-textarea.input-error {
    border: 1.5px solid #ef4444 !important;
    background-color: #fef2f2 !important;
    color: #b91c1c !important;
  }

  .contact-form-field-floating.is-invalid .contact-form-input:focus,
  .contact-form-field-floating.is-invalid .contact-form-textarea:focus {
    border-color: #dc2626 !important;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15) !important;
  }

  /* Error message: red text + icon (flex for icon + text) */

  .contact-form-field-error.error-message {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 6px;
    min-height: 0;
    overflow: hidden;
    max-height: 0;
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.2s ease, margin 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
  }

  .contact-form-field-error.error-message .error-message-icon {
    flex-shrink: 0;
    font-size: 1rem;
    line-height: 1;
  }

  .contact-form-field-error.error-message.is-visible {
    max-height: 5rem;
    margin-top: 6px;
    opacity: 1;
    visibility: visible;
    overflow: visible;
  }

  .contact-form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-xs);
    line-height: 1.5;
  }

  .contact-form-required {
    color: var(--color-orange, #F07A28);
  }

  .contact-form-optional {
    font-weight: 400;
    color: var(--color-neutral-600);
    font-size: 0.8125rem;
  }

  .contact-form-input,
  .contact-form-textarea {
    font-family: var(--font-sans, 'Inter', sans-serif);
    font-size: 0.9375rem;
    padding: 0.75rem 1rem;
    /* Padding-left so typed text starts at same horizontal position as floating label (inset minus border) */
    padding-left: calc(var(--contact-field-inset, 1rem) - 1px);
    border: 1px solid var(--color-neutral-300);
    border-radius: 8px;
    background: var(--color-white);
    color: var(--color-text);
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
  }

  .contact-form-input {
    min-height: 48px;
  }

  .contact-form-textarea {
    resize: vertical;
    min-height: 120px;
    border-radius: 8px;
  }

  /* Enquiry Summary: extra top padding so cursor/text start below label (after general padding rule so it wins) */

  .contact-form-field-floating .contact-form-textarea {
    padding-top: calc(0.75rem + 8px) !important;
  }

  .contact-form-container .contact-form-input:hover,
  .contact-form-container .contact-form-textarea:hover {
    border-color: rgba(240, 122, 40, 0.6) !important;
    box-shadow: none !important;
  }

  .contact-form-container .contact-form-input:focus,
  .contact-form-container .contact-form-textarea:focus,
  .contact-form-container .contact-form-input:focus-visible,
  .contact-form-container .contact-form-textarea:focus-visible {
    outline: none !important;
    border-color: var(--color-teal, #009999);
    box-shadow: 0 0 0 3px rgba(0, 153, 153, 0.1) !important;
  }

  .contact-form-input::-moz-placeholder, .contact-form-textarea::-moz-placeholder {
    color: #9CA3AF;
  }

  .contact-form-input::placeholder,
  .contact-form-textarea::placeholder {
    color: #9CA3AF;
  }

  /* Below message area (Enquiry Summary) with one standard gap */

  /* 24px below message area (Enquiry Summary) */

  .contact-form-field:has(.contact-form-textarea) {
    margin-bottom: 0;
  }

  /* One row: terms (left) + Submit button (right), 24px below message area; nothing below moves */

  .contact-form-terms-submit-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-top: 24px;
    margin-bottom: 0;
  }

  .contact-form-terms-submit-row .contact-form-checkbox-field {
    margin: 0;
    flex: 1;
    min-width: 0;
  }

  .contact-form-terms-submit-row .contact-form-submit {
    margin: 0;
    flex-shrink: 0;
  }

  .contact-form-checkbox-field {
    margin-top: 0;
    margin-bottom: 0;
  }

  .contact-form-checkbox-field.is-invalid .contact-form-checkbox {
    outline: 2px solid #dc2626;
    outline-offset: 2px;
  }

  .contact-form-checkbox-wrapper {
    display: flex;
    align-items: start;
    gap: var(--space-sm);
  }

  .contact-form-checkbox {
    margin-top: 0.25rem;
    flex-shrink: 0;
    accent-color: var(--color-teal);
  }

  .contact-form-checkbox-label {
    font-size: 12px;
    color: var(--color-text);
    line-height: 1.5;
    cursor: pointer;
  }

  .contact-form-container .contact-form-checkbox-label a {
    color: #0f766e !important;
    text-decoration: underline !important;
  }

  .contact-form-container .contact-form-checkbox-label a:hover {
    color: #0d5c57 !important;
    text-decoration: underline !important;
  }

  /* 24px below terms line */

  .contact-form-privacy-notice {
    font-size: 12px;
    color: #4b5563;
    line-height: 1.6;
    margin-top: 24px;
    margin-bottom: 0;
    padding: 0;
    margin-left: 0;
    /* Align with checkbox label text (checkbox width + gap) */
    padding-left: calc(1.25rem + var(--space-sm, 0.5rem));
  }

  .contact-form-container .contact-form-privacy-notice a {
    color: #0f766e !important;
    text-decoration: underline !important;
  }

  .contact-form-container .contact-form-privacy-notice a:hover {
    color: #0d5c57 !important;
    text-decoration: underline !important;
  }

  /* Scrollable Privacy & Data Handling box – 24px below short privacy notice */

  .contact-form-container .contact-form-privacy-detail-box {
    margin-top: 24px;
    margin-bottom: 128px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    height: 48px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: var(--space-xs) 1rem;
    background: #fff;
  }

  .contact-form-privacy-detail-content {
    font-size: 0.75rem;
    color: #111;
    line-height: 1.5;
  }

  .contact-form-privacy-detail-content strong {
    font-weight: 700;
    font-size: inherit;
  }

  .contact-form-privacy-detail-content p {
    margin: 0 0 0.35rem;
    font-size: inherit;
  }

  .contact-form-privacy-detail-content p:last-child {
    margin-bottom: 0;
  }

  .contact-form-container .contact-form-privacy-detail-box a {
    color: #0f766e !important;
    text-decoration: underline !important;
  }

  .contact-form-container .contact-form-privacy-detail-box a:hover {
    color: #0d5c57 !important;
    text-decoration: underline !important;
  }

  .contact-form-submit {
    display: flex;
    justify-content: flex-end;
  }

  /* Submit button = same look as Compliance footer orange CTA (Contact); !important to override resets */

  .contact-form-container .contact-form-submit .contact-form-button {
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 2rem !important;
    border-radius: 6px !important;
    border: none !important;
    background-color: #D97706 !important;
    color: #fff !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    -webkit-appearance: none !important;
       -moz-appearance: none !important;
            appearance: none !important;
  }

  .contact-form-container .contact-form-submit .contact-form-button:hover {
    background-color: #B45309 !important;
    border: none !important;
    color: #fff !important;
    transform: translateY(-1px);
  }

  .contact-form-button {
    font-family: var(--font-sans, 'Inter', sans-serif);
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border: 2px solid var(--color-orange, #F07A28);
    background: var(--color-orange);
    color: var(--color-white);
    cursor: pointer;
    transition: all 0.2s ease;
    -webkit-appearance: none;
       -moz-appearance: none;
            appearance: none;
  }

  .contact-form-button:hover {
    background: var(--color-orange-hover, #FF8C42);
    border-color: var(--color-orange-hover);
  }

  .contact-form-button:disabled,
  .contact-form-button.loading {
    opacity: 0.6;
    cursor: not-allowed;
  }

  .contact-form-button.loading {
    position: relative;
  }

  .contact-form-button.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: contact-button-spin 0.6s linear infinite;
    margin-left: 8px;
  }

  @keyframes contact-button-spin {
    to {
      transform: rotate(360deg);
    }
  }

  /* Engineering Enquiries (requirements) – above Service Coverage */

  .contact-requirements-section {
    margin: var(--space-2xl) 0;
    margin-bottom: 182px;
  }

  /* 01 Engineering Enquiries header (same style as Compliance 01 Professional Status) */

  .contact-requirements-section .contact-section-header {
    margin-bottom: var(--space-xl);
  }

  .contact-requirements-section .contact-section-number {
    color: var(--color-accent-primary);
    opacity: 0.2;
  }

  .contact-requirements-section .contact-section-title {
    font-size: 36px !important;
    font-weight: 600;
    color: var(--color-text-dark);
    margin: 0 0 var(--space-xs);
    letter-spacing: -0.01em;
    line-height: 1.2;
  }

  /* Enquiry cards: match Compliance page – 4px teal stripe, same padding/list style */

  .contact-requirements-section .contact-enquiry-card {
    background: #F5F7FA !important;
    border-left: 4px solid #009999 !important;
    box-shadow: none;
    padding: var(--space-lg) var(--space-lg) var(--space-lg) 2.25rem !important;
    margin-bottom: var(--space-lg);
    box-sizing: border-box;
  }

  .contact-requirements-section .contact-enquiry-card:last-child {
    margin-bottom: 0;
  }

  .contact-enquiry-card-heading {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin: 0 0 var(--space-sm);
    line-height: 1.5;
  }

  .contact-enquiry-card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-md);
  }

  .contact-enquiry-card-list li {
    font-size: 0.9375rem;
    color: var(--color-text-dark);
    padding: 0.625rem 0 0.625rem 1.5rem !important;
    position: relative;
    line-height: 1.6;
  }

  .contact-enquiry-card-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #009999 !important;
    font-weight: 600;
    font-size: 1rem;
  }

  /* Outro under each card (match About “This structured methodology…” style) */

  .contact-enquiry-card-outro {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text-dark);
    font-style: italic;
    margin-top: var(--space-md);
    margin-bottom: var(--space-lg);
  }

  .contact-requirements-section .contact-enquiry-card-outro:first-of-type {
    margin-bottom: var(--space-xxl) !important;
  }

  .contact-enquiry-card-description {
    font-size: 0.9375rem;
    color: var(--color-text);
    line-height: 1.7;
    margin: 0;
  }

  /* Service Coverage + Map – dark section (match past Contact page), green accent only */

  .contact-map-section {
    margin: 0;
  }

  .contact-map-section-dark {
    background: linear-gradient(135deg, var(--color-header-dark, #0A1628) 0%, #132236 100%);
    color: var(--color-white, #fff);
    padding: var(--space-xxl) 0;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: calc(50vw - 50%);
    padding-right: calc(50vw - 50%);
    box-sizing: border-box;
  }

  .contact-map-section-dark .contact-map-inner {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .contact-map-section-dark .contact-map-title {
    font-size: 36px !important;
    font-weight: 600;
    color: var(--color-white, #fff);
    text-align: center;
    margin: 0 0 1em !important;
    letter-spacing: -0.01em;
    line-height: 1.2;
    width: 100%;
  }

  .contact-map-section-dark .contact-map-intro {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-align: center !important;
    margin: 0 0 var(--space-2xl);
    line-height: 1.6;
    max-width: 56ch;
    width: 100%;
    box-sizing: border-box;
  }

  .contact-map-section-dark .contact-map-intro strong {
    color: var(--color-accent-primary, #009999);
    font-weight: 600;
  }

  .contact-map-section-dark .contact-map-embed {
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 380px;
    overflow: hidden;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-lg);
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    box-sizing: border-box;
  }

  .contact-map-section-dark .contact-map-embed iframe {
    width: 100%;
    height: 100%;
    display: block;
  }

  .contact-map-section-dark .contact-map-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-xs);
    margin-bottom: var(--space-2xl);
    width: 100%;
  }

  .contact-map-section-dark .contact-coverage-summary {
    width: 100%;
  }

  .contact-map-section-dark .contact-map-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-accent-primary, #009999);
    text-decoration: none;
    transition: color 0.2s;
  }

  .contact-map-section-dark .contact-map-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 1px;
    width: 0;
    background-color: currentColor;
    transition: width 0.3s ease;
  }

  /* Lighter orange on dark bg so it matches footer hover perceived brightness (#FF8C42 = accent-secondary-hover) */

  .contact-map-section-dark .contact-map-link:hover {
    color: #FF8C42 !important;
  }

  .contact-map-section-dark .contact-map-link:hover::after {
    width: 100%;
  }

  .contact-map-section-dark .contact-map-link-icon {
    flex-shrink: 0;
    stroke: currentColor;
    transition: transform 0.2s ease, stroke 0.2s ease;
  }

  .contact-map-section-dark .contact-map-link:hover .contact-map-link-icon {
    transform: translateX(4px);
    stroke: #FF8C42;
  }

  .contact-map-areas {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    line-height: 1.5;
  }

  .contact-coverage-summary {
    margin-top: var(--space-lg);
  }

  .contact-map-section-dark .contact-coverage-summary-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-white, #fff);
    margin: 0 0 1em !important;
    letter-spacing: -0.01em;
  }

  .contact-map-section-dark .contact-coverage-grid {
    display: grid;
    gap: var(--space-md);
    margin: 0;
  }

  .contact-map-section-dark .contact-coverage-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.06);
    border-left: 4px solid var(--color-accent-primary, #009999);
    border-radius: 0 6px 6px 0;
  }

  .contact-map-section-dark .contact-coverage-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-accent-primary, #009999);
  }

  .contact-map-section-dark .contact-coverage-value {
    font-size: 0.9375rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
  }

  .contact-map-section-dark .contact-coverage-value::before {
    content: '▸';
    color: var(--color-accent-primary, #009999);
    font-weight: 700;
    line-height: 1.2;
    transform: translateY(2px);
    flex: 0 0 auto;
  }

  @media (min-width: 768px) {
    .contact-map-section-dark .contact-coverage-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      align-items: stretch;
    }
  }

  /* Legacy/fallback map styles when not in dark section */

  .contact-section-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 var(--space-sm);
  }

  .contact-section-intro {
    font-size: 0.9375rem;
    color: var(--color-text);
    margin: 0 0 var(--space-sm);
    line-height: 1.5;
  }

  .contact-requirements-list {
    list-style: none;
    padding: var(--space-md) var(--space-lg);
    margin: var(--space-md) 0;
    background: var(--color-neutral-100);
    border-left: 4px solid var(--color-teal);
  }

  .contact-requirements-list li {
    font-size: 0.9375rem;
    color: var(--color-text);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
  }

  .contact-requirements-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--color-teal);
    font-weight: 600;
  }

  .contact-comm-notes-intro {
    margin-top: var(--space-lg);
  }

  .contact-section-description {
    font-size: 0.9375rem;
    color: var(--color-text);
    line-height: 1.7;
    margin: 0;
  }

  .contact-map-intro {
    font-size: 0.9375rem;
    color: var(--color-text);
    margin-bottom: var(--space-md);
    line-height: 1.6;
  }

  .contact-map-intro strong {
    font-weight: 600;
    color: var(--color-teal);
  }

  .contact-map-embed {
    width: 100%;
    height: 350px;
    border: 1px solid var(--color-neutral-300);
    margin-bottom: var(--space-md);
  }

  .contact-map-embed iframe {
    width: 100%;
    height: 100%;
  }

  .contact-coverage-grid {
    display: grid;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
  }

  .contact-coverage-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: var(--space-sm);
    background: var(--color-neutral-100);
    border-left: 3px solid var(--color-teal);
  }

  .contact-coverage-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-neutral-600);
  }

  .contact-coverage-value {
    font-size: 0.875rem;
    color: var(--color-text);
  }

  .contact-map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-teal);
    text-decoration: none;
    transition: opacity 0.2s;
  }

  .contact-map-link:hover {
    opacity: 0.8;
  }

  /* Business Details – numbered section; gap below cards via padding (stays white, no stripe) */

  .contact-business-details-section {
    margin-top: var(--space-xxl);
    padding: var(--space-2xl) 0 var(--space-xxl);
    border-top: 1px solid var(--color-neutral-300);
    background: #fff;
    /* so gap is white, not parent/body */
  }

  .contact-section-header {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    align-items: start;
  }

  .contact-section-number {
    font-family: ui-monospace, 'JetBrains Mono', 'Courier New', monospace;
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--color-teal);
    line-height: 1;
    opacity: 0.2;
  }

  .contact-section-header-content {
    min-width: 0;
  }

  /* 02 Business Details header – match 01 Engineering Enquiries style */

  .contact-business-details-section .contact-section-header {
    margin-bottom: var(--space-xl);
  }

  .contact-business-details-section .contact-section-number {
    color: var(--color-accent-primary);
    opacity: 0.2;
  }

  .contact-business-details-section .contact-section-title {
    font-size: 36px !important;
    font-weight: 600;
    color: var(--color-text-dark);
    margin: 0 0 var(--space-xs);
    letter-spacing: -0.01em;
    line-height: 1.2;
  }

  /* Business Details: flex rows with justify-content: center so bottom 2 cards are centered */

  .contact-business-details-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
  }

  .contact-business-details-row {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
  }

  .contact-business-details-row .compliance-standard-card {
    flex: 1 1 0;
    min-width: 200px;
    max-width: 320px;
  }

  .contact-business-details-section .compliance-standard-description a {
    color: var(--color-accent-primary, #009999);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
  }

  .contact-business-details-section .compliance-standard-description a:hover {
    border-bottom-color: var(--color-accent-primary, #009999);
  }

  /* Top row links: use footer orange accent + underline on hover */

  .contact-business-details-row:first-child .compliance-standard-description a {
    position: relative;
    display: inline-block;
    text-decoration: none !important;
    transition: color 0.2s;
  }

  .contact-business-details-row:first-child .compliance-standard-description a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 1px;
    width: 0;
    background-color: currentColor;
    transition: width 0.3s ease;
  }

  .contact-business-details-row:first-child .compliance-standard-description a:hover,
  .contact-business-details-row:first-child .compliance-standard-description a:focus {
    color: var(--color-accent-secondary, #F07A28) !important;
    text-decoration: none !important;
    border-bottom-color: transparent;
  }

  .contact-business-details-row:first-child .compliance-standard-description a:hover::after,
  .contact-business-details-row:first-child .compliance-standard-description a:focus::after {
    width: 100%;
  }

  /* Footer CTA (match Compliance: dark section + title, text, orange + white buttons) */

  .contact-footer-cta {
    padding: var(--space-xxl) var(--space-md);
    background: var(--color-dark-primary, #0A1628);
    color: var(--color-text-light, #f5f7fa);
    text-align: center;
  }

  .contact-footer-cta .contact-page-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .contact-footer-cta .availability-footer-cta-title {
    color: var(--color-text-light, #f5f7fa);
  }

  .contact-footer-cta .availability-cta-btn-primary {
    color: #fff !important;
  }

  .contact-footer-cta .availability-cta-btn-primary:hover {
    color: var(--color-dark-primary, #0A1628) !important;
  }

  .contact-map-cta-standalone {
    text-align: center;
    font-size: 0.9375rem;
    color: var(--color-text);
    margin: 0 auto var(--space-xl);
    max-width: 56ch;
    padding: 0 var(--space-md);
  }

  .contact-map-cta-link {
    color: var(--color-teal);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
  }

  .contact-map-cta-link:hover {
    border-bottom-color: var(--color-teal);
  }

  @media (max-width: 767px) {
    .contact-form-grid-2col {
      grid-template-columns: 1fr;
    }

    .contact-methods-grid {
      grid-template-columns: 1fr;
    }

    .contact-section-header {
      grid-template-columns: 60px 1fr;
      gap: var(--space-md);
    }

    .contact-section-number {
      font-size: 2.5rem;
    }

    .contact-business-details-row {
      flex-direction: column;
    }

    .contact-business-details-row .compliance-standard-card {
      max-width: none;
    }

    .contact-form-container {
      padding-left: 0;
      padding-right: 0;
    }
  }

  /* ========================================
   PRIVACY POLICY PAGE STYLING
   ======================================== */

  /* Privacy Policy Page Styling */

  .prose h2 {
    color: #1B2A38;
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1rem;
    line-height: 1.3;
  }

  .prose h3 {
    color: #1B2A38;
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
  }

  .prose p {
    color: #5E6E7E;
    line-height: 1.7;
    margin-bottom: 1.5rem;
  }

  .prose ul {
    color: #5E6E7E;
    line-height: 1.7;
  }

  .prose a {
    color: #009999 !important;
    text-decoration: underline;
    transition: color 0.2s;
  }

  .prose a:hover {
    color: #007a7a !important;
  }

  .text-primary {
    color: #1B2A38;
  }

  .text-secondary {
    color: #5E6E7E;
  }

  .text-teal {
    color: #009999;
  }

  .bg-surface-light {
    background-color: #F7F7F5 !important;
  }

  .border-teal {
    border-color: #009999;
  }

  /* End Privacy Policy Styling */
}

/* =========================================================
   COMPONENTS LAYER
   Reusable UI primitives
   ========================================================= */

/* Sticky CTA: prevent content hiding behind mobile bar */

@media (max-width: 1023px) {
  body.sticky-cta-visible {
    padding-bottom: 60px;
  }
}

/* Services footer CTA: Contact button hover text (unlayered so it wins) */

.services-footer-cta a.services-cta-button:hover {
  color: #111F2C !important;
}

/* Scope block titles: H3 size + gap below (unlayered so it wins) */

.services-scope-block h3.services-scope-block-title {
  font-size: 24px !important;
  padding-bottom: 24px !important;
  margin-bottom: 0 !important;
}

/* ── Mobile header: phone icon + hamburger pair ──────────────────────────
   v2: icon bumped to 28px (w-7), padding p-2.5, solid handset SVG to match
   hamburger's flat visual weight. Both lg:hidden — desktop unaffected.
────────────────────────────────────────────────────────────────────────── */

/* Consistent sizing and tap target (WCAG 2.5.5: 44×44px minimum) */

.menu-toggle-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: 4px;
  transition: background-color 0.15s ease;
  /* 2px gap before hamburger so they don't visually merge */
  margin-right: 2px;
}

/* Dark header hover/focus */

.menu-toggle-phone:hover,
.menu-toggle-phone:focus-visible {
  background-color: rgba(255, 255, 255, 0.08);
  outline: none;
}

/* Light mode override */

html:not(.dark) .menu-toggle-phone:hover,
html:not(.dark) .menu-toggle-phone:focus-visible {
  background-color: rgba(0, 0, 0, 0.06);
}

/* Mobile menu availability card: email link */

.availability-contact-link {
  color: inherit;
  opacity: 0.85;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.availability-contact-link:hover,
.availability-contact-link:focus-visible {
  opacity: 1;
  text-decoration: underline;
}

.hover\:scale-105:hover {
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.hover\:bg-gray-100:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity));
}

.hover\:bg-gray-800:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity));
}

.hover\:text-teal-700:hover {
  --tw-text-opacity: 1;
  color: rgb(0 92 92 / var(--tw-text-opacity));
}

.hover\:shadow-xl:hover {
  --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus\:ring-2:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus\:ring-accent-500:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(240 122 40 / var(--tw-ring-opacity));
}

.focus\:ring-offset-1:focus {
  --tw-ring-offset-width: 1px;
}

.focus\:ring-offset-2:focus {
  --tw-ring-offset-width: 2px;
}

.active\:scale-95:active {
  --tw-scale-x: .95;
  --tw-scale-y: .95;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}

@media (min-width: 768px) {
  .md\:block {
    display: block;
  }

  .md\:inline {
    display: inline;
  }

  .md\:hidden {
    display: none;
  }
}

@media (min-width: 1024px) {
  .lg\:order-none {
    order: 0;
  }

  .lg\:flex {
    display: flex;
  }

  .lg\:contents {
    display: contents;
  }

  .lg\:hidden {
    display: none;
  }

  .lg\:h-20 {
    height: 5rem;
  }
}