/*
Theme Name: Five Elements Theme
Theme URI: http://localhost:8080
Author: Local Dev
Author URI: http://localhost:8080
Description: Starter custom theme for local development.
Version: 0.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 8.0
Text Domain: five-elements-theme
*/

:root {
  /* Brand colors */
  --fe-bg: #e5e5e5;
  --fe-white: #ffffff;
  --fe-text: #101630;
  --fe-dark: #101630;
  --fe-muted: #a8a9ad;
  --fe-cyan: #0eb0e7;
  --fe-red: #7a040f;
  --fe-border: #dddddd;

  /* Layout */
  --fe-layout-max: 1440px;
  --fe-content-max: 1280px;
  --fe-layout-columns: 12;
  --fe-layout-gutter: 24px;
  --fe-layout-margin: 32px;
  --fe-header-top-space: 30px;

  /* Typography — tighter leading (1.1) across all headings */
  --fe-type-display-2xl-size: clamp(36px, 4vw, 60px);
  --fe-type-display-2xl-line: 1.1;
  --fe-type-display-xl-size: clamp(32px, 3.2vw, 48px);
  --fe-type-display-xl-line: 1.1;
  --fe-type-display-lg-size: clamp(28px, 2.6vw, 36px);
  --fe-type-display-lg-line: 1.1;
  --fe-type-display-md-size: clamp(24px, 2.2vw, 30px);
  --fe-type-display-md-line: 1.15;
  --fe-type-display-sm-size: clamp(18px, 1.7vw, 24px);
  --fe-type-display-sm-line: 1.2;
  --fe-type-heading-lg-size: clamp(18px, 1.4vw, 20px);
  --fe-type-heading-lg-line: 1.25;

  /* Button size tokens — sm / md (default) / lg / xl */
  --fe-btn-sm-size: 14px;
  --fe-btn-sm-line: 20px;
  --fe-btn-sm-height: 40px;
  --fe-btn-sm-px: 24px;
  --fe-btn-sm-py: 8px;

  --fe-btn-md-size: 16px;
  --fe-btn-md-line: 24px;
  --fe-btn-md-height: 48px;
  --fe-btn-md-px: 32px;
  --fe-btn-md-py: 12px;

  --fe-btn-lg-size: 20px;
  --fe-btn-lg-line: 28px;
  --fe-btn-lg-height: 56px;
  --fe-btn-lg-px: 40px;
  --fe-btn-lg-py: 14px;

  --fe-btn-xl-size: 24px;
  --fe-btn-xl-line: 32px;
  --fe-btn-xl-height: 64px;
  --fe-btn-xl-px: 54px;
  --fe-btn-xl-py: 14px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "museo-sans", "Segoe UI", sans-serif;
  color: var(--fe-text);
  background: radial-gradient(circle at 0 0, #e9f0ff, var(--fe-bg) 40%);
}

a {
  color: var(--fe-cyan);
  text-decoration: none;
}

/* Section background utilities */
.fe-section-bg--white { background: var(--fe-white); }
.fe-section-bg--accent { background: color-mix(in srgb, var(--fe-cyan) 20%, transparent); }
.fe-section-bg--transparent { background: transparent; }

.container {
  width: min(var(--fe-layout-max), calc(100% - (var(--fe-layout-margin) * 2)));
  margin-inline: auto;
}

.layout-grid-12 {
  display: grid;
  grid-template-columns: repeat(var(--fe-layout-columns), minmax(0, 1fr));
  column-gap: var(--fe-layout-gutter);
}

.site-header {
  border-bottom: 1px solid var(--fe-border);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 40;
}

.site-header .container {
  padding: var(--fe-header-top-space) 0 24px;
}

.fe-site-header__bar {
  margin-inline: auto;
  width: min(var(--fe-content-max), calc(100% - 160px));
}

.site-main {
  min-height: calc(100vh - 160px);
  padding: 32px 0 3rem;
}

/* --- Buttons --- */

.fe-btn {
  --fe-btn-secondary-color: var(--fe-white);
  --fe-btn-hover-bg: var(--fe-dark);
  --fe-btn-hover-offset: 3px;
  align-items: center;
  border: 0;
  border-radius: 999px;
  color: var(--fe-btn-secondary-color);
  cursor: pointer;
  display: inline-flex;
  font-size: var(--fe-btn-md-size);
  font-weight: 500;
  gap: 0.6em;
  justify-content: center;
  line-height: var(--fe-btn-md-line);
  min-height: var(--fe-btn-md-height);
  overflow: visible;
  padding: var(--fe-btn-md-py) var(--fe-btn-md-px);
  position: relative;
  text-decoration: none;
  transform: translateY(0);
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.fe-btn--sm {
  font-size: var(--fe-btn-sm-size);
  line-height: var(--fe-btn-sm-line);
  min-height: var(--fe-btn-sm-height);
  padding: var(--fe-btn-sm-py) var(--fe-btn-sm-px);
}

.fe-btn--lg {
  font-size: var(--fe-btn-lg-size);
  font-weight: 300;
  line-height: var(--fe-btn-lg-line);
  min-height: var(--fe-btn-lg-height);
  padding: var(--fe-btn-lg-py) var(--fe-btn-lg-px);
}

.fe-btn--xl {
  font-size: var(--fe-btn-xl-size);
  font-weight: 300;
  line-height: var(--fe-btn-xl-line);
  min-height: var(--fe-btn-xl-height);
  padding: var(--fe-btn-xl-py) var(--fe-btn-xl-px);
}

.fe-btn-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fe-btn:hover {
  background-color: var(--fe-btn-hover-bg);
  transform: translateY(-2px);
}

.fe-btn:active {
  transform: translateY(0);
}

.fe-btn-cyan {
  background: var(--fe-cyan);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--fe-cyan) 30%, transparent);
  color: var(--fe-white);
  --fe-btn-hover-bg: color-mix(in srgb, var(--fe-cyan) 85%, #000);
}

.fe-btn-dark {
  background: var(--fe-dark);
  box-shadow: 0 8px 20px rgba(16, 22, 48, 0.3);
  color: var(--fe-white);
  --fe-btn-hover-bg: #060b2f;
}

.fe-btn-cyan:hover {
  box-shadow: 0 16px 28px color-mix(in srgb, var(--fe-cyan) 40%, transparent);
}

.fe-btn-dark:hover {
  box-shadow: 0 16px 28px rgba(16, 22, 48, 0.42);
}

/* --- Primary Header Bar --- */

.fe-primary-header-bar {
  --fe-header-link-color: var(--fe-dark);
  --fe-header-link-hover: var(--fe-cyan);
  align-items: center;
  display: flex;
  position: relative;
  z-index: 12;
}

.fe-primary-header-bar--light {
  --fe-header-link-color: var(--fe-white);
  --fe-header-link-hover: var(--fe-white);
  color: var(--fe-white);
}

.fe-primary-header-bar--dark {
  --fe-header-link-color: var(--fe-dark);
  --fe-header-link-hover: var(--fe-cyan);
  color: var(--fe-dark);
}

.fe-primary-header__brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.fe-primary-header__brand img {
  display: block;
  height: 76px;
  width: auto;
}

/* --- Primary Nav --- */

.fe-primary-nav {
  margin-left: 60px;
}

.fe-primary-nav .menu {
  align-items: center;
  display: flex;
  gap: clamp(20px, 2.5vw, 40px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.fe-primary-nav .menu > li {
  position: relative;
}

/* Hover bridge so dropdown stays open when moving mouse to it */
.fe-primary-nav .menu > li.menu-item-has-children::before {
  content: "";
  height: 30px;
  left: -40px;
  position: absolute;
  right: -40px;
  top: 100%;
}

.fe-primary-nav .menu > li > a {
  color: var(--fe-header-link-color);
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 300;
  line-height: 1.35;
  position: relative;
  text-decoration: none;
  text-transform: lowercase;
  transition: color 0.2s ease;
}

/* Animated underline */
.fe-primary-nav .menu > li > a::after {
  background: var(--fe-header-link-hover);
  bottom: -6px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  right: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.fe-primary-nav .menu > li > a:hover,
.fe-primary-nav .menu > li > a:focus-visible,
.fe-primary-nav .menu > li.current-menu-item > a,
.fe-primary-nav .menu > li.current-menu-ancestor > a,
.fe-primary-nav .menu > li.current-page-ancestor > a,
.fe-primary-nav .menu > li.current_page_item > a {
  color: var(--fe-header-link-hover);
}

.fe-primary-nav .menu > li > a:hover::after,
.fe-primary-nav .menu > li > a:focus-visible::after,
.fe-primary-nav .menu > li.current-menu-item > a::after,
.fe-primary-nav .menu > li.current-menu-ancestor > a::after {
  transform: scaleX(1);
}

/* --- Dropdown Panel (shared base) --- */

.fe-primary-nav .menu > li > .sub-menu {
  background: var(--fe-white);
  border-bottom: 3px solid var(--fe-cyan);
  border-radius: 0;
  box-shadow: 0 16px 48px rgba(16, 22, 48, 0.12);
  left: 50%;
  list-style: none;
  margin: 0;
  min-width: 220px;
  opacity: 0;
  padding: 28px 32px;
  pointer-events: none;
  position: absolute;
  text-align: left;
  top: calc(100% + 14px);
  transform: translate(-50%, 8px);
  transition: opacity 0.2s ease 0.12s, transform 0.2s ease 0.12s, visibility 0s linear 0.32s;
  visibility: hidden;
  white-space: nowrap;
  z-index: 60;
}

.fe-primary-nav .menu > li:hover > .sub-menu,
.fe-primary-nav .menu > li:focus-within > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear;
  visibility: visible;
}

/* --- Simple dropdown (Our Work, etc.) --- */

.fe-primary-nav .menu > li:not(:is(.fe-menu-item--services, .fe-menu-item--servicii, .fe-menu-item--dienstleistungen)) > .sub-menu {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fe-primary-nav .menu > li:not(:is(.fe-menu-item--services, .fe-menu-item--servicii, .fe-menu-item--dienstleistungen)) > .sub-menu > li > a {
  color: var(--fe-dark);
  display: block;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  padding: 4px 0;
  text-decoration: none;
  text-transform: none;
  transition: color 0.15s ease;
}

.fe-primary-nav .menu > li:not(:is(.fe-menu-item--services, .fe-menu-item--servicii, .fe-menu-item--dienstleistungen)) > .sub-menu > li > a:hover,
.fe-primary-nav .menu > li:not(:is(.fe-menu-item--services, .fe-menu-item--servicii, .fe-menu-item--dienstleistungen)) > .sub-menu > li > a:focus-visible {
  color: var(--fe-cyan);
}

/* --- Services mega-menu --- */

.fe-primary-nav .menu > :is(.fe-menu-item--services, .fe-menu-item--servicii, .fe-menu-item--dienstleistungen) > .sub-menu {
  --fe-mega-left: 220px;
  --fe-mega-gap: 40px;
  display: grid;
  grid-template-columns: var(--fe-mega-left) 1px auto;
  column-gap: var(--fe-mega-gap);
  min-width: 0;
  padding: 32px 36px;
  width: max-content;
}

/* Vertical divider via grid column */
.fe-primary-nav .menu > :is(.fe-menu-item--services, .fe-menu-item--servicii, .fe-menu-item--dienstleistungen) > .sub-menu::after {
  background: rgba(16, 22, 48, 0.1);
  content: "";
  grid-column: 2;
  grid-row: 1 / -1;
  width: 1px;
}

.fe-primary-nav .menu > :is(.fe-menu-item--services, .fe-menu-item--servicii, .fe-menu-item--dienstleistungen) > .sub-menu > li {
  display: contents;
}

/* Service category links (left column) */
.fe-primary-nav .menu > :is(.fe-menu-item--services, .fe-menu-item--servicii, .fe-menu-item--dienstleistungen) > .sub-menu > li > a {
  border-left: 3px solid transparent;
  color: var(--fe-dark);
  display: block;
  font-size: 17px;
  font-weight: 500;
  grid-column: 1;
  line-height: 1.5;
  max-width: var(--fe-mega-left);
  padding: 6px 0 6px 12px;
  position: relative;
  text-decoration: none;
  text-transform: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}

/* Hover bridge — invisible hitbox extending across the divider so the mouse
   can reach the right-column sub-items without losing hover on the <li>. */
.fe-primary-nav .menu > :is(.fe-menu-item--services, .fe-menu-item--servicii, .fe-menu-item--dienstleistungen) > .sub-menu > li > a::after {
  content: "";
  left: 100%;
  position: absolute;
  top: -10px;
  bottom: -10px;
  width: calc(var(--fe-mega-gap) + 1px + var(--fe-mega-gap));
}

.fe-primary-nav .menu > :is(.fe-menu-item--services, .fe-menu-item--servicii, .fe-menu-item--dienstleistungen) > .sub-menu > li > a:hover,
.fe-primary-nav .menu > :is(.fe-menu-item--services, .fe-menu-item--servicii, .fe-menu-item--dienstleistungen) > .sub-menu > li > a:focus-visible {
  border-left-color: var(--fe-cyan);
  color: var(--fe-cyan);
}

/* Third-level panel (right column) — all stacked in same grid cell so the
   tallest defines the panel height and switching doesn't cause jumps. */
.fe-primary-nav .menu > :is(.fe-menu-item--services, .fe-menu-item--servicii, .fe-menu-item--dienstleistungen) > .sub-menu > li > .sub-menu {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  grid-column: 3;
  grid-row: 1 / span 20;
  justify-self: start;
  list-style: none;
  margin: 0;
  min-width: 0;
  opacity: 0;
  padding: 6px 0;
  pointer-events: none;
  position: static;
  transform: none;
  visibility: hidden;
  width: max-content;
}

.fe-primary-nav .menu > :is(.fe-menu-item--services, .fe-menu-item--servicii, .fe-menu-item--dienstleistungen) > .sub-menu > li:first-child > .sub-menu,
.fe-primary-nav .menu > :is(.fe-menu-item--services, .fe-menu-item--servicii, .fe-menu-item--dienstleistungen) > .sub-menu > li:hover > .sub-menu,
.fe-primary-nav .menu > :is(.fe-menu-item--services, .fe-menu-item--servicii, .fe-menu-item--dienstleistungen) > .sub-menu > li:focus-within > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.fe-primary-nav .menu > :is(.fe-menu-item--services, .fe-menu-item--servicii, .fe-menu-item--dienstleistungen) > .sub-menu:has(> li:not(:first-child):hover > .sub-menu) > li:first-child > .sub-menu,
.fe-primary-nav .menu > :is(.fe-menu-item--services, .fe-menu-item--servicii, .fe-menu-item--dienstleistungen) > .sub-menu:has(> li:not(:first-child):focus-within > .sub-menu) > li:first-child > .sub-menu {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

/* Third-level links */
.fe-primary-nav .menu > :is(.fe-menu-item--services, .fe-menu-item--servicii, .fe-menu-item--dienstleistungen) > .sub-menu > li > .sub-menu > li > a {
  color: var(--fe-dark);
  display: block;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
  padding: 3px 0;
  text-decoration: none;
  text-transform: none;
  transition: color 0.15s ease;
}

.fe-primary-nav .menu > :is(.fe-menu-item--services, .fe-menu-item--servicii, .fe-menu-item--dienstleistungen) > .sub-menu > li > .sub-menu > li > a:hover,
.fe-primary-nav .menu > :is(.fe-menu-item--services, .fe-menu-item--servicii, .fe-menu-item--dienstleistungen) > .sub-menu > li > .sub-menu > li > a:focus-visible {
  color: var(--fe-cyan);
}

/* --- Language Switcher --- */

.fe-primary-header__lang {
  align-items: center;
  color: var(--fe-header-link-color);
  display: inline-flex;
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 300;
  gap: 6px;
  line-height: 1.35;
  margin-left: auto;
  text-transform: lowercase;
}

.fe-primary-header__lang a {
  color: inherit;
  opacity: 0.5;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.fe-primary-header__lang a.is-active {
  opacity: 1;
}

.fe-primary-header__lang a:hover {
  opacity: 1;
}

.fe-primary-header__lang span {
  opacity: 0.35;
}

/* Desktop nav hidden at mobile — hamburger + drawer take over */

.hero {
  background: var(--fe-white);
  border: 1px solid var(--fe-border);
  padding: 3rem;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 3vw, 3rem);
}

.hero p {
  margin: 0;
  color: var(--fe-muted);
  max-width: 60ch;
}

.post-card {
  border: 1px solid var(--fe-border);
  padding: 1.25rem;
  margin-bottom: 1rem;
  background: var(--fe-white);
}

.site-footer {
  padding: 1rem 0;
  border-top: 1px solid var(--fe-border);
  color: var(--fe-muted);
  font-size: 0.9rem;
}

.fe-standard-page {
  margin-inline: auto;
  width: min(var(--fe-content-max), 100%);
}

.fe-standard-page__header {
  margin-bottom: 40px;
}

.fe-standard-page__title {
  color: var(--fe-dark);
  font-size: clamp(42px, 4vw, 60px);
  font-weight: 700;
  line-height: 1.12;
  margin: 0;
}

.fe-standard-page__content {
  color: var(--fe-dark);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.6;
  max-width: 820px;
}

.fe-standard-page__content > *:first-child {
  margin-top: 0;
}

.fe-standard-page__content > *:last-child {
  margin-bottom: 0;
}

.fe-standard-page__content a {
  color: var(--fe-cyan);
  text-decoration: none;
  background-image: linear-gradient(var(--fe-cyan), var(--fe-cyan));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  padding-bottom: 1px;
  transition: background-size 0.3s ease;
}

.fe-standard-page__content a:hover {
  background-size: 100% 1px;
}

.fe-category-page {
  background: var(--fe-bg);
  color: var(--fe-dark);
  min-height: 100vh;
  overflow: clip;
}

.fe-category-page__outer {
  margin-inline: auto;
  width: min(var(--fe-layout-max), calc(100% - (var(--fe-layout-margin) * 2)));
}

.fe-category-page__inner {
  margin-inline: auto;
  width: min(var(--fe-content-max), calc(100% - 160px));
}

/* Constrain .fe-wrap inside category pages to match content width */
.fe-category-page .fe-wrap {
  width: min(var(--fe-content-max), calc(100% - 160px));
}

/* --- Shared layout wrapper --- */

.fe-wrap {
  margin-inline: auto;
  position: relative;
  width: min(var(--fe-layout-max), calc(100% - (var(--fe-layout-margin) * 2)));
}

/* --- Reusable section heading --- */

.fe-section-heading {
  font-size: var(--fe-type-display-xl-size);
  font-weight: 300;
  line-height: var(--fe-type-display-xl-line);
  margin: 0;
}

.fe-section-heading span {
  color: var(--fe-cyan);
  font-weight: 700;
}

/* --- Work grid (Our Work page) --- */

.fe-work-grid-section {
  padding: 48px 0;
}

.fe-work-grid-section .fe-section-heading {
  margin-bottom: 40px;
}

.fe-work-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fe-work-grid__item {
  aspect-ratio: 19 / 14;
  overflow: hidden;
}

.fe-work-grid__item--image {
  background: var(--fe-bg);
  display: block;
  text-decoration: none;
}

a.fe-work-grid__item--image {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

a.fe-work-grid__item--image:hover {
  box-shadow: 0 8px 24px rgba(16, 22, 48, 0.12);
  transform: translateY(-2px);
}

.fe-work-grid__item--image img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.fe-work-grid__item--stat {
  background: var(--fe-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
}

.fe-work-grid__stat-value {
  color: var(--fe-cyan);
  font-size: clamp(48px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
}

.fe-work-grid__stat-text {
  font-size: 18px;
  font-weight: 300;
  line-height: 28px;
  margin: 8px 0 0;
}

.fe-work-grid__cta {
  margin-top: 40px;
  text-align: center;
}

@media (max-width: 1024px) {
  .fe-work-grid {
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .fe-work-grid-section {
    padding: 30px 0;
  }

  .fe-work-grid {
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fe-work-grid__item--stat {
    padding: 20px;
  }

  .fe-work-grid__stat-value {
    font-size: 36px;
  }

  .fe-work-grid__item--stat {
    grid-column: 1 / -1;
  }

  .fe-work-grid__stat-text {
    font-size: 16px;
    line-height: 24px;
  }

  .fe-work-grid__cta {
    margin-top: 24px;
  }
}

/* --- Testimonial slider --- */

.fe-testimonial {
  padding: 48px 0;
  position: relative;
}

.fe-testimonial .fe-wrap {
  position: relative;
}

.fe-testimonial-layout {
  align-items: center;
  display: grid;
  gap: clamp(28px, 5.5vw, 79px);
  grid-template-areas: "prev content next";
  grid-template-columns: 48px minmax(0, 729px) 48px;
  justify-content: center;
}

.fe-testimonial-viewport {
  grid-area: content;
  overflow: hidden;
  width: 100%;
}

.fe-arrow {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  height: 48px;
  justify-content: center;
  padding: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
  width: 48px;
}

.fe-arrow-prev {
  grid-area: prev;
}

.fe-arrow-next {
  grid-area: next;
}

.fe-arrow img {
  display: block;
  height: 48px;
  width: 48px;
}

.fe-arrow-prev img {
  transform: rotate(90deg);
}

.fe-arrow-next img {
  transform: rotate(-90deg);
}

.fe-arrow:hover:not(:disabled) {
  transform: translateY(-1px);
}

.fe-arrow:disabled,
.fe-testimonial-layout.is-single .fe-arrow {
  cursor: default;
  opacity: 0;
  pointer-events: none;
}

.fe-testimonial-content {
  display: flex;
  min-height: 0;
  position: relative;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.fe-testimonial-slide {
  flex: 0 0 100%;
  padding: 0;
  width: 100%;
}

.fe-testimonial-quote {
  font-size: var(--fe-type-display-sm-size);
  font-weight: 500;
  letter-spacing: 0;
  line-height: var(--fe-type-display-sm-line);
  margin: 0;
  max-width: 729px;
}

.fe-testimonial-meta {
  align-items: end;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  margin-top: 40px;
}

.fe-testimonial-logo {
  align-items: flex-end;
  display: flex;
  flex: 0 0 auto;
  min-height: 37px;
}

.fe-testimonial-logo img {
  display: block;
  height: auto;
  max-height: 52px;
  max-width: 178px;
  object-fit: contain;
  width: auto;
}

.fe-testimonial-source {
  font-size: 14px;
  font-weight: 300;
  line-height: 20px;
  margin: 0;
  max-width: 340px;
  text-align: right;
}

.fe-testimonial-source-line {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .fe-testimonial-content {
    transition: none;
  }
}

/* --- Trusted brands marquee --- */

.fe-trusted {
  background: var(--fe-white);
  padding: 48px 0;
  position: relative;
}

.fe-trusted h2 {
  font-size: var(--fe-type-display-xl-size);
  font-weight: 300;
  line-height: var(--fe-type-display-xl-line);
  margin: 0;
}

.fe-trusted h2 span {
  color: var(--fe-cyan);
  font-weight: 700;
}

.fe-brands-marquee {
  margin-top: 36px;
  overflow: hidden;
  position: relative;
}

.fe-brands-marquee-inner {
  animation: fe-brands-marquee 28s linear infinite;
  display: flex;
  margin-left: 0;
  width: max-content;
  will-change: margin-left;
}

.fe-brands-track {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 34px;
  padding-right: 34px;
}

.fe-brand-logo {
  -webkit-mix-blend-mode: multiply;
  display: block;
  height: 120px;
  mix-blend-mode: multiply;
  object-fit: contain;
  position: relative;
  width: auto;
  z-index: 8;
}

.fe-brands-marquee:hover .fe-brands-marquee-inner {
  animation-play-state: paused;
}

@keyframes fe-brands-marquee {
  from {
    margin-left: 0;
  }

  to {
    margin-left: -50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fe-brands-marquee-inner {
    animation: none;
  }
}

.fe-category-hero {
  position: relative;
}

.fe-category-hero__stage {
  background: transparent;
  margin-inline: auto;
  min-height: 100vh;
  width: min(var(--fe-layout-max), calc(100% - (var(--fe-layout-margin) * 2)));
}

.fe-category-hero__art {
  position: absolute;
  right: 0;
  top: 0;
  width: auto;
  z-index: 0;
}

.fe-category-hero__art img {
  display: block;
  height: 100vh;
  width: auto;
}

/* Mobile logo swap: hide mobile variant by default, show on small screens */
.fe-primary-header__brand .fe-logo-mobile {
  display: none;
}

.fe-category-hero__inner {
  display: flex;
  flex-direction: column;
  margin-inline: auto;
  min-height: 100vh;
  padding: 30px 0 72px;
  position: relative;
  width: min(var(--fe-content-max), calc(100% - 160px));
  z-index: 2;
}

.fe-category-hero__nav {
  width: 100%;
}

.fe-category-hero__brand img {
  height: 76px;
  width: auto;
}

.fe-category-hero__lang {
  line-height: 1;
}

.fe-category-hero__copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 540px;
}

.fe-category-hero__title {
  font-size: clamp(42px, 4vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}

.fe-category-hero__title span {
  color: var(--fe-cyan);
}

.fe-category-hero__button {
  align-self: flex-start;
  font-size: var(--fe-btn-lg-size);
  font-weight: 300;
  line-height: var(--fe-btn-lg-line);
  margin-top: 24px;
  min-height: var(--fe-btn-lg-height);
  padding: var(--fe-btn-lg-py) var(--fe-btn-lg-px);
}

.fe-category-page__content {
  padding: 56px 0 88px;
}

.fe-category-page__richtext,
.fe-category-page__intro {
  color: var(--fe-dark);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.6;
  max-width: 820px;
}

.fe-category-page__richtext > *:first-child,
.fe-category-page__intro > *:first-child {
  margin-top: 0;
}

.fe-category-page__richtext > *:last-child,
.fe-category-page__intro > *:last-child {
  margin-bottom: 0;
}

/* --- Shared news/blog card --- */

.fe-news-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
}

.fe-news-card-link {
  color: inherit;
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
}

.fe-news-card-link::after {
  content: "";
  inset: 0;
  position: absolute;
  z-index: 0;
}

.fe-news-author-link {
  color: inherit;
  display: flex;
  position: relative;
  text-decoration: none;
  z-index: 1;
}

.fe-news-author-link:hover .fe-news-author-name {
  color: var(--fe-cyan);
}

.fe-news-thumb {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  width: 100%;
}

.fe-news-thumb img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  width: 100%;
}

.fe-news-card-link:hover .fe-news-thumb img {
  transform: scale(1.04);
}

.fe-news-content {
  background: var(--fe-white);
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  width: 100%;
}

.fe-news-category {
  color: var(--fe-cyan);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  margin: 0;
}

.fe-news-title {
  color: var(--fe-text);
  display: inline;
  font-size: 18px;
  font-weight: 700;
  line-height: 26px;
  margin: 0;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  padding-bottom: 2px;
  transition: background-size 0.3s ease;
}

.fe-news-card-link:hover .fe-news-title {
  background-size: 100% 2px;
}

.fe-news-excerpt {
  color: var(--fe-muted);
  display: -webkit-box;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.fe-news-content--footer {
  border-bottom: 8px solid var(--fe-cyan);
  padding-top: 0;
}

.fe-news-author {
  align-items: center;
  display: flex;
  gap: 12px;
}

.fe-news-author-avatar {
  border-radius: 50%;
  display: block;
  flex: 0 0 auto;
  height: 40px;
  object-fit: cover;
  width: 40px;
}

.fe-news-author-info {
  display: flex;
  flex-direction: column;
}

.fe-news-author-name {
  color: var(--fe-text);
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  margin: 0;
}

.fe-news-date {
  color: var(--fe-muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 20px;
  margin: 0;
}

/* --- Blog page: search, category nav, grid --- */

.fe-blog-toolbar {
  background: var(--fe-white);
  padding: 48px 0 0;
}

.fe-blog-search {
  display: flex;
  gap: 12px;
  max-width: 520px;
}

.fe-blog-search__input {
  background: var(--fe-white);
  border: 1px solid var(--fe-border);
  border-radius: 999px;
  flex: 1;
  font-family: inherit;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  min-width: 0;
  padding: 10px 20px;
}

.fe-blog-search__input::placeholder {
  color: var(--fe-muted);
}

.fe-blog-search__input:focus {
  border-color: var(--fe-cyan);
  outline: none;
}

.fe-blog-search__btn {
  border-radius: 999px;
  flex-shrink: 0;
  white-space: nowrap;
}

.fe-blog-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 32px;
  padding-bottom: 20px;
  position: relative;
}

.fe-blog-cats__item {
  border-radius: 999px;
  color: var(--fe-text);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  padding: 8px 20px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.fe-blog-cats__item:hover {
  color: var(--fe-cyan);
}

.fe-blog-cats__item.is-active {
  background: var(--fe-cyan);
  color: var(--fe-white);
}

.fe-blog-cats__line {
  background: var(--fe-cyan);
  bottom: 0;
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
}

.fe-blog-feed {
  background: var(--fe-white);
  padding: 48px 0;
}

.fe-blog-feed__intro {
  margin-bottom: 32px;
}

.fe-blog-grid {
  display: grid;
  gap: 32px 38px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fe-blog-pagination {
  margin-top: 40px;
}

.fe-blog-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.fe-blog-pagination .page-numbers {
  align-items: center;
  border: 1px solid var(--fe-border);
  border-radius: 6px;
  color: var(--fe-text);
  display: inline-flex;
  font-size: 14px;
  font-weight: 500;
  height: 36px;
  justify-content: center;
  min-width: 36px;
  padding: 0 10px;
  text-decoration: none;
}

.fe-blog-pagination .page-numbers.current {
  background: var(--fe-cyan);
  border-color: var(--fe-cyan);
  color: var(--fe-white);
}

.fe-blog-empty {
  font-size: 18px;
  font-weight: 300;
  line-height: 28px;
}

/* ── Author page ── */

.fe-author-hero {
  padding: 48px 0 0;
}

.fe-author-hero__inner {
  align-items: flex-start;
  display: flex;
  gap: 32px;
  padding: 32px 0 48px;
}

.fe-author-hero__avatar {
  border-radius: 8px;
  flex: 0 0 auto;
  height: 180px;
  object-fit: cover;
  width: 180px;
}

.fe-author-hero__info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fe-author-hero__name {
  color: var(--fe-text);
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.fe-author-hero__bio {
  color: var(--fe-text);
  font-size: 16px;
  font-weight: 300;
  line-height: 26px;
  max-width: 600px;
}

.fe-author-hero__bio p {
  margin: 0 0 12px;
}

.fe-author-hero__bio p:last-child {
  margin-bottom: 0;
}

.fe-author-hero__count {
  color: var(--fe-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  margin: 0;
}

@media (max-width: 768px) {
  .fe-author-hero__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .fe-author-hero__avatar {
    height: 120px;
    width: 120px;
  }
}

@media (max-width: 1280px) {
  :root {
    --fe-layout-margin: 20px;
    --fe-layout-gutter: 20px;
  }

  .fe-category-hero__stage,
  .fe-category-hero__inner {
    min-height: 780px;
  }

  .fe-category-hero__art {
    width: min(34vw, 460px);
  }

  .fe-category-hero__copy {
    max-width: 620px;
  }
}

@media (max-width: 1024px) {
  .fe-category-page__outer {
    width: min(100%, calc(100% - (var(--fe-layout-margin) * 2)));
  }

  .fe-category-hero__stage {
    min-height: 720px;
    width: 100%;
  }

  .fe-category-hero__art {
    inset: 0;
    width: auto;
  }

  .fe-category-hero__art::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.44) 0%, rgba(0, 0, 0, 0.18) 100%);
    content: "";
    inset: 0;
    position: absolute;
    z-index: 1;
  }

  .fe-category-hero__art img {
    height: 100%;
    object-fit: cover;
    width: 100%;
  }

  .fe-category-hero__copy {
    align-items: center;
    color: var(--fe-white);
    max-width: none;
    text-align: center;
  }

  .fe-category-hero__button {
    align-self: center;
  }

  .fe-category-hero .fe-category-hero__nav {
    color: var(--fe-white);
  }

  .fe-primary-header__brand .fe-logo-desktop {
    display: none;
  }

  .fe-primary-header__brand .fe-logo-mobile {
    display: block;
  }

  .fe-category-page__inner,
  .fe-category-page .fe-wrap,
  .fe-category-hero__inner,
  .fe-site-header__bar {
    width: min(100%, calc(100% - 48px));
  }

  .fe-category-hero__inner {
    min-height: 720px;
    padding: 40px 0 48px;
  }

  .fe-blog-grid {
    grid-template-columns: 1fr;
  }

  .fe-blog-cats {
    gap: 4px;
  }

  .fe-blog-cats__item {
    font-size: 15px;
    padding: 6px 14px;
  }

  .fe-testimonial-layout {
    gap: 24px;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
  }
}

@media (max-width: 768px) {
  :root {
    --fe-layout-margin: 20px;
    --fe-layout-gutter: 12px;
  }

  .fe-category-page__outer {
    width: min(100%, calc(100% - 32px));
  }

  .fe-category-hero__stage {
    min-height: 590px;
    width: 100%;
  }

  .fe-category-page__inner,
  .fe-category-page .fe-wrap,
  .fe-category-hero__inner,
  .fe-site-header__bar {
    width: min(100%, calc(100% - 32px));
  }

  .fe-category-hero__inner {
    min-height: 590px;
  }

  .fe-category-hero__brand img {
    height: 52px;
  }

  .fe-category-hero__title {
    font-size: 42px;
    line-height: 1.15;
  }

  .fe-category-page__content {
    padding: 40px 0 64px;
  }

  .fe-standard-page__title {
    font-size: 36px;
    line-height: 1.15;
  }

  .fe-brands-marquee {
    cursor: grab;
    margin-top: 16px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .fe-brands-marquee::-webkit-scrollbar {
    display: none;
  }

  .fe-brands-marquee:active {
    cursor: grabbing;
  }

  .fe-brands-marquee-inner {
    animation: none;
  }

  .fe-brands-track {
    gap: 24px;
    padding-right: 24px;
  }

  .fe-brands-track:last-child {
    display: none;
  }

  .fe-brand-logo {
    height: 96px;
  }

  .fe-blog-toolbar {
    padding: 30px 0 0;
  }

  .fe-blog-search {
    flex-direction: column;
    max-width: none;
  }

  .fe-blog-cats {
    margin-top: 20px;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .fe-blog-cats__item {
    font-size: 14px;
    padding: 6px 12px;
    white-space: nowrap;
  }

  .fe-blog-feed {
    padding: 30px 0;
  }

  .fe-blog-grid {
    gap: 24px;
    grid-template-columns: 1fr;
  }

  .fe-news-title {
    font-size: 18px;
    line-height: 26px;
  }

  .fe-testimonial {
    padding: 30px 0;
  }

  .fe-testimonial-layout {
    gap: 20px;
    grid-template-areas:
      "content content content"
      "prev . next";
    grid-template-columns: 48px minmax(0, 1fr) 48px;
  }

  .fe-testimonial-slide {
    padding: 0;
  }

  .fe-testimonial-content {
    min-height: 0;
  }

  .fe-testimonial-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-top: 24px;
  }

  .fe-testimonial-logo img {
    max-height: 38px;
    max-width: 150px;
  }

  .fe-testimonial-quote {
    font-size: 20px;
    line-height: 1.4;
  }

  .fe-testimonial-source {
    font-size: 14px;
    line-height: 20px;
    max-width: none;
    text-align: left;
  }

  .fe-arrow {
    height: 48px;
    justify-self: start;
    width: 48px;
  }

  .fe-arrow-next {
    justify-self: end;
  }
}

/* --- Mobile Navigation --- */

.fe-mobile-nav-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: none;
  height: 44px;
  justify-content: center;
  padding: 0;
  width: 44px;
  z-index: 100;
}

.fe-hamburger {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 24px;
}

.fe-hamburger__line {
  background: currentColor;
  border-radius: 2px;
  display: block;
  height: 2px;
  transition: transform 0.25s ease;
  width: 100%;
}

.fe-mobile-nav-toggle[aria-expanded="true"] .fe-hamburger__line:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.fe-mobile-nav-toggle[aria-expanded="true"] .fe-hamburger__line:nth-child(2) {
  transform: translateY(-5px) rotate(-45deg);
}

.fe-mobile-nav-overlay {
  background: rgba(16, 22, 48, 0.5);
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 0.3s ease;
  z-index: 90;
}

.fe-mobile-nav-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.fe-mobile-nav-drawer {
  background: var(--fe-white);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  color: var(--fe-dark);
  display: flex;
  flex-direction: column;
  gap: 32px;
  height: 100vh;
  max-width: 340px;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 80px 32px 40px;
  position: fixed;
  right: 0;
  top: 0;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  width: 85vw;
  z-index: 95;
}

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

.fe-mobile-nav__menu {
  display: flex;
  flex-direction: column;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.fe-mobile-nav__menu a {
  color: var(--fe-dark);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  text-transform: lowercase;
}

/* Level 1 items only (root panel) */
.fe-mnav-panel[data-depth="0"] > .fe-mobile-nav__menu > li > a {
  font-size: 32px;
  font-weight: 500;
}

.fe-mobile-nav__menu a:hover,
.fe-mobile-nav__menu .current-menu-item:not(.current-menu-ancestor) > a {
  color: var(--fe-cyan);
}

.fe-mobile-nav__menu .sub-menu {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  margin: 10px 0 0;
  padding: 0 0 0 20px;
}

.fe-mobile-nav__menu .sub-menu a {
  font-size: 17px;
  font-weight: 300;
}

/* Level 2 items in drill-down panel */
.fe-mnav-panel[data-depth="1"] > .fe-mobile-nav__menu > li > a {
  font-size: 28px;
}

/* Level 3 items in drill-down panel */
.fe-mnav-panel[data-depth="2"] > .fe-mobile-nav__menu > li > a {
  font-size: 24px;
}

.fe-mobile-nav__lang {
  align-items: center;
  display: flex;
  font-size: 18px;
  font-weight: 700;
  gap: 12px;
}

.fe-mobile-nav__lang a {
  color: var(--fe-dark);
  text-decoration: none;
}

/* --- Mobile nav drill-down panels --- */

.fe-mnav-slider {
  overflow: hidden;
  position: relative;
}

.fe-mnav-panel {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(100%);
  transition: transform 0.3s ease, opacity 0.3s ease;
  width: 100%;
}

.fe-mnav-panel--active {
  opacity: 1;
  position: relative;
  transform: translateX(0);
}

.fe-mnav-panel--left {
  opacity: 0;
  transform: translateX(-30%);
}

.fe-mnav-panel--exit {
  opacity: 0;
  position: absolute;
  transform: translateX(100%);
}

/* Back button — arrow only, no text */
.fe-mnav-back {
  background: transparent;
  border: 0;
  cursor: pointer;
  height: 24px;
  margin-bottom: 24px;
  padding: 0;
  width: 24px;
}

.fe-mnav-back__arrow {
  display: block;
  height: 24px;
  position: relative;
  width: 24px;
}

.fe-mnav-back__arrow::before {
  border-left: 2px solid var(--fe-muted);
  border-bottom: 2px solid var(--fe-muted);
  content: "";
  display: block;
  height: 12px;
  left: 2px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 12px;
}

.fe-mnav-back__arrow::after {
  background: var(--fe-muted);
  content: "";
  display: block;
  height: 2px;
  left: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
}

/* Section title (cyan) — matches level 1 size */
.fe-mnav-section-title {
  margin-bottom: 24px;
}

.fe-mnav-section-title a {
  color: var(--fe-cyan);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  text-transform: lowercase;
}

/* Chevron on parent items (level 1 drill-down) */
.fe-mnav-chevron {
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  display: inline-block;
  height: 7px;
  margin-left: 8px;
  opacity: 0.5;
  transform: rotate(45deg);
  vertical-align: middle;
  width: 7px;
}


@media (max-width: 1024px) {
  .fe-primary-nav,
  .fe-primary-header__lang {
    display: none;
  }


  .fe-mobile-nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }
}

@media (min-width: 1025px) {
  .fe-mobile-nav-drawer,
  .fe-mobile-nav-overlay {
    display: none !important;
  }
}

/* --- Team Page --- */

/* About the company (zigzag rows) */

.fe-team-about {
  padding: 48px 0;
}

.fe-about-row {
  align-items: center;
  display: flex;
  gap: 48px;
}

.fe-about-row + .fe-about-row {
  margin-top: 48px;
}

.fe-about-row--reverse {
  flex-direction: row-reverse;
}

.fe-about-row__text {
  flex: 1;
}

.fe-about-row__text p {
  color: var(--fe-text);
  font-size: 18px;
  font-weight: 300;
  line-height: 28px;
  margin: 0;
}

.fe-about-row__image {
  flex: 1.4;
}

.fe-about-row__image img {
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

@media (max-width: 768px) {
  .fe-team-about {
    padding: 30px 0;
  }

  .fe-about-row,
  .fe-about-row--reverse {
    flex-direction: column;
    gap: 24px;
  }

  .fe-about-row + .fe-about-row {
    margin-top: 30px;
  }

  .fe-about-row__text p {
    font-size: 16px;
    line-height: 24px;
  }
}

/* Founder profile */

.fe-team-founder {
  padding: 48px 0;
}

.fe-founder {
  align-items: flex-start;
  display: flex;
  gap: 48px;
}

.fe-founder__photo {
  flex-shrink: 0;
  width: 320px;
}

.fe-founder__photo img {
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.fe-founder__info {
  flex: 1;
  min-width: 0;
}

.fe-founder__name {
  font-size: var(--fe-type-display-xl-size);
  font-weight: 700;
  line-height: var(--fe-type-display-xl-line);
  margin: 0;
}

.fe-founder__position {
  color: var(--fe-cyan);
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  margin: 8px 0 0;
}

.fe-founder__bio {
  font-size: 18px;
  font-weight: 300;
  line-height: 28px;
  margin: 24px 0 0;
  max-width: 600px;
}

.fe-founder__links {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.fe-founder__link {
  align-items: center;
  border: 1px solid var(--fe-border);
  display: inline-flex;
  height: 44px;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease;
  width: 44px;
}

.fe-founder__link i {
  font-size: 22px;
}

.fe-founder__link:hover {
  border-color: var(--fe-cyan);
  color: var(--fe-cyan);
}

/* Team grid */

.fe-team-grid-section {
  padding: 48px 0;
}

.fe-team-grid__title {
  font-size: var(--fe-type-display-xl-size);
  font-weight: 700;
  line-height: var(--fe-type-display-xl-line);
  margin: 0 0 48px;
}

.fe-team-grid__title span {
  color: var(--fe-cyan);
}

.fe-team-grid {
  display: grid;
  gap: 32px 38px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fe-team-card {
  background: var(--fe-white);
  border-bottom: 8px solid var(--fe-cyan);
  box-shadow: 0 8px 20px rgba(16, 22, 48, 0.1), 0 3px 8px rgba(16, 22, 48, 0.06);
  display: flex;
  flex-direction: column;
  padding: 0 0 24px;
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.fe-team-card__photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.fe-team-card__photo img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.fe-team-card__name {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  margin: 20px 24px 0;
}

.fe-team-card__position {
  color: var(--fe-cyan);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  margin: 4px 24px 0;
}

.fe-team-card__text {
  color: var(--fe-muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 20px;
  margin: 12px 24px 0;
}

.fe-team-card__links {
  display: flex;
  gap: 8px;
  margin: 16px 24px 0;
}

.fe-team-card__link {
  align-items: center;
  border: 1px solid var(--fe-border);
  display: inline-flex;
  height: 36px;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease;
  width: 36px;
}

.fe-team-card__link i {
  font-size: 18px;
}

.fe-team-card__link:hover {
  border-color: var(--fe-cyan);
  color: var(--fe-cyan);
}

@media (hover: hover) and (pointer: fine) {
  .fe-team-card:hover {
    box-shadow: 0 18px 36px rgba(16, 22, 48, 0.18), 0 8px 16px rgba(16, 22, 48, 0.1);
    transform: translateY(-3px);
  }
}

/* Team responsive */

@media (max-width: 1024px) {
  .fe-founder {
    flex-direction: column;
    gap: 32px;
  }

  .fe-founder__photo {
    width: 260px;
  }

  .fe-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fe-team-founder,
  .fe-team-grid-section {
    padding: 36px 0;
  }
}

@media (max-width: 768px) {
  .fe-founder__photo {
    width: 100%;
    max-width: 320px;
  }

  .fe-founder__name {
    font-size: 28px;
  }

  .fe-founder__bio {
    font-size: 16px;
    line-height: 24px;
  }

  .fe-team-grid {
    grid-template-columns: 1fr;
  }

  .fe-team-grid__title {
    font-size: 28px;
    margin-bottom: 32px;
  }

  .fe-team-founder,
  .fe-team-grid-section {
    padding: 30px 0;
  }
}

/* --- Careers Section --- */

.fe-careers {
  padding: 64px 0;
}

.fe-careers__layout {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr 2fr;
  align-items: start;
}

.fe-careers__intro {
  position: sticky;
  top: 32px;
}

.fe-careers__title {
  font-size: var(--fe-type-display-xl-size);
  font-weight: 700;
  line-height: var(--fe-type-display-xl-line);
  margin: 0 0 32px;
}

.fe-careers__title span {
  color: var(--fe-cyan);
}

.fe-careers__grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fe-job-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.fe-job-card__body {
  flex: 1;
}

.fe-job-card__meta {
  color: var(--fe-text);
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  margin: 0;
}

.fe-job-card__border {
  background: var(--fe-cyan);
  height: 3px;
  margin-top: 8px;
  width: 100%;
}

.fe-job-card__title {
  color: var(--fe-text);
  font-size: var(--fe-type-display-lg-size);
  font-weight: 700;
  line-height: var(--fe-type-display-lg-line);
  margin: 16px 0 0;
}

.fe-job-card__desc {
  color: var(--fe-muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 20px;
  margin: 8px 0 0;
}

.fe-job-card > .fe-btn {
  align-self: flex-start;
}

@media (max-width: 1024px) {
  .fe-careers__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .fe-careers__intro {
    position: static;
  }

  .fe-careers {
    padding: 48px 0;
  }
}

@media (max-width: 768px) {
  .fe-careers {
    padding: 30px 0;
  }

  .fe-careers__title {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .fe-careers__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* --- Breadcrumbs --- */

.fe-breadcrumbs {
  margin-bottom: 16px;
  padding-top: 8px;
  position: relative;
  z-index: 1;
}

.fe-breadcrumbs__list {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.fe-breadcrumbs__item {
  align-items: center;
  display: flex;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.4;
}

.fe-breadcrumbs__item + .fe-breadcrumbs__item::before {
  color: var(--fe-muted);
  content: "/";
  margin: 0 8px;
}

.fe-breadcrumbs__item a {
  color: var(--fe-muted);
  text-decoration: none;
  background-image: linear-gradient(var(--fe-cyan), var(--fe-cyan));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  padding-bottom: 1px;
  transition: color 0.2s ease, background-size 0.3s ease;
}

.fe-breadcrumbs__item a:hover {
  color: var(--fe-cyan);
  background-size: 100% 1px;
}

.fe-breadcrumbs__item span[aria-current] {
  color: var(--fe-text);
}

/* --- Service Child Page --- */

.fe-service-child {
  background: var(--fe-white);
  padding: 64px 0;
}

.fe-service-child__title {
  color: var(--fe-text);
  font-size: var(--fe-type-display-2xl-size);
  font-weight: 700;
  line-height: var(--fe-type-display-2xl-line);
  margin: 0 0 40px;
}

.fe-service-child__title span {
  color: var(--fe-cyan);
}

.fe-service-child__content {
  color: var(--fe-text);
  font-size: 18px;
  font-weight: 300;
  line-height: 28px;
  max-width: 800px;
}

.fe-service-child__content > *:first-child {
  margin-top: 0;
}

.fe-service-child__content h2 {
  font-size: var(--fe-type-display-md-size);
  font-weight: 700;
  line-height: var(--fe-type-display-md-line);
  margin: 48px 0 16px;
}

.fe-service-child__content h3 {
  font-size: var(--fe-type-display-sm-size);
  font-weight: 700;
  line-height: var(--fe-type-display-sm-line);
  margin: 32px 0 12px;
}

.fe-service-child__content p {
  margin: 16px 0;
}

.fe-service-child__content a {
  color: var(--fe-cyan);
  text-decoration: none;
  background-image: linear-gradient(var(--fe-cyan), var(--fe-cyan));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  padding-bottom: 1px;
  transition: background-size 0.3s ease;
}

.fe-service-child__content a:hover {
  background-size: 100% 1px;
}

/* --- Sibling Service Cards --- */

.fe-sibling-services {
  padding: 64px 0;
}

.fe-sibling-services__title {
  font-size: var(--fe-type-display-xl-size);
  font-weight: 700;
  line-height: var(--fe-type-display-xl-line);
  margin: 0 0 32px;
}

.fe-sibling-services__title span {
  color: var(--fe-cyan);
}

.fe-sibling-services__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fe-sibling-card {
  align-items: center;
  background: var(--fe-white);
  border-bottom: 3px solid var(--fe-cyan);
  display: flex;
  justify-content: space-between;
  padding: 24px 28px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fe-sibling-card:hover {
  box-shadow: 0 8px 24px rgba(16, 22, 48, 0.1);
  transform: translateY(-2px);
}

.fe-sibling-card__name {
  color: var(--fe-text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.fe-sibling-card__arrow {
  color: var(--fe-cyan);
  flex-shrink: 0;
  font-size: 22px;
  margin-left: 16px;
}

@media (max-width: 1024px) {
  .fe-sibling-services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .fe-service-child {
    padding: 30px 0;
  }

  .fe-service-child__title {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .fe-service-child__content {
    font-size: 16px;
    line-height: 26px;
  }

  .fe-sibling-services {
    padding: 30px 0;
  }

  .fe-sibling-services__title {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .fe-sibling-services__grid {
    grid-template-columns: 1fr;
  }

  .fe-sibling-card {
    padding: 20px 24px;
  }
}

/* --- Case Study Stats --- */

.fe-case-stats {
  background: color-mix(in srgb, var(--fe-cyan) 8%, transparent);
  padding: 40px 0;
}

.fe-case-stats__grid {
  display: flex;
  gap: 48px;
  justify-content: center;
}

.fe-case-stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.fe-case-stats__value {
  color: var(--fe-cyan);
  font-size: var(--fe-type-display-xl-size);
  font-weight: 700;
  line-height: var(--fe-type-display-xl-line);
}

.fe-case-stats__label {
  color: var(--fe-text);
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  margin-top: 4px;
}

@media (max-width: 768px) {
  .fe-case-stats__grid {
    flex-direction: column;
    gap: 24px;
  }

  .fe-case-stats__value {
    font-size: 32px;
  }
}

/* --- Single Post --- */

/* Standalone site header (no hero) — matches category hero nav positioning */

.fe-site-header {
  background: var(--fe-white);
  border-bottom: 1px solid var(--fe-bg);
  padding: var(--fe-header-top-space) 0 20px;
}

.fe-site-header__inner {
  margin-inline: auto;
  width: min(var(--fe-content-max), calc(100% - 160px));
}

/* Article wrapper — white card on grey page bg */

.fe-single-post {
  background: var(--fe-white);
}

.fe-single-post__header {
  padding: 30px 0 0;
}

.fe-single-post__header-center {
  margin-inline: auto;
  max-width: 768px;
  text-align: center;
}

.fe-single-post__date {
  color: var(--fe-cyan);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  margin: 0;
}

.fe-single-post__title {
  color: var(--fe-text);
  font-size: var(--fe-type-display-2xl-size);
  font-weight: 700;
  line-height: var(--fe-type-display-2xl-line);
  margin: 12px 0 0;
}

.fe-single-post__subtitle {
  color: var(--fe-muted);
  font-size: 20px;
  font-weight: 300;
  line-height: 30px;
  margin: 24px 0 0;
}

.fe-single-post__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 24px;
}

.fe-single-post__category {
  background: color-mix(in srgb, var(--fe-cyan) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--fe-cyan) 30%, transparent);
  border-radius: 16px;
  color: var(--fe-cyan);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  padding: 2px 10px;
  text-decoration: none;
}

.fe-single-post__category:hover {
  background: color-mix(in srgb, var(--fe-cyan) 20%, transparent);
}

.fe-single-post__featured {
  margin-top: 48px;
}

.fe-single-post__featured-img {
  aspect-ratio: 1216 / 640;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

/* Article body */

.fe-single-post__body {
  padding: 48px 0;
}

.fe-single-post__content {
  color: var(--fe-text);
  font-size: 18px;
  font-weight: 300;
  line-height: 28px;
  margin-inline: auto;
  max-width: 720px;
}

.fe-single-post__content > *:first-child {
  margin-top: 0;
}

.fe-single-post__content p {
  margin: 18px 0;
}

.fe-single-post__content h2 {
  color: var(--fe-text);
  font-size: 30px;
  font-weight: 700;
  line-height: 38px;
  margin: 48px 0 20px;
}

.fe-single-post__content h3 {
  color: var(--fe-text);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  margin: 32px 0 16px;
}

.fe-single-post__content img {
  display: block;
  height: auto;
  margin: 48px 0;
  max-width: 100%;
}

.fe-single-post__content blockquote {
  border-left: 2px solid var(--fe-cyan);
  color: var(--fe-text);
  font-size: 24px;
  font-style: italic;
  font-weight: 500;
  line-height: 32px;
  margin: 48px 0;
  padding: 8px 0 8px 20px;
}

.fe-single-post__content blockquote p {
  margin: 0;
}

.fe-single-post__content blockquote cite {
  color: var(--fe-muted);
  display: block;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 24px;
  margin-top: 32px;
}

.fe-single-post__content a {
  color: var(--fe-cyan);
  text-decoration: none;
  background-image: linear-gradient(var(--fe-cyan), var(--fe-cyan));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0% 1px;
  padding-bottom: 1px;
  transition: background-size 0.3s ease;
}

.fe-single-post__content a:hover {
  background-size: 100% 1px;
}

.fe-single-post__content ul,
.fe-service-child__content ul {
  list-style: none;
  margin: 18px 0;
  padding-left: 0;
}

.fe-single-post__content ol,
.fe-service-child__content ol {
  margin: 18px 0;
  padding-left: 24px;
}

.fe-single-post__content li,
.fe-service-child__content li {
  margin-bottom: 6px;
  padding-left: 20px;
  position: relative;
}

.fe-single-post__content ul > li::before,
.fe-service-child__content ul > li::before {
  background: var(--fe-cyan);
  content: '';
  height: 8px;
  left: 0;
  position: absolute;
  top: 10px;
  width: 8px;
}

/* Author + share footer */

.fe-single-post__footer {
  align-items: center;
  border-top: 1px solid var(--fe-border);
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin: 48px auto 0;
  max-width: 720px;
  padding-top: 24px;
}

a.fe-single-post__author {
  text-decoration: none;
  color: inherit;
}

a.fe-single-post__author:hover .fe-single-post__author-name {
  color: var(--fe-cyan);
}

.fe-single-post__author {
  align-items: center;
  display: flex;
  gap: 12px;
}

.fe-single-post__avatar {
  border-radius: 50%;
  height: 48px;
  width: 48px;
}

.fe-single-post__author-name {
  color: var(--fe-text);
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  margin: 0;
}

.fe-single-post__author-role {
  color: var(--fe-muted);
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  margin: 0;
}

.fe-single-post__share {
  display: flex;
  gap: 12px;
}

.fe-single-post__share-btn {
  align-items: center;
  border: 1px solid var(--fe-border);
  border-radius: 8px;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  transition: border-color 0.2s ease;
  width: 40px;
}

.fe-single-post__share-btn:hover {
  border-color: var(--fe-cyan);
}

.fe-single-post__share-btn img {
  filter: brightness(0);
  height: 20px;
  width: 20px;
}

/* Newsletter signup */

.fe-newsletter {
  background: var(--fe-dark);
  color: var(--fe-white);
  padding: 64px 0;
}

.fe-newsletter__inner {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 960px;
  margin: 0 auto;
}

.fe-newsletter__copy {
  flex: 1;
}

.fe-newsletter__title {
  font-size: 30px;
  font-weight: 700;
  line-height: 38px;
  margin: 0 0 12px;
}

.fe-newsletter__text {
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  margin: 0;
  opacity: 0.8;
}

.fe-newsletter__embed {
  flex: 1;
  min-width: 0;
}

.fe-newsletter__embed iframe {
  display: block;
  width: 100% !important;
  height: 60px !important;
  max-width: 100%;
}

.fe-newsletter__placeholder {
  flex: 1;
  opacity: 0.5;
  font-size: 14px;
}

@media (max-width: 768px) {
  .fe-newsletter {
    padding: 40px 0;
  }

  .fe-newsletter__inner {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .fe-newsletter__title {
    font-size: 24px;
    line-height: 32px;
  }
}

/* Related posts section */

.fe-single-post__related {
  padding: 48px 0;
}

.fe-single-post__related-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 44px;
  margin: 0;
}

.fe-single-post__related-subtitle {
  color: var(--fe-muted);
  font-size: 20px;
  font-weight: 300;
  line-height: 30px;
  margin: 20px 0 0;
}

.fe-single-post__related .fe-blog-grid {
  margin-top: 48px;
}

.fe-single-post__related-cta {
  display: flex;
  justify-content: flex-end;
  margin-top: 48px;
}

/* --- Single post responsive --- */

@media (max-width: 1024px) {
  .fe-site-header__inner {
    width: min(100%, calc(100% - 48px));
  }
}

@media (max-width: 768px) {
  .fe-site-header__inner {
    width: min(100%, calc(100% - 32px));
  }

  .fe-single-post__title {
    font-size: 36px;
    line-height: 1.15;
  }

  .fe-single-post__subtitle {
    font-size: 18px;
    line-height: 28px;
  }

  .fe-single-post__featured-img {
    aspect-ratio: auto;
  }

  .fe-single-post__content {
    font-size: 16px;
    line-height: 26px;
  }

  .fe-single-post__content h2 {
    font-size: 24px;
    line-height: 32px;
  }

  .fe-single-post__content h3 {
    font-size: 20px;
    line-height: 28px;
  }

  .fe-single-post__content blockquote {
    font-size: 20px;
    line-height: 28px;
  }

  .fe-single-post__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .fe-single-post__related {
    padding: 30px 0;
  }

  .fe-single-post__related-title {
    font-size: 28px;
    line-height: 36px;
  }

  .fe-single-post__related .fe-blog-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Contact Form Inputs --- */

.fe-contact-form .fe-form-field {
  position: relative;
}

.fe-contact-form input[type="text"],
.fe-contact-form input[type="tel"],
.fe-contact-form textarea,
.fe-contact-form select {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--fe-dark);
  font-family: "museo-sans", "Segoe UI", sans-serif;
  font-size: clamp(16px, 1.5vw, 20px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.4;
  padding: 14px 10px;
  width: 100%;
}

.fe-contact-form input::placeholder,
.fe-contact-form textarea::placeholder {
  color: var(--fe-muted);
}

.fe-contact-form select {
  cursor: pointer;
}

.fe-contact-form textarea {
  min-height: 80px;
  resize: vertical;
}

.fe-contact-form input:focus,
.fe-contact-form textarea:focus,
.fe-contact-form select:focus {
  outline: 2px solid color-mix(in srgb, var(--fe-cyan) 40%, transparent);
  outline-offset: 2px;
}

.fe-form-success {
  background: color-mix(in srgb, var(--fe-cyan) 12%, transparent);
  border-left: 4px solid var(--fe-cyan);
  margin-bottom: 24px;
  padding: 16px 20px;
}

.fe-form-success p {
  color: var(--fe-dark);
  font-size: 18px;
  font-weight: 500;
  margin: 0;
}

.fe-form-error {
  background: color-mix(in srgb, var(--fe-red) 10%, transparent);
  border-left: 4px solid var(--fe-red);
  color: var(--fe-dark);
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 24px;
}

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

/* --- Skip Navigation --- */

.fe-skip-link {
  background: var(--fe-cyan);
  color: var(--fe-white);
  font-size: 16px;
  font-weight: 700;
  left: 50%;
  padding: 12px 24px;
  position: fixed;
  text-decoration: none;
  top: -100%;
  transform: translateX(-50%);
  z-index: 999;
}

.fe-skip-link:focus {
  top: 12px;
}

/* --- Contact page title --- */

.fe-contact-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 44px;
  margin: 0 0 32px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

/* --- Contact form + Office --- */

.fe-contacts {
  background-color: var(--fe-bg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 48px 0;
}

.fe-contacts-grid {
  align-items: start;
  display: grid;
  gap: 96px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  position: relative;
}

.fe-form-area h2,
.fe-office-area h2 {
  font-size: var(--fe-type-display-2xl-size);
  font-weight: 700;
  line-height: var(--fe-type-display-2xl-line);
  margin: 0 0 26px;
}

.fe-form-field input,
.fe-form-field select,
.fe-form-field textarea {
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  outline: none;
  padding: 0;
  width: 100%;
}

.fe-form-field textarea {
  resize: vertical;
}

.fe-form-field {
  border-bottom: 2px solid var(--fe-cyan);
  color: var(--fe-muted);
  font-size: var(--fe-type-display-sm-size);
  font-style: italic;
  font-weight: 300;
  line-height: var(--fe-type-display-sm-line);
  margin-top: 26px;
  min-height: 62px;
  padding: 4px 10px 14px;
}

.fe-form-field-last {
  margin-top: 72px;
}

.fe-form-select {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.fe-form-select .ph {
  color: var(--fe-cyan);
  font-size: 26px;
  line-height: 1;
}

.fe-form-area .fe-btn {
  display: flex;
  margin-top: 64px;
  max-width: 620px;
  min-height: 88px;
  width: 100%;
}

/* Contact Form 7 styling */

.fe-form-area .wpcf7-form p {
  margin: 0;
}

.fe-form-area .wpcf7-form .wpcf7-form-control-wrap::before {
  display: none;
}

.fe-form-area .wpcf7-form label:not(:has(select)) {
  display: none;
}

.fe-form-area .wpcf7-form input[type="text"],
.fe-form-area .wpcf7-form input[type="email"],
.fe-form-area .wpcf7-form input[type="tel"],
.fe-form-area .wpcf7-form input[type="url"],
.fe-form-area .wpcf7-form select,
.fe-form-area .wpcf7-form textarea {
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--fe-cyan);
  border-radius: 0;
  color: var(--fe-dark);
  font-family: inherit;
  font-size: 20px;
  font-style: italic;
  font-weight: 300;
  line-height: 28px;
  margin: 4px 0 20px;
  outline: none;
  padding: 8px 0 14px;
  width: 100%;
}

.fe-form-area .wpcf7-form input::placeholder,
.fe-form-area .wpcf7-form textarea::placeholder {
  color: var(--fe-muted);
}

.fe-form-area .wpcf7-form input:focus,
.fe-form-area .wpcf7-form select:focus,
.fe-form-area .wpcf7-form textarea:focus {
  border-bottom-color: var(--fe-dark);
  border-bottom-width: 3px;
}

.fe-form-area .wpcf7-form label {
  color: var(--fe-muted);
  display: block;
  font-size: 20px;
  font-style: italic;
  font-weight: 300;
}

.fe-form-area .wpcf7-form textarea {
  height: 120px;
  resize: vertical;
}

.fe-form-area .wpcf7-form input[type="submit"] {
  background: var(--fe-cyan);
  border: 0;
  border-radius: 100px;
  color: var(--fe-white);
  cursor: pointer;
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-top: 32px;
  min-height: 64px;
  padding: 16px 48px;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.fe-form-area .wpcf7-form input[type="submit"]:hover {
  box-shadow: 0 8px 20px color-mix(in srgb, var(--fe-cyan) 30%, transparent);
}

.fe-form-area .wpcf7-form .wpcf7-response-output {
  border: 0 !important;
  color: var(--fe-cyan);
  font-size: 16px;
  margin: 16px 0 0 !important;
  padding: 12px 0 !important;
}

.fe-form-area .wpcf7-form .wpcf7-not-valid-tip {
  color: var(--fe-red);
  font-size: 14px;
}

.fe-office-map {
  aspect-ratio: 566 / 284;
  border: 0;
  display: block;
  margin: 16px 0 24px;
  width: 100%;
}

.fe-office-area p {
  font-size: 18px;
  font-weight: 300;
  line-height: 28px;
  margin: 0 0 14px;
}

/* --- Footer --- */

.fe-footer {
  background: var(--fe-dark);
  color: var(--fe-white);
  padding: 48px 0;
}

.fe-footer-wrap {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.fe-footer-nav {
  display: flex;
  justify-content: center;
}

.fe-footer-nav .menu {
  display: flex;
  gap: clamp(30px, 4.2vw, 88px);
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.fe-footer-nav a {
  color: var(--fe-white);
  font-size: 18px;
  font-weight: 300;
  line-height: 28px;
  text-transform: lowercase;
}

.fe-footer-grid {
  align-items: start;
  border-bottom: 1px solid #292d42;
  border-top: 1px solid #292d42;
  column-gap: clamp(32px, 5vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr) minmax(220px, auto);
  grid-template-areas:
    "brand awards social"
    "address contact copyright";
  padding: 40px 0 36px;
  row-gap: 48px;
}

.fe-footer-brand { grid-area: brand; }

.fe-footer-logo {
  display: block;
  max-width: 208px;
  width: 100%;
}

.fe-footer-awards {
  grid-area: awards;
  max-width: 560px;
}

.fe-footer-awards-logo {
  display: block;
  max-width: 199px;
  width: 100%;
}

.fe-footer-awards p {
  font-size: 18px;
  font-weight: 300;
  line-height: 28px;
  margin: 18px 0 0;
  max-width: 580px;
}

.fe-footer-awards strong {
  color: var(--fe-cyan);
}

.fe-footer-social {
  align-items: center;
  display: flex;
  gap: 28px;
  grid-area: social;
  justify-content: flex-end;
}

.fe-footer-social a {
  align-items: center;
  color: var(--fe-white);
  display: inline-flex;
  justify-content: center;
  line-height: 1;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.fe-footer-social a:hover,
.fe-footer-social a:focus-visible {
  opacity: 0.75;
  transform: translateY(-1px);
}

.fe-footer-social img {
  display: block;
  height: 37px;
  width: 37px;
}

.fe-footer-copy {
  font-size: 18px;
  font-weight: 300;
  justify-self: start;
  line-height: 28px;
  margin: 0;
  max-width: 390px;
}

.fe-footer-copy-address { grid-area: address; }
.fe-footer-copy-contact { grid-area: contact; }
.fe-footer-copy-copyright { grid-area: copyright; }

/* --- Contacts + Footer responsive --- */

@media (max-width: 1024px) {
  .fe-contacts-grid {
    grid-template-columns: 1fr;
  }

  .fe-footer-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "awards"
      "social"
      "address"
      "contact"
      "copyright";
    gap: 24px;
    padding: 28px 0;
  }

  .fe-footer-nav {
    justify-content: flex-start;
  }

  .fe-footer-nav .menu {
    flex-wrap: wrap;
    gap: 18px 30px;
    justify-content: flex-start;
  }

  .fe-footer-wrap {
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .fe-contacts,
  .fe-footer {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .fe-form-area h2,
  .fe-office-area h2 {
    font-size: 28px;
  }

  .fe-office-area p,
  .fe-footer-awards p,
  .fe-footer-copy,
  .fe-footer-nav a {
    font-size: 16px;
    line-height: 24px;
  }

  .fe-form-field {
    font-size: 14px;
    line-height: 20px;
    margin-top: 12px;
    min-height: 42px;
    padding-bottom: 8px;
  }

  .fe-form-field-last {
    margin-top: 22px;
  }

  .fe-form-select .ph {
    font-size: 18px;
  }

  .fe-office-map {
    margin: 10px 0;
  }

  .fe-office-area p {
    font-size: var(--fe-type-display-sm-size);
    line-height: var(--fe-type-display-sm-line);
  }

  .fe-form-area .fe-btn {
    max-width: none;
    min-height: 48px;
    width: 100%;
  }

  .fe-footer-nav {
    justify-content: flex-start;
  }

  .fe-footer-nav .menu {
    gap: 14px;
    justify-content: flex-start;
  }

  .fe-footer-wrap {
    gap: 14px;
  }

  .fe-footer-logo {
    max-width: 104px;
  }

  .fe-footer-awards-logo {
    max-width: 132px;
  }

  .fe-footer-awards p,
  .fe-footer-copy {
    font-size: 14px;
    line-height: 20px;
  }

  .fe-footer-social {
    gap: 10px;
    justify-content: flex-start;
  }

  .fe-footer-social img {
    height: 24px;
    width: 24px;
  }

  .fe-footer-grid {
    row-gap: 24px;
  }
}

/* ── 404 Page ── */
.fe-404 {
  background-color: #000000;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: var(--fe-header-top-space) 0 72px;
  position: relative;
}

.fe-404::before {
  display: none;
}

.fe-404 > .fe-wrap {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.fe-404__copy {
  color: var(--fe-white);
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  margin-inline: auto;
  max-width: var(--fe-content-max);
  position: relative;
  width: 100%;
  z-index: 1;
}

.fe-404__title {
  font-size: var(--fe-type-display-2xl-size);
  font-weight: 700;
  line-height: var(--fe-type-display-2xl-line);
  margin: 0;
}

.fe-404__subtitle {
  font-size: var(--fe-type-body-lg-size);
  font-weight: 300;
  line-height: var(--fe-type-body-lg-line);
  margin: 16px 0 0;
  opacity: 0.85;
}

.fe-404 .fe-btn {
  margin-top: 32px;
  align-self: flex-start;
}

@media (max-width: 1024px) {
  .fe-404 {
    min-height: 720px;
    padding-top: 34px;
  }
}

@media (max-width: 768px) {
  .fe-404 {
    min-height: 590px;
    padding-top: 18px;
  }

  .fe-404__title {
    font-size: var(--fe-type-display-lg-size);
    line-height: var(--fe-type-display-lg-line);
  }

  .fe-404__subtitle {
    font-size: var(--fe-type-body-md-size);
    line-height: var(--fe-type-body-md-line);
  }
}

/* Thank You page */

.fe-thankyou {
  background-color: #000000;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: var(--fe-header-top-space) 0 72px;
  position: relative;
}

.fe-thankyou::before {
  display: none;
}

.fe-thankyou > .fe-wrap {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.fe-thankyou__copy {
  align-items: center;
  color: var(--fe-white);
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  margin-inline: auto;
  max-width: var(--fe-content-max);
  position: relative;
  text-align: center;
  width: 100%;
  z-index: 1;
}

.fe-thankyou__title {
  font-size: var(--fe-type-display-2xl-size);
  font-weight: 700;
  line-height: var(--fe-type-display-2xl-line);
  margin: 0;
}

.fe-thankyou__subtitle {
  font-size: var(--fe-type-body-lg-size);
  font-weight: 300;
  line-height: var(--fe-type-body-lg-line);
  margin: 16px 0 0;
  opacity: 0.85;
}

.fe-thankyou .fe-btn {
  margin-top: 32px;
}

@media (max-width: 768px) {
  .fe-thankyou__title {
    font-size: var(--fe-type-display-lg-size);
    line-height: var(--fe-type-display-lg-line);
  }
}
