/*
Theme Name: Atheri Commerce Studio Editable
Theme URI: https://atheri.pl
Author: Atheri
Author URI: https://atheri.pl
Description: Fully editable Gutenberg block theme for Atheri — product visualisation, e-commerce graphics, retouching and AI lifestyle imagery.
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 7.4
Version: 5.4.4.24
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: atheri
Tags: block-theme, full-site-editing, portfolio, custom-logo, custom-colors, editor-style, accessibility-ready, translation-ready
*/

:root {
  --atheri-ink: #0e1417;
  --atheri-ink-2: #182125;
  --atheri-ink-3: #253136;
  --atheri-paper: #f5f3ee;
  --atheri-paper-2: #ece9e2;
  --atheri-white: #ffffff;
  --atheri-text: #172024;
  --atheri-muted: #667176;
  --atheri-muted-light: #b8c0c3;
  --atheri-blue: #45b8e5;
  --atheri-blue-deep: #137da9;
  --atheri-line: rgba(14, 20, 23, 0.14);
  --atheri-line-light: rgba(255, 255, 255, 0.14);
  --atheri-radius-sm: 12px;
  --atheri-radius-md: 22px;
  --atheri-radius-lg: 34px;
  --atheri-shadow-sm: 0 12px 34px rgba(14, 20, 23, 0.08);
  --atheri-shadow-lg: 0 32px 90px rgba(14, 20, 23, 0.18);
  --atheri-ease: cubic-bezier(.22, 1, .36, 1);
  --atheri-header-height: 80px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--atheri-header-height) + 24px);
}

body {
  min-width: 320px;
  overflow-x: hidden;
  color: var(--atheri-text);
  background: var(--atheri-paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button,
input,
textarea,
select { font: inherit; }

::selection { color: var(--atheri-ink); background: var(--atheri-blue); }

:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--atheri-blue);
  outline-offset: 4px;
}

body:not(.wp-admin) a {
  text-underline-offset: .22em;
  text-decoration-thickness: .08em;
}

.wp-site-blocks { min-height: 100vh; }
.wp-site-blocks > * { margin-block-start: 0; }

.atheri-skip-link {
  position: fixed;
  inset: 12px auto auto 12px;
  z-index: 10000;
  transform: translateY(-160%);
  padding: 12px 16px;
  border-radius: 10px;
  color: var(--atheri-ink);
  background: var(--atheri-blue);
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease;
}

.atheri-skip-link:focus { transform: translateY(0); }

/* Header */
.atheri-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 100;
  color: var(--atheri-white);
  border-bottom: 1px solid var(--atheri-line-light);
  background: rgba(14, 20, 23, .90);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  backdrop-filter: blur(18px) saturate(130%);
}

.admin-bar .atheri-header { inset-block-start: 32px; }

.atheri-header__inner {
  min-height: var(--atheri-header-height);
  gap: clamp(22px, 3vw, 52px);
}

.atheri-header .wp-block-site-logo { line-height: 0; }
.atheri-header .wp-block-site-logo img { width: 108px; max-height: 60px; object-fit: contain; }

.atheri-header .wp-block-navigation { gap: clamp(16px, 2vw, 32px); }
.atheri-header .wp-block-navigation-item__content {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--atheri-white);
  opacity: .72;
  text-decoration: none;
  transition: opacity 180ms ease;
}
.atheri-header .wp-block-navigation-item__content:hover,
.atheri-header .wp-block-navigation-item__content:focus-visible { opacity: 1; }
.atheri-header .wp-block-navigation__responsive-container.is-menu-open {
  padding: 28px;
  color: var(--atheri-white);
  background: var(--atheri-ink);
}
.atheri-header .wp-block-navigation__responsive-container-open,
.atheri-header .wp-block-navigation__responsive-container-close {
  min-width: 44px;
  min-height: 44px;
  color: var(--atheri-white);
}

.atheri-language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--atheri-line-light);
  border-radius: 999px;
}
.atheri-language-switcher a {
  display: grid;
  min-width: 38px;
  min-height: 34px;
  place-items: center;
  border-radius: 999px;
  color: var(--atheri-white);
  font-size: .72rem;
  font-weight: 780;
  letter-spacing: .08em;
  text-decoration: none;
  opacity: .62;
}
.atheri-language-switcher a[aria-current="page"],
.atheri-language-switcher a:hover { color: var(--atheri-ink); background: var(--atheri-white); opacity: 1; }

.atheri-header__cta .wp-block-button__link {
  min-height: 44px;
  padding: .72rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow: none;
  transition: transform 180ms var(--atheri-ease), background 180ms ease;
}
.atheri-header__cta .wp-block-button__link:hover { transform: translateY(-1px); background: #72c9eb; }

/* Layout and shared components */
.atheri-section {
  position: relative;
  overflow: clip;
  padding-block: clamp(78px, 10vw, 148px);
}
.atheri-section--dark { color: var(--atheri-white); background: var(--atheri-ink); }
.atheri-section--ink-2 { color: var(--atheri-white); background: var(--atheri-ink-2); }
.atheri-section--paper { color: var(--atheri-text); background: var(--atheri-paper); }
.atheri-section--paper-2 { color: var(--atheri-text); background: var(--atheri-paper-2); }
.atheri-section--blue { color: var(--atheri-ink); background: var(--atheri-blue); }

.atheri-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr);
  gap: clamp(28px, 6vw, 100px);
  align-items: end;
  margin-block-end: clamp(38px, 6vw, 76px);
}
.atheri-section-heading > * { margin: 0; }
.atheri-section-heading p { max-width: 34rem; color: var(--atheri-muted); }
.atheri-section--dark .atheri-section-heading p,
.atheri-section--ink-2 .atheri-section-heading p { color: var(--atheri-muted-light); }

.atheri-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  margin: 0 0 1.25rem;
  font-size: .74rem;
  font-weight: 820;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}
.atheri-eyebrow::before {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: var(--atheri-blue);
  content: "";
}
.atheri-section--blue .atheri-eyebrow::before { background: var(--atheri-ink); }

.atheri-kicker {
  max-width: 34rem;
  color: var(--atheri-muted-light);
  font-size: clamp(1rem, .94rem + .28vw, 1.22rem);
}

.atheri-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--atheri-line);
  border-radius: 999px;
  font-family: var(--wp--preset--font-family--atheri-mono);
  font-size: .82rem;
  font-weight: 700;
}

.atheri-button-secondary .wp-block-button__link {
  color: currentColor;
  border: 1px solid currentColor;
  background: transparent;
}
.atheri-button-secondary .wp-block-button__link:hover { color: var(--atheri-ink); background: var(--atheri-white); }

/* Hero */
.atheri-hero {
  position: relative;
  min-height: min(920px, calc(100svh - var(--atheri-header-height)));
  padding-block: clamp(74px, 9vw, 138px);
  color: var(--atheri-white);
  background:
    radial-gradient(circle at 82% 18%, rgba(69, 184, 229, .18), transparent 34%),
    radial-gradient(circle at 22% 86%, rgba(19, 125, 169, .14), transparent 28%),
    linear-gradient(135deg, rgba(69, 184, 229, .06) 0%, transparent 34%),
    linear-gradient(180deg, #0e1417 0%, #11191d 100%);
}
.atheri-hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(255,255,255,.03) 0%, transparent 24%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 1px, transparent 1px 120px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.02) 0 1px, transparent 1px 120px);
  mask-image: linear-gradient(180deg, rgba(0,0,0,.75), transparent 92%);
  pointer-events: none;
  content: "";
}
.atheri-hero::after {
  position: absolute;
  inset: auto -12vw -34vw auto;
  width: 64vw;
  aspect-ratio: 1;
  border: 1px solid rgba(69, 184, 229, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 9vw rgba(69, 184, 229, .025), 0 0 0 18vw rgba(69, 184, 229, .018);
  pointer-events: none;
  content: "";
}
.atheri-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(500px, 1.18fr);
  gap: clamp(40px, 6vw, 92px);
  align-items: center;
}
.atheri-hero h1 {
  max-width: 8.6ch;
  margin: 0;
  font-size: clamp(3.4rem, 1.8rem + 4.7vw, 6.15rem);
  line-height: .94;
  letter-spacing: -.065em;
  text-wrap: balance;
}
.atheri-hero__lead {
  max-width: 39rem;
  margin-block: clamp(24px, 3vw, 38px);
  color: #c0c9cc;
  font-size: clamp(1.08rem, .96rem + .42vw, 1.38rem);
}
.atheri-hero__actions { gap: 12px; }
.atheri-hero__actions .wp-block-button__link { min-height: 50px; border-radius: 999px; }
.atheri-hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: clamp(34px, 5vw, 58px);
  color: #a9b3b6;
  font-size: .84rem;
}
.atheri-hero__proof span { display: inline-flex; align-items: center; gap: 9px; }
.atheri-hero__proof span::before { width: 5px; height: 5px; border-radius: 50%; background: var(--atheri-blue); content: ""; }

/* Service strip */
.atheri-service-strip {
  padding-block: 30px;
  border-top: 1px solid var(--atheri-line-light);
  border-bottom: 1px solid var(--atheri-line-light);
  color: var(--atheri-white);
  background: var(--atheri-ink);
}
.atheri-service-strip__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.atheri-service-chip {
  margin: 0;
  padding: 10px 15px;
  border: 1px solid var(--atheri-line-light);
  border-radius: 999px;
  color: #d5dcde;
  font-size: .82rem;
  font-weight: 660;
}

/* Portfolio */
.atheri-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
}
.atheri-project-card {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  margin: 0;
  border-radius: var(--atheri-radius-md);
  background: #dfe4e3;
  box-shadow: var(--atheri-shadow-sm);
  isolation: isolate;
}
.atheri-project-card--wide { grid-column: span 8; min-height: 620px; }
.atheri-project-card--tall { grid-column: span 4; min-height: 620px; }
.atheri-project-card--half { grid-column: span 6; min-height: 500px; }
.atheri-project-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 700ms var(--atheri-ease);
}
.atheri-project-card::after {
  position: absolute;
  inset: auto 0 0;
  height: 50%;
  background: linear-gradient(180deg, transparent, rgba(9, 14, 16, .78));
  pointer-events: none;
  content: "";
}
.atheri-project-card__meta {
  position: absolute;
  inset: auto clamp(20px, 3vw, 36px) clamp(20px, 3vw, 34px);
  z-index: 2;
  color: var(--atheri-white);
}
.atheri-project-card__meta h3 { margin: 0 0 8px; font-size: clamp(1.5rem, 1.15rem + 1vw, 2.35rem); }
.atheri-project-card__meta p { margin: 0; color: #d2dade; font-size: .86rem; }
.atheri-project-card:hover img { transform: scale(1.025); }

/* Before and after */
.atheri-comparisons { display: grid; gap: clamp(22px, 4vw, 48px); }
.atheri-comparison-row {
  display: grid;
  grid-template-columns: minmax(240px, .42fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
  padding-block: clamp(30px, 5vw, 72px);
  border-top: 1px solid var(--atheri-line);
}
.atheri-comparison-row:last-child { border-bottom: 1px solid var(--atheri-line); }
.atheri-comparison-row h3 { margin: 0 0 14px; }
.atheri-comparison-row p { color: var(--atheri-muted); }

/* One product */
.atheri-product-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(180px, 15vw, 245px);
  gap: clamp(12px, 1.7vw, 22px);
}
.atheri-product-grid .wp-block-image {
  overflow: hidden;
  height: 100%;
  margin: 0;
  border-radius: var(--atheri-radius-md);
}
.atheri-product-grid .wp-block-image:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.atheri-product-grid .wp-block-image:nth-child(2) { grid-column: span 5; }
.atheri-product-grid .wp-block-image:nth-child(3) { grid-column: span 5; }
.atheri-product-grid .wp-block-image:nth-child(4) { grid-column: span 12; }
.atheri-product-grid img { width: 100%; height: 100%; object-fit: cover; }

/* Fashion */
.atheri-fashion-layout {
  display: grid;
  grid-template-columns: minmax(300px, .68fr) minmax(0, 1.32fr);
  gap: clamp(18px, 3vw, 38px);
  align-items: stretch;
}
.atheri-fashion-left-stack {
  display: grid;
  grid-template-rows: auto auto minmax(220px, 1fr);
  gap: clamp(14px, 2vw, 24px);
  min-width: 0;
}
.atheri-fashion-intro {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 380px;
  padding: clamp(28px, 4vw, 52px);
  border-radius: var(--atheri-radius-lg);
  color: var(--atheri-white);
  background: var(--atheri-ink);
}
.atheri-fashion-intro p { color: var(--atheri-muted-light); }
.atheri-fashion-intro .wp-block-buttons { margin-top: auto; padding-top: clamp(22px, 4vw, 42px); }
.atheri-fashion-source-card {
  min-height: 0;
}
.atheri-fashion-source-card .wp-block-image {
  overflow: hidden;
  height: 100%;
  min-height: 240px;
  margin: 0;
  border-radius: var(--atheri-radius-md);
  background: #e8ebea;
}
.atheri-fashion-source-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.atheri-fashion-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  min-width: 0;
}
.atheri-fashion-grid .wp-block-image { overflow: hidden; height: 100%; min-height: 298px; margin: 0; border-radius: var(--atheri-radius-md); }
.atheri-fashion-grid .wp-block-image:first-child { grid-row: span 2; }
.atheri-fashion-grid img { width: 100%; height: 100%; object-fit: cover; }

/* Listing refresh */
.atheri-listing-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 32px);
}
.atheri-listing-card { margin: 0; }
.atheri-listing-card .wp-block-image { overflow: hidden; margin: 0; border-radius: var(--atheri-radius-md); box-shadow: var(--atheri-shadow-sm); }
.atheri-listing-card img { width: 100%; }
.atheri-listing-card figcaption { margin-top: 12px; color: var(--atheri-muted); font-size: .82rem; }

/* Process */
.atheri-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--atheri-line);
  border-bottom: 1px solid var(--atheri-line);
}
.atheri-process-card {
  min-height: 320px;
  padding: clamp(28px, 4vw, 52px);
  border-right: 1px solid var(--atheri-line);
}
.atheri-process-card:last-child { border-right: 0; }
.atheri-process-card h3 { margin-top: clamp(54px, 7vw, 92px); }
.atheri-process-card p { color: var(--atheri-muted); }

/* About */
.atheri-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .55fr);
  gap: clamp(40px, 8vw, 140px);
  align-items: start;
}
.atheri-about-grid h2 { max-width: 13ch; margin-top: 0; }
.atheri-about-card {
  padding: clamp(28px, 4vw, 50px);
  border: 1px solid var(--atheri-line-light);
  border-radius: var(--atheri-radius-md);
  background: rgba(255,255,255,.045);
}
.atheri-about-card p { color: var(--atheri-muted-light); }

/* Contact / form */
.atheri-contact {
  color: var(--atheri-white);
  background:
    radial-gradient(circle at 88% 12%, rgba(69,184,229,.24), transparent 31%),
    radial-gradient(circle at 8% 72%, rgba(19,125,169,.14), transparent 28%),
    linear-gradient(180deg, #0c1215 0%, #0f171a 100%);
}
.atheri-contact::before {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0 1px, transparent 1px 160px),
    linear-gradient(140deg, rgba(69,184,229,.045), transparent 30%);
  pointer-events: none;
  content: "";
}
.atheri-contact__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(420px, 1.25fr);
  gap: clamp(44px, 8vw, 130px);
  align-items: start;
}
.atheri-contact__intro { position: sticky; top: calc(var(--atheri-header-height) + 36px); }
.atheri-contact__intro p { color: var(--atheri-muted-light); }
.atheri-contact__email { display: inline-block; margin-top: 28px; font-weight: 750; }

.atheri-brief-form {
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--atheri-line-light);
  border-radius: var(--atheri-radius-lg);
  background: rgba(255,255,255,.055);
  box-shadow: var(--atheri-shadow-lg);
}
.atheri-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.atheri-field { display: grid; gap: 9px; }
.atheri-field--full { grid-column: 1 / -1; }
.atheri-field label,
.atheri-field legend { color: #e6ecee; font-size: .82rem; font-weight: 720; }
.atheri-field input,
.atheri-field textarea,
.atheri-field select {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 13px;
  color: var(--atheri-white);
  background: rgba(255,255,255,.07);
  transition: border-color 160ms ease, background 160ms ease;
}
.atheri-field textarea { min-height: 150px; resize: vertical; }
.atheri-field input::placeholder,
.atheri-field textarea::placeholder { color: #8f9b9f; }
.atheri-field input:focus,
.atheri-field textarea:focus,
.atheri-field select:focus { border-color: var(--atheri-blue); background: rgba(255,255,255,.1); }
.atheri-field select option { color: var(--atheri-ink); }
.atheri-field input[type="file"] { padding: 10px; }
.atheri-field input[type="file"]::file-selector-button {
  min-height: 38px;
  margin-right: 12px;
  padding: 0 14px;
  border: 0;
  border-radius: 9px;
  color: var(--atheri-ink);
  background: var(--atheri-white);
  font-weight: 700;
  cursor: pointer;
}
.atheri-checkboxes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.atheri-check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 12px;
  color: #dce3e5;
  background: rgba(255,255,255,.035);
}
.atheri-check input { width: 18px; height: 18px; accent-color: var(--atheri-blue); }
.atheri-form-meta { margin: 14px 0 0; color: #9da9ad; font-size: .76rem; }
.atheri-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin-top: 24px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  color: var(--atheri-ink);
  background: var(--atheri-blue);
  font-weight: 820;
  cursor: pointer;
  transition: transform 180ms var(--atheri-ease), background 180ms ease;
}
.atheri-form-submit:hover { transform: translateY(-2px); background: #70caec; }
.atheri-honeypot { position: absolute !important; left: -9999px !important; }
.atheri-form-notice { margin-bottom: 18px; padding: 14px 16px; border-radius: 12px; font-size: .9rem; }
.atheri-form-notice--success { color: #dff9e7; border: 1px solid rgba(116,219,149,.45); background: rgba(62,147,90,.18); }
.atheri-form-notice--error { color: #ffe1df; border: 1px solid rgba(236,103,92,.45); background: rgba(177,61,53,.18); }

/* Footer */
.atheri-footer { color: var(--atheri-white); background: #090d0f; }
.atheri-footer__main { padding-block: clamp(60px, 8vw, 105px); }
.atheri-footer__logo img { width: min(300px, 52vw); }
.atheri-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(160px, .4fr));
  gap: clamp(34px, 6vw, 96px);
  align-items: end;
}
.atheri-footer a { color: var(--atheri-white); }
.atheri-footer__links { display: grid; gap: 10px; }
.atheri-footer__links a { opacity: .68; text-decoration: none; }
.atheri-footer__links a:hover { opacity: 1; }
.atheri-footer__bottom {
  padding-block: 22px;
  border-top: 1px solid var(--atheri-line-light);
  color: #8f9a9e;
  font-size: .78rem;
}

/* Reveal enhancement */
.js .atheri-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--atheri-ease), transform 700ms var(--atheri-ease);
}
.js .atheri-reveal.is-visible { opacity: 1; transform: none; }

/* Content templates */
.atheri-content-shell { padding-block: clamp(70px, 9vw, 130px); }
.atheri-content-shell .wp-block-post-title { max-width: 16ch; }
.atheri-content-shell .wp-block-post-featured-image { overflow: hidden; border-radius: var(--atheri-radius-md); }
.atheri-content-shell .wp-block-post-content > * { margin-block-start: 1.35em; }
.atheri-content-shell .wp-block-post-content > :is(h2,h3) { margin-block-start: 2em; }

@media (max-width: 1100px) {
  .atheri-hero__grid { grid-template-columns: 1fr; }
  .atheri-hero h1 { max-width: 12ch; }
  .atheri-hero .wp-block-column { width: 100%; }
  .atheri-fashion-layout,
  .atheri-contact__grid { grid-template-columns: 1fr; }
  .atheri-fashion-intro { min-height: 340px; }
  .atheri-fashion-left-stack { grid-template-rows: auto; }
  .atheri-fashion-source-card .wp-block-image { min-height: min(72vw, 520px); }
  .atheri-contact__intro { position: static; }
}

@media (max-width: 900px) {
  :root { --atheri-header-height: 72px; }
  .admin-bar .atheri-header { inset-block-start: 46px; }
  .atheri-header__inner { min-height: 72px; }
  .atheri-header__cta,
  .atheri-language-desktop { display: none !important; }
  .atheri-section-heading,
  .atheri-comparison-row,
  .atheri-about-grid { grid-template-columns: 1fr; }
  .atheri-project-card--wide,
  .atheri-project-card--tall,
  .atheri-project-card--half { grid-column: span 12; min-height: min(78vw, 590px); }
  .atheri-product-grid { grid-auto-rows: minmax(220px, 55vw); }
  .atheri-product-grid .wp-block-image:nth-child(n) { grid-column: span 12; grid-row: auto; }
  .atheri-process-grid { grid-template-columns: 1fr; }
  .atheri-process-card { min-height: 240px; border-right: 0; border-bottom: 1px solid var(--atheri-line); }
  .atheri-process-card:last-child { border-bottom: 0; }
}

@media (max-width: 680px) {
  .atheri-section { padding-block: 72px; }
  .atheri-hero { min-height: auto; padding-block: 64px 82px; }
  .atheri-hero__proof { display: grid; }
  .atheri-fashion-grid,
  .atheri-listing-layout,
  .atheri-form-grid,
  .atheri-checkboxes { grid-template-columns: 1fr; }
  .atheri-fashion-grid .wp-block-image:first-child { grid-row: auto; }
  .atheri-fashion-source-card .wp-block-image { min-height: 320px; }
  .atheri-field--full { grid-column: auto; }
  .atheri-project-card--wide,
  .atheri-project-card--tall,
  .atheri-project-card--half { min-height: 430px; }
  .atheri-footer__grid { grid-template-columns: 1fr; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .atheri-reveal { opacity: 1; transform: none; }
}

@media print {
  .atheri-header,
  .atheri-footer,
  .atheri-hero__actions,
  .atheri-contact { display: none !important; }
  body { color: #000; background: #fff; }
}

/* Block-editor friendly gallery internals */
.atheri-project-card > .wp-block-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
}
.atheri-project-card > .wp-block-image img { display: block; }
.atheri-project-card__meta.wp-block-group { position: absolute; }
.atheri-listing-card__caption { margin: 12px 0 0; color: var(--atheri-muted); font-size: .82rem; }
.atheri-process-card > .atheri-number { margin: 0; }


/* Fine-tuning */
.atheri-section--dark h1,
.atheri-section--ink-2 h1 {
  font-size: clamp(3.1rem, 1.7rem + 4.2vw, 5.6rem);
}
.atheri-hero .wp-block-button__link,
.atheri-header__cta .wp-block-button__link {
  font-size: .92rem;
}


/* v3.4 refinements */
.atheri-hero__grid { align-items: center; }
.atheri-showcase { max-width: 100%; margin-inline: auto; }
.atheri-showcase__tabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
.atheri-showcase__tabs button {
  flex-direction: column;
  gap: 4px;
  min-height: 72px;
  text-align: center;
  line-height: 1.18;
  font-size: .78rem;
}
.atheri-showcase__tabs button span { display: block; }
.atheri-showcase__viewport { aspect-ratio: 1.18 / 1; }
.atheri-service-strip { position: relative; z-index: 2; }

.atheri-listing-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}
.atheri-listing-card {
  position: relative;
  overflow: hidden;
  padding: clamp(18px, 2.8vw, 26px);
  border-radius: var(--atheri-radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.68), rgba(255,255,255,.3));
  box-shadow: var(--atheri-shadow-sm);
}
.atheri-listing-card__badge {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  min-height: 42px;
  margin: 0;
  padding: 0 18px;
  border-radius: 12px;
  color: #fff;
  font-size: .84rem;
  font-weight: 820;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}
.atheri-listing-card--before .atheri-listing-card__badge { background: #c24c42; }
.atheri-listing-card--after .atheri-listing-card__badge { background: var(--atheri-blue); color: var(--atheri-ink); }
.atheri-listing-card .wp-block-image { border-radius: calc(var(--atheri-radius-md) - 4px); overflow: hidden; }
.atheri-listing-card__caption { margin: 16px 2px 0; font-size: .94rem; line-height: 1.55; }

.atheri-about-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .82fr);
  gap: clamp(34px, 6vw, 96px);
  align-items: start;
}
.atheri-about-grid h2 {
  max-width: 10ch;
  font-size: clamp(2.6rem, 1.7rem + 2.6vw, 4.4rem);
  line-height: .98;
}
.atheri-about-grid > .wp-block-group:first-child { max-width: 760px; }
.atheri-about-card {
  max-width: 520px;
  justify-self: end;
  padding: clamp(26px, 4vw, 44px);
}

.atheri-contact {
  background:
    radial-gradient(circle at 88% 12%, rgba(69,184,229,.18), transparent 31%),
    radial-gradient(circle at 10% 90%, rgba(19,125,169,.12), transparent 28%),
    linear-gradient(180deg, #0c1215 0%, #0f171a 100%);
}
.atheri-contact::before { display: none; }
.atheri-contact__grid {
  grid-template-columns: minmax(300px, .7fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: start;
}
.atheri-contact__intro { max-width: 440px; }
.atheri-contact__form { width: 100%; }
.atheri-brief-form {
  max-width: 760px;
  margin-inline: auto;
  background: rgba(255,255,255,.06);
}

@media (max-width: 1100px) {
  .atheri-showcase__tabs button { min-height: 64px; font-size: .72rem; }
  .atheri-about-grid {
    grid-template-columns: 1fr;
  }
  .atheri-about-card {
    justify-self: stretch;
    max-width: none;
  }
}

@media (max-width: 900px) {
  .atheri-listing-layout,
  .atheri-contact__grid,
  .atheri-about-grid { grid-template-columns: 1fr; }
  .atheri-listing-card__badge { top: 22px; left: 22px; min-width: 132px; font-size: .78rem; }
}

@media (max-width: 680px) {
  .atheri-showcase__tabs { grid-template-columns: 1fr; }
  .atheri-showcase__tabs button { min-height: 56px; }
  .atheri-listing-card { padding: 14px; }
  .atheri-listing-card__badge { top: 18px; left: 18px; min-width: 118px; min-height: 36px; padding: 0 14px; font-size: .74rem; }
  .atheri-listing-card__caption { font-size: .9rem; }
  .atheri-contact__intro { max-width: none; }
}


/* v3.5 refinements */
.atheri-showcase__tabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 8px;
}
.atheri-showcase__tabs button {
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding-inline: 14px;
  line-height: 1.1;
  font-size: .84rem;
  white-space: normal;
}
.atheri-showcase__tabs button span {
  display: inline-flex;
  min-width: 2ch;
  justify-content: center;
}
.atheri-showcase__viewport { aspect-ratio: 1.28 / 1; }

.atheri-about-grid {
  grid-template-columns: 1fr;
  max-width: 1040px;
  margin-inline: auto;
  justify-items: center;
  gap: 28px;
}
.atheri-about-grid > .wp-block-group:first-child,
.atheri-about-card {
  width: 100%;
  max-width: 760px;
}
.atheri-about-grid h2 {
  max-width: 12ch;
  margin-inline: auto;
  font-size: clamp(2.6rem, 1.55rem + 3vw, 4.2rem);
}
.atheri-about-grid > .wp-block-group:first-child > p {
  max-width: 690px;
}
.atheri-about-card {
  justify-self: center;
  padding: clamp(24px, 3vw, 36px);
  background: rgba(255,255,255,.05);
}

.atheri-contact__grid {
  grid-template-columns: minmax(280px, .66fr) minmax(0, .96fr);
  gap: clamp(28px, 4vw, 64px);
}
.atheri-brief-form {
  max-width: 820px;
  padding: clamp(22px, 3vw, 34px);
}
.atheri-form-grid {
  gap: 18px;
}
.atheri-field label,
.atheri-field legend {
  font-size: .8rem;
}
.atheri-field input,
.atheri-field textarea,
.atheri-field select,
.atheri-services-picker > summary,
.atheri-file-upload {
  min-height: 54px;
  border-radius: 14px;
}

.atheri-services-picker {
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  background: rgba(255,255,255,.045);
  overflow: hidden;
}
.atheri-services-picker > summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  list-style: none;
  padding: 16px 18px;
  cursor: pointer;
}
.atheri-services-picker > summary::-webkit-details-marker { display: none; }
.atheri-services-picker__prompt {
  color: #cfd8db;
  font-weight: 720;
}
.atheri-services-picker__value {
  color: var(--atheri-white);
  font-weight: 620;
  text-align: left;
}
.atheri-services-picker > summary::after {
  content: '+';
  color: var(--atheri-blue);
  font-size: 1.4rem;
  line-height: 1;
  transition: transform 180ms ease;
}
.atheri-services-picker[open] > summary::after {
  transform: rotate(45deg);
}
.atheri-services-picker__panel {
  padding: 0 16px 16px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.atheri-service-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-top: 14px;
}
.atheri-service-option {
  position: relative;
}
.atheri-service-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.atheri-service-option span {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  color: #d9e1e4;
  background: rgba(255,255,255,.03);
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.atheri-service-option span::before {
  content: '';
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.24);
}
.atheri-service-option input:checked + span {
  color: #061117;
  background: rgba(69,184,229,.96);
  border-color: rgba(69,184,229,1);
  transform: translateY(-1px);
}
.atheri-service-option input:checked + span::before { background: #061117; }

.atheri-file-upload {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.07);
  cursor: pointer;
}
.atheri-file-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  clip: rect(0 0 0 0);
  overflow: hidden;
}
.atheri-file-upload__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  color: var(--atheri-ink);
  background: var(--atheri-white);
  font-weight: 760;
}
.atheri-file-upload__name {
  min-width: 0;
  color: #c4ced1;
  font-size: .9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.atheri-compare__canvas {
  touch-action: none;
}
.atheri-compare__range {
  pointer-events: none;
}

@media (max-width: 980px) {
  .atheri-contact__grid {
    grid-template-columns: 1fr;
  }
  .atheri-contact__intro,
  .atheri-brief-form {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .atheri-showcase__tabs {
    grid-template-columns: 1fr;
  }
  .atheri-showcase__tabs button {
    justify-content: flex-start;
    text-align: left;
  }
  .atheri-service-options,
  .atheri-form-grid {
    grid-template-columns: 1fr;
  }
  .atheri-field--full {
    grid-column: auto;
  }
  .atheri-services-picker > summary {
    grid-template-columns: 1fr auto;
  }
  .atheri-services-picker__prompt {
    grid-column: 1 / -1;
  }
  .atheri-file-upload {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .atheri-file-upload__name {
    white-space: normal;
  }
}


/* v3.6 cleanup */
.atheri-service-strip__inner {
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
}
.atheri-service-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.atheri-showcase__tabs {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 8px;
  align-items: stretch;
}
.atheri-showcase__tabs button {
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  min-height: 56px;
  padding: 10px 14px;
}
.atheri-showcase__tab-number {
  flex: 0 0 auto;
  font-family: ui-monospace, monospace;
  font-size: .68rem;
  opacity: .58;
}
.atheri-showcase__tab-label {
  flex: 0 1 auto;
  white-space: nowrap;
  font-size: .84rem;
}

.atheri-contact__grid {
  grid-template-columns: minmax(260px, .56fr) minmax(0, .92fr);
  gap: clamp(24px, 3vw, 48px);
}
.atheri-contact__intro {
  max-width: 360px;
}
.atheri-brief-form {
  max-width: 780px;
  margin-inline: 0;
  padding: 22px;
}
.atheri-form-grid {
  gap: 14px;
}
.atheri-field {
  gap: 6px;
}
.atheri-field label,
.atheri-field legend {
  margin: 0;
  line-height: 1.2;
}
.atheri-field input,
.atheri-field textarea,
.atheri-field select,
.atheri-services-picker > summary,
.atheri-file-upload {
  margin: 0;
}
.atheri-services-picker > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  min-height: 54px;
}
.atheri-services-picker__prompt {
  display: none;
}
.atheri-services-picker__value {
  flex: 1;
  text-align: left;
  line-height: 1.2;
}
.atheri-services-picker > summary::after {
  margin-left: auto;
}
.atheri-services-picker__panel {
  padding: 0 14px 14px;
}
.atheri-service-options {
  gap: 8px;
  padding-top: 12px;
}
.atheri-service-option span {
  min-height: 44px;
}
.atheri-file-upload {
  min-height: 54px;
  padding: 7px 8px;
}
.atheri-file-upload__button {
  min-height: 36px;
}
.atheri-form-meta {
  margin-top: 12px;
}
.atheri-form-submit {
  margin-top: 18px;
}

.atheri-compare__range {
  pointer-events: auto !important;
  touch-action: none;
}

@media (max-width: 980px) {
  .atheri-contact__grid {
    grid-template-columns: 1fr;
    max-width: 820px;
    margin-inline: auto;
  }
  .atheri-contact__intro {
    max-width: 540px;
  }
  .atheri-brief-form {
    max-width: none;
    width: 100%;
  }
}

@media (max-width: 760px) {
  .atheri-showcase__tabs {
    grid-template-columns: 1fr !important;
  }
  .atheri-showcase__tabs button {
    justify-content: flex-start;
    white-space: normal;
  }
  .atheri-showcase__tab-label {
    white-space: normal;
    text-align: left;
  }
}


/* v3.7 final alignment and form reset */
.atheri-service-strip .atheri-service-strip__inner.wp-block-group {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.atheri-service-strip .atheri-service-chip {
  margin: 0 !important;
}

.atheri-contact .atheri-brief-form {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  align-content: flex-start !important;
  gap: 0 !important;
  padding: 20px !important;
}
.atheri-contact .atheri-brief-form > * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}
.atheri-contact .atheri-brief-form .atheri-honeypot {
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.atheri-contact .atheri-form-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-auto-rows: auto !important;
  align-items: start !important;
  align-content: start !important;
  justify-content: stretch !important;
  column-gap: 14px !important;
  row-gap: 12px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
.atheri-contact .atheri-field {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 5px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.atheri-contact .atheri-field--full {
  grid-column: 1 / -1 !important;
}
.atheri-contact .atheri-field > label,
.atheri-contact .atheri-field > legend {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
}
.atheri-contact .atheri-field input,
.atheri-contact .atheri-field textarea,
.atheri-contact .atheri-field select,
.atheri-contact .atheri-services-picker,
.atheri-contact .atheri-file-upload {
  margin: 0 !important;
}
.atheri-contact .atheri-services-picker > summary {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  min-height: 52px !important;
  padding: 12px 14px !important;
}
.atheri-contact .atheri-services-picker__value {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  margin: 0 !important;
}
.atheri-contact .atheri-services-picker > summary::after {
  flex: 0 0 auto !important;
  margin-left: 8px !important;
}
.atheri-contact .atheri-file-upload {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-height: 52px !important;
  padding: 7px !important;
}
.atheri-contact .atheri-file-upload__button {
  margin: 0 !important;
}
.atheri-contact .atheri-file-upload__name {
  display: none !important;
}
.atheri-contact .atheri-form-meta {
  margin-top: 10px !important;
}
.atheri-contact .atheri-form-submit {
  margin-top: 16px !important;
}
@media (max-width: 760px) {
  .atheri-contact .atheri-form-grid {
    grid-template-columns: 1fr !important;
  }
  .atheri-contact .atheri-field--full {
    grid-column: auto !important;
  }
}


/* v3.8 — final form compacting and upload tile */
.atheri-contact .atheri-brief-form {
  padding: 14px 16px 16px !important;
}
.atheri-contact .atheri-brief-form > input[type="hidden"],
.atheri-contact .atheri-brief-form > .atheri-honeypot {
  display: none !important;
}
.atheri-contact .atheri-form-grid {
  margin: 0 !important;
  padding: 0 !important;
  row-gap: 10px !important;
  column-gap: 12px !important;
}
.atheri-contact .atheri-field {
  gap: 3px !important;
}
.atheri-contact .atheri-field > label,
.atheri-contact .atheri-field > legend {
  margin: 0 0 2px !important;
  padding: 0 !important;
  line-height: 1.15 !important;
}
.atheri-contact .atheri-field input,
.atheri-contact .atheri-field select,
.atheri-contact .atheri-field textarea,
.atheri-contact .atheri-services-picker,
.atheri-contact .atheri-file-upload {
  margin-top: 0 !important;
}
.atheri-contact .atheri-field input,
.atheri-contact .atheri-field select,
.atheri-contact .atheri-services-picker > summary,
.atheri-contact .atheri-file-upload {
  min-height: 50px !important;
}
.atheri-contact .atheri-field textarea {
  min-height: 112px !important;
}
.atheri-contact .atheri-file-upload {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 50px !important;
  padding: 0 14px !important;
  border: 1px solid rgba(69,184,229,.32) !important;
  border-radius: 14px !important;
  background: rgba(19,125,169,.13) !important;
  cursor: pointer !important;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease !important;
}
.atheri-contact .atheri-file-upload:hover {
  border-color: rgba(69,184,229,.72) !important;
  background: rgba(19,125,169,.2) !important;
  transform: translateY(-1px);
}
.atheri-contact .atheri-file-upload__button {
  display: inline !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #45b8e5 !important;
  background: transparent !important;
  font-size: .86rem !important;
  font-weight: 780 !important;
  line-height: 1.2 !important;
  text-align: center !important;
}
.atheri-contact .atheri-form-meta {
  margin: 9px 0 0 !important;
  text-align: center !important;
}
.atheri-contact .atheri-form-submit {
  display: flex !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 44px !important;
  margin: 14px auto 0 !important;
  padding: 0 18px !important;
  font-size: .84rem !important;
}

@media (max-width: 760px) {
  .atheri-contact .atheri-brief-form {
    padding: 12px !important;
  }
  .atheri-contact .atheri-form-grid {
    row-gap: 9px !important;
  }
}


/* v3.9 — language-identical form layout and mobile compare */
.atheri-contact form.atheri-brief-form[data-atheri-form-v310] {
  display: block !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 16px !important;
  align-content: initial !important;
  justify-content: initial !important;
}
.atheri-contact form.atheri-brief-form[data-atheri-form-v310] > .atheri-form-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  grid-auto-rows: auto !important;
  align-items: start !important;
  align-content: start !important;
  gap: 10px 12px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
}
.atheri-contact form.atheri-brief-form[data-atheri-form-v310] .atheri-field {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  align-content: start !important;
  gap: 4px !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}
.atheri-contact form.atheri-brief-form[data-atheri-form-v310] .atheri-field--full {
  grid-column: 1 / -1 !important;
}
.atheri-contact form.atheri-brief-form[data-atheri-form-v310] .atheri-field > label:not(.atheri-file-upload),
.atheri-contact form.atheri-brief-form[data-atheri-form-v310] .atheri-field > legend {
  display: block !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
}
.atheri-contact form.atheri-brief-form[data-atheri-form-v310] :is(input, select, textarea, details, .atheri-file-upload) {
  margin: 0 !important;
}
.atheri-contact form.atheri-brief-form[data-atheri-form-v310] .atheri-services-picker > summary {
  min-height: 50px !important;
  padding: 0 14px !important;
}
.atheri-contact form.atheri-brief-form[data-atheri-form-v310] .atheri-field > label.atheri-file-upload {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 50px !important;
  height: 50px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  text-align: center !important;
}
.atheri-contact form.atheri-brief-form[data-atheri-form-v310] .atheri-file-upload__button {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  text-align: center !important;
}
.atheri-contact form.atheri-brief-form[data-atheri-form-v310] .atheri-field textarea {
  min-height: 108px !important;
}
.atheri-contact form.atheri-brief-form[data-atheri-form-v310] .atheri-form-meta {
  margin: 10px 0 0 !important;
}
.atheri-contact form.atheri-brief-form[data-atheri-form-v310] .atheri-form-submit {
  margin: 14px auto 0 !important;
}
.atheri-contact form.atheri-brief-form[data-atheri-form-v310] > input[type="hidden"],
.atheri-contact form.atheri-brief-form[data-atheri-form-v310] > .atheri-honeypot {
  display: none !important;
}

.atheri-compare[data-atheri-compare] {
  touch-action: pan-y !important;
  -webkit-user-select: none !important;
  user-select: none !important;
}
.atheri-compare[data-atheri-compare] .atheri-compare__canvas {
  touch-action: pan-y !important;
}
.atheri-compare[data-atheri-compare] .atheri-compare__range {
  pointer-events: none !important;
}

@media (max-width: 760px) {
  .atheri-contact form.atheri-brief-form[data-atheri-form-v310] {
    padding: 14px !important;
  }
  .atheri-contact form.atheri-brief-form[data-atheri-form-v310] > .atheri-form-grid {
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }
  .atheri-contact form.atheri-brief-form[data-atheri-form-v310] .atheri-field--full {
    grid-column: auto !important;
  }
}

/* Restore the previously approved 01–03 tab layout without changing its design. */
@media (min-width: 561px) {
  .atheri-showcase .atheri-showcase__tabs {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    width: 100% !important;
    gap: 8px !important;
  }
  .atheri-showcase .atheri-showcase__tabs > button {
    display: inline-flex !important;
    flex: 1 1 0 !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
    width: auto !important;
    margin: 0 !important;
  }
}
@media (max-width: 560px) {
  .atheri-showcase .atheri-showcase__tabs {
    display: flex !important;
    flex-direction: column !important;
  }
  .atheri-showcase .atheri-showcase__tabs > button {
    justify-content: flex-start !important;
  }
}


/* v3.10 — identical Polish and English form shell */
.atheri-contact__form,
.wp-block-post-content .atheri-contact__form {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.atheri-contact form.atheri-brief-form[data-atheri-form-layout="shared"] {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 780px !important;
  margin: 0 !important;
  padding: 16px !important;
}
.atheri-contact form.atheri-brief-form[data-atheri-form-layout="shared"] > .atheri-form-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px 12px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
.atheri-contact form.atheri-brief-form[data-atheri-form-layout="shared"] .atheri-field {
  display: grid !important;
  grid-template-rows: auto auto !important;
  gap: 4px !important;
  margin: 0 !important;
  padding: 0 !important;
}
.atheri-contact form.atheri-brief-form[data-atheri-form-layout="shared"] .atheri-field--full {
  grid-column: 1 / -1 !important;
}
.atheri-contact form.atheri-brief-form[data-atheri-form-layout="shared"] .atheri-field > label:not(.atheri-file-upload) {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  line-height: 1.2 !important;
}
.atheri-contact form.atheri-brief-form[data-atheri-form-layout="shared"] .atheri-file-upload {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
@media (max-width: 760px) {
  .atheri-contact form.atheri-brief-form[data-atheri-form-layout="shared"] > .atheri-form-grid {
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }
  .atheri-contact form.atheri-brief-form[data-atheri-form-layout="shared"] .atheri-field--full {
    grid-column: auto !important;
  }
}


/* Editable block content helpers */
.atheri-hero__proof p {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
}
.atheri-hero__proof p::before {
  width: 5px;
  height: 5px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--atheri-blue);
  content: "";
}

/* v4.1 — reliable contact form interaction */
.atheri-file-upload {
  position: relative !important;
  overflow: hidden !important;
  cursor: pointer !important;
}
.atheri-file-upload input[type="file"] {
  position: absolute !important;
  inset: 0 !important;
  z-index: 3 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  clip: auto !important;
  cursor: pointer !important;
}
.atheri-file-upload__button {
  position: relative;
  z-index: 1;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: none !important;
}
.atheri-form-submit {
  pointer-events: auto !important;
}
.atheri-form-submit:disabled {
  cursor: wait;
  opacity: .68;
  transform: none !important;
}
.atheri-form-status {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: .88rem;
  line-height: 1.45;
}
.atheri-form-status[hidden] {
  display: none !important;
}
.atheri-form-status--success {
  color: #ddf8e5;
  border: 1px solid rgba(116,219,149,.45);
  background: rgba(62,147,90,.18);
}
.atheri-form-status--error {
  color: #ffe1df;
  border: 1px solid rgba(236,103,92,.45);
  background: rgba(177,61,53,.18);
}

/* v4.2 — portfolio carousels and reliable form controls */
.atheri-portfolio-grid > .wp-block-atheri-portfolio-slider {
  min-width: 0;
}
.atheri-file-input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.atheri-contact .atheri-file-upload {
  display: flex !important;
  width: 100% !important;
  min-height: 52px !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 10px 14px !important;
  border: 1px solid rgba(69,184,229,.58) !important;
  border-radius: 13px !important;
  color: var(--atheri-blue) !important;
  background: rgba(19,125,169,.12) !important;
  box-shadow: none !important;
  font-weight: 780 !important;
  text-align: center !important;
  cursor: pointer !important;
}
.atheri-contact .atheri-file-upload:hover,
.atheri-contact .atheri-file-upload:focus-visible {
  color: #071419 !important;
  background: var(--atheri-blue) !important;
}
.atheri-contact .atheri-file-upload span {
  display: block !important;
  width: 100% !important;
  overflow: hidden !important;
  text-align: center !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
.atheri-form-status {
  margin: 0 0 14px !important;
  padding: 13px 15px;
  border-radius: 12px;
  font-size: .88rem;
}
.atheri-form-status--success {
  color: #dff9e7;
  border: 1px solid rgba(116,219,149,.45);
  background: rgba(62,147,90,.18);
}
.atheri-form-status--error {
  color: #ffe1df;
  border: 1px solid rgba(236,103,92,.45);
  background: rgba(177,61,53,.18);
}
.atheri-compare,
.atheri-compare__canvas {
  touch-action: none !important;
}
.atheri-compare__range {
  z-index: 5 !important;
  pointer-events: auto !important;
  touch-action: none !important;
}
@media (max-width: 900px) {
  .atheri-project-card--wide,
  .atheri-project-card--tall,
  .atheri-project-card--half {
    min-height: min(78vw, 590px);
  }
}


/* v4.4 — balanced specialty sections and compact product mosaic */
.atheri-product-grid {
  max-width: 1260px;
  margin-inline: auto;
}

.atheri-specialty-layout,
.atheri-video-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, .72fr);
  gap: clamp(22px, 4vw, 58px);
  align-items: stretch;
}
.atheri-specialty-layout--reverse .atheri-specialty-media-grid { order: 1; }
.atheri-specialty-layout--reverse .atheri-specialty-copy { order: 2; }
.atheri-specialty-copy,
.atheri-video-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 520px;
  padding: clamp(30px, 4vw, 56px);
  border-radius: var(--atheri-radius-lg);
  color: var(--atheri-white);
  background: var(--atheri-ink);
}
.atheri-specialty-copy h2,
.atheri-video-copy h2 { max-width: 12ch; margin-top: 0; }
.atheri-specialty-copy p,
.atheri-video-copy p { color: var(--atheri-muted-light); }
.atheri-specialty-copy .wp-block-buttons,
.atheri-video-copy .wp-block-buttons { margin-top: auto; padding-top: 32px; }
.atheri-specialty-media-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  grid-template-rows: repeat(2, minmax(220px, 1fr));
  gap: clamp(14px, 2vw, 22px);
  min-width: 0;
}
.atheri-specialty-media-grid .wp-block-image {
  overflow: hidden;
  height: 100%;
  min-height: 220px;
  margin: 0;
  border-radius: var(--atheri-radius-md);
  background: #e8ebea;
}
.atheri-specialty-media-grid .wp-block-image:first-child { grid-row: span 2; }
.atheri-specialty-media-grid img { display: block; width: 100%; height: 100%; object-fit: cover; }

.atheri-sora-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 16px;
  align-items: stretch;
  padding: 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--atheri-radius-md);
  color: var(--atheri-white);
  background: linear-gradient(135deg, rgba(69,184,229,.12), rgba(255,255,255,.04));
}
.atheri-sora-card .wp-block-image {
  overflow: hidden;
  min-height: 132px;
  margin: 0;
  border-radius: 14px;
}
.atheri-sora-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.atheri-sora-card__copy { align-self: center; }
.atheri-sora-card__copy h3 { margin: 4px 0 8px; font-size: clamp(1.15rem, 1rem + .35vw, 1.45rem); line-height: 1.08; }
.atheri-sora-card__copy p { margin: 0; color: var(--atheri-muted-light); font-size: .82rem; line-height: 1.45; }
.atheri-mini-label { margin: 0; color: var(--atheri-blue) !important; font-size: .64rem !important; font-weight: 820; letter-spacing: .12em; text-transform: uppercase; }

.atheri-video-layout { grid-template-columns: minmax(320px, .72fr) minmax(0, 1.28fr); }
.atheri-video-media {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: var(--atheri-radius-lg);
  background: #0b1114;
}
.atheri-video-media .wp-block-image { height: 100%; margin: 0; }
.atheri-video-media img { display: block; width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.atheri-video-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  margin: 0;
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  color: #fff;
  background: rgba(8,13,16,.58);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: .7rem;
  font-weight: 820;
  letter-spacing: .1em;
}

/* Lock portfolio imagery inside the active slide. */
.atheri-project-carousel__viewport,
.atheri-project-carousel__slide { overflow: hidden !important; }
.atheri-project-carousel__track { contain: layout paint; }

@media (max-width: 1100px) {
  .atheri-specialty-layout,
  .atheri-video-layout { grid-template-columns: 1fr; }
  .atheri-specialty-layout--reverse .atheri-specialty-copy,
  .atheri-specialty-layout--reverse .atheri-specialty-media-grid { order: initial; }
  .atheri-specialty-copy,
  .atheri-video-copy { min-height: 360px; }
  .atheri-video-media { min-height: 440px; }
  .atheri-video-media img { min-height: 440px; }
}

@media (max-width: 760px) {
  .atheri-product-grid { grid-auto-rows: 220px; }
  .atheri-specialty-media-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .atheri-specialty-media-grid .wp-block-image:first-child { grid-row: auto; min-height: 420px; }
  .atheri-specialty-media-grid .wp-block-image { min-height: 260px; }
  .atheri-sora-card { grid-template-columns: 88px 1fr; }
  .atheri-sora-card .wp-block-image { min-height: 112px; }
  .atheri-video-media,
  .atheri-video-media img { min-height: 320px; }
  .atheri-video-badge { left: 14px; bottom: 14px; }
}

/* v4.5 — interactive SORA models and editable product video */
.atheri-video-media .wp-block-video {
  height: 100%;
  margin: 0;
}
.atheri-video-media video {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  background: #0b1114;
}
@media (max-width: 1100px) {
  .atheri-video-media video { min-height: 440px; }
}
@media (max-width: 760px) {
  .atheri-video-media video { min-height: 320px; }
}
.atheri-video-badge { pointer-events: none; }


/* v4.6 — product mosaic with a usable full-width lifestyle frame */
body .atheri-product-grid {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows:
    repeat(2, clamp(220px, 17vw, 280px))
    clamp(340px, 31vw, 440px);
  grid-auto-rows: unset;
  gap: clamp(14px, 1.8vw, 24px);
}

body .atheri-product-grid > .wp-block-image:nth-child(1) {
  grid-column: 1 / span 7;
  grid-row: 1 / span 2;
}

body .atheri-product-grid > .wp-block-image:nth-child(2) {
  grid-column: 8 / -1;
  grid-row: 1;
}

body .atheri-product-grid > .wp-block-image:nth-child(3) {
  grid-column: 8 / -1;
  grid-row: 2;
}

body .atheri-product-grid > .wp-block-image:nth-child(4) {
  grid-column: 1 / -1;
  grid-row: 3;
  min-height: clamp(340px, 31vw, 440px);
}

body .atheri-product-grid > .wp-block-image,
body .atheri-product-grid > .wp-block-image img {
  width: 100%;
  height: 100%;
}

body .atheri-product-grid > .wp-block-image img {
  display: block;
  object-fit: cover;
}

/* Tablet and phone: one clear image per row, without inheriting desktop rows. */
@media (max-width: 900px) {
  body .atheri-product-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: clamp(280px, 68vw, 460px);
    max-width: 720px;
  }

  body .atheri-product-grid > .wp-block-image:nth-child(n) {
    grid-column: 1;
    grid-row: auto;
    min-height: 0;
  }
}

@media (max-width: 560px) {
  body .atheri-product-grid {
    grid-auto-rows: clamp(250px, 76vw, 360px);
    gap: 14px;
  }
}


/* v4.7 — children spotlight: copy on the left, larger image presentation */
body .atheri-specialty-section--children .atheri-specialty-layout {
  grid-template-columns: minmax(330px, .72fr) minmax(0, 1.58fr);
  gap: clamp(22px, 3vw, 42px);
  align-items: stretch;
}

body .atheri-specialty-section--children .atheri-specialty-copy {
  order: 1 !important;
  min-height: 640px;
  padding: clamp(34px, 4vw, 58px);
}

body .atheri-specialty-section--children .atheri-specialty-media-grid {
  order: 2 !important;
  grid-template-columns: 1.32fr 1fr;
  grid-template-rows: repeat(2, minmax(300px, 1fr));
  gap: clamp(16px, 1.7vw, 24px);
  min-height: 640px;
}

body .atheri-specialty-section--children .atheri-specialty-media-grid .wp-block-image {
  min-height: 300px;
}

body .atheri-specialty-section--children .atheri-specialty-media-grid .wp-block-image:first-child {
  grid-row: 1 / span 2;
}

/* Fashion is now presented as a SORA model-library capability. */
body .atheri-fashion-intro h2 {
  max-width: 12ch;
}

body .atheri-fashion-intro .atheri-eyebrow {
  color: var(--atheri-blue);
}

@media (max-width: 1100px) {
  body .atheri-specialty-section--children .atheri-specialty-layout {
    grid-template-columns: 1fr;
    max-width: 900px;
    margin-inline: auto;
  }
  body .atheri-specialty-section--children .atheri-specialty-copy,
  body .atheri-specialty-section--children .atheri-specialty-media-grid {
    order: initial !important;
    min-height: 0;
  }
  body .atheri-specialty-section--children .atheri-specialty-copy {
    order: 1 !important;
  }
  body .atheri-specialty-section--children .atheri-specialty-media-grid {
    order: 2 !important;
    min-height: 620px;
  }
}

@media (max-width: 760px) {
  body .atheri-specialty-section--children .atheri-specialty-copy {
    min-height: auto;
  }
  body .atheri-specialty-section--children .atheri-specialty-media-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    min-height: 0;
  }
  body .atheri-specialty-section--children .atheri-specialty-media-grid .wp-block-image:first-child,
  body .atheri-specialty-section--children .atheri-specialty-media-grid .wp-block-image {
    grid-row: auto;
    min-height: min(86vw, 520px);
  }
}


/* v4.8 — rebuilt, self-explanatory SORA model library */
.atheri-model-library-section {
  background: var(--atheri-paper);
}
.atheri-model-library-section > .wp-block-group {
  max-width: 1320px;
}

/* v4.9 — ensure the SORA library always owns the full section width */
body .atheri-model-library-section > .wp-block-group.alignwide,
body .atheri-model-library-section .atheri-reveal {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
}
body .atheri-model-library-section .atheri-model-library {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
}


/* v5.0 — SORA section owns the page width; child images are not cropped on phones. */
body .atheri-model-library-section > .wp-block-group.alignwide,
body .atheri-model-library-section .atheri-reveal {
  width: 100%;
  max-width: 1420px;
  margin-inline: auto;
}
body .atheri-model-library-section .atheri-model-library {
  max-width: 1360px;
}

@media (max-width: 760px) {
  body .atheri-specialty-section--children .atheri-specialty-media-grid .wp-block-image,
  body .atheri-specialty-section--children .atheri-specialty-media-grid .wp-block-image:first-child {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    background: #f3f1eb;
  }
  body .atheri-specialty-section--children .atheri-specialty-media-grid .wp-block-image img {
    display: block;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
  }
}

/* v5.2 — independent text and image controls for every custom Atheri block. */
/* Text properties are ignored automatically when their custom variable is unset. */
.atheri-model-library .atheri-eyebrow,
.atheri-model-library-editor .atheri-eyebrow {
  color: var(--atheri-text-eyebrow-color); font-size: var(--atheri-text-eyebrow-font-size); font-family: var(--atheri-text-eyebrow-font-family); font-weight: var(--atheri-text-eyebrow-font-weight); font-style: var(--atheri-text-eyebrow-font-style); text-transform: var(--atheri-text-eyebrow-text-transform); text-align: var(--atheri-text-eyebrow-text-align); letter-spacing: var(--atheri-text-eyebrow-letter-spacing); line-height: var(--atheri-text-eyebrow-line-height); text-decoration: var(--atheri-text-eyebrow-text-decoration);
}
.atheri-model-library h2,
.atheri-model-library-editor h2 {
  color: var(--atheri-text-heading-color); font-size: var(--atheri-text-heading-font-size); font-family: var(--atheri-text-heading-font-family); font-weight: var(--atheri-text-heading-font-weight); font-style: var(--atheri-text-heading-font-style); text-transform: var(--atheri-text-heading-text-transform); text-align: var(--atheri-text-heading-text-align); letter-spacing: var(--atheri-text-heading-letter-spacing); line-height: var(--atheri-text-heading-line-height); text-decoration: var(--atheri-text-heading-text-decoration);
}
.atheri-model-library__intro-copy,
.atheri-model-library-editor__description {
  color: var(--atheri-text-copy-color); font-size: var(--atheri-text-copy-font-size); font-family: var(--atheri-text-copy-font-family); font-weight: var(--atheri-text-copy-font-weight); font-style: var(--atheri-text-copy-font-style); text-transform: var(--atheri-text-copy-text-transform); text-align: var(--atheri-text-copy-text-align); letter-spacing: var(--atheri-text-copy-letter-spacing); line-height: var(--atheri-text-copy-line-height); text-decoration: var(--atheri-text-copy-text-decoration);
}
.atheri-model-library__chooser-label strong { color: var(--atheri-text-instruction-color); font-size: var(--atheri-text-instruction-font-size); font-family: var(--atheri-text-instruction-font-family); font-weight: var(--atheri-text-instruction-font-weight); font-style: var(--atheri-text-instruction-font-style); text-transform: var(--atheri-text-instruction-text-transform); text-align: var(--atheri-text-instruction-text-align); letter-spacing: var(--atheri-text-instruction-letter-spacing); line-height: var(--atheri-text-instruction-line-height); text-decoration: var(--atheri-text-instruction-text-decoration); }
.atheri-model-library__preview-head p { color: var(--atheri-text-active-color); font-size: var(--atheri-text-active-font-size); font-family: var(--atheri-text-active-font-family); font-weight: var(--atheri-text-active-font-weight); font-style: var(--atheri-text-active-font-style); text-transform: var(--atheri-text-active-text-transform); text-align: var(--atheri-text-active-text-align); letter-spacing: var(--atheri-text-active-letter-spacing); line-height: var(--atheri-text-active-line-height); text-decoration: var(--atheri-text-active-text-decoration); }
.atheri-model-library__source figcaption { color: var(--atheri-text-source-color); font-size: var(--atheri-text-source-font-size); font-family: var(--atheri-text-source-font-family); font-weight: var(--atheri-text-source-font-weight); font-style: var(--atheri-text-source-font-style); text-transform: var(--atheri-text-source-text-transform); text-align: var(--atheri-text-source-text-align); letter-spacing: var(--atheri-text-source-letter-spacing); line-height: var(--atheri-text-source-line-height); text-decoration: var(--atheri-text-source-text-decoration); }
.atheri-model-library__face-name,
.atheri-model-library-editor__face-name { color: var(--atheri-text-model-color); font-size: var(--atheri-text-model-font-size); font-family: var(--atheri-text-model-font-family); font-weight: var(--atheri-text-model-font-weight); font-style: var(--atheri-text-model-font-style); text-transform: var(--atheri-text-model-text-transform); text-align: var(--atheri-text-model-text-align); letter-spacing: var(--atheri-text-model-letter-spacing); line-height: var(--atheri-text-model-line-height); text-decoration: var(--atheri-text-model-text-decoration); }

.atheri-showcase__tab-label { font-family: inherit; }
.atheri-showcase__tab-label:nth-of-type(2) { }
.atheri-showcase__tabs button:nth-child(1) .atheri-showcase__tab-label,
.atheri-showcase-editor__card--source strong { color: var(--atheri-text-sourcelabel-color); font-size: var(--atheri-text-sourcelabel-font-size); font-family: var(--atheri-text-sourcelabel-font-family); font-weight: var(--atheri-text-sourcelabel-font-weight); font-style: var(--atheri-text-sourcelabel-font-style); text-transform: var(--atheri-text-sourcelabel-text-transform); text-align: var(--atheri-text-sourcelabel-text-align); letter-spacing: var(--atheri-text-sourcelabel-letter-spacing); line-height: var(--atheri-text-sourcelabel-line-height); text-decoration: var(--atheri-text-sourcelabel-text-decoration); }
.atheri-showcase__tabs button:nth-child(2) .atheri-showcase__tab-label,
.atheri-showcase-editor__card--packshot strong { color: var(--atheri-text-packshotlabel-color); font-size: var(--atheri-text-packshotlabel-font-size); font-family: var(--atheri-text-packshotlabel-font-family); font-weight: var(--atheri-text-packshotlabel-font-weight); font-style: var(--atheri-text-packshotlabel-font-style); text-transform: var(--atheri-text-packshotlabel-text-transform); text-align: var(--atheri-text-packshotlabel-text-align); letter-spacing: var(--atheri-text-packshotlabel-letter-spacing); line-height: var(--atheri-text-packshotlabel-line-height); text-decoration: var(--atheri-text-packshotlabel-text-decoration); }
.atheri-showcase__tabs button:nth-child(3) .atheri-showcase__tab-label,
.atheri-showcase-editor__card--lifestyle strong { color: var(--atheri-text-lifestylelabel-color); font-size: var(--atheri-text-lifestylelabel-font-size); font-family: var(--atheri-text-lifestylelabel-font-family); font-weight: var(--atheri-text-lifestylelabel-font-weight); font-style: var(--atheri-text-lifestylelabel-font-style); text-transform: var(--atheri-text-lifestylelabel-text-transform); text-align: var(--atheri-text-lifestylelabel-text-align); letter-spacing: var(--atheri-text-lifestylelabel-letter-spacing); line-height: var(--atheri-text-lifestylelabel-line-height); text-decoration: var(--atheri-text-lifestylelabel-text-decoration); }
.atheri-showcase__caption { color: var(--atheri-text-caption-color); font-size: var(--atheri-text-caption-font-size); font-family: var(--atheri-text-caption-font-family); font-weight: var(--atheri-text-caption-font-weight); font-style: var(--atheri-text-caption-font-style); text-transform: var(--atheri-text-caption-text-transform); text-align: var(--atheri-text-caption-text-align); letter-spacing: var(--atheri-text-caption-letter-spacing); line-height: var(--atheri-text-caption-line-height); text-decoration: var(--atheri-text-caption-text-decoration); }

.atheri-project-card__meta h3,
.atheri-portfolio-slider-editor__meta h3 { color: var(--atheri-text-title-color); font-size: var(--atheri-text-title-font-size); font-family: var(--atheri-text-title-font-family); font-weight: var(--atheri-text-title-font-weight); font-style: var(--atheri-text-title-font-style); text-transform: var(--atheri-text-title-text-transform); text-align: var(--atheri-text-title-text-align); letter-spacing: var(--atheri-text-title-letter-spacing); line-height: var(--atheri-text-title-line-height); text-decoration: var(--atheri-text-title-text-decoration); }
.atheri-project-card__meta p,
.atheri-portfolio-slider-editor__meta p { color: var(--atheri-text-subtitle-color); font-size: var(--atheri-text-subtitle-font-size); font-family: var(--atheri-text-subtitle-font-family); font-weight: var(--atheri-text-subtitle-font-weight); font-style: var(--atheri-text-subtitle-font-style); text-transform: var(--atheri-text-subtitle-text-transform); text-align: var(--atheri-text-subtitle-text-align); letter-spacing: var(--atheri-text-subtitle-letter-spacing); line-height: var(--atheri-text-subtitle-line-height); text-decoration: var(--atheri-text-subtitle-text-decoration); }

.atheri-compare__label--before,
.atheri-compare-editor__card--before strong { color: var(--atheri-text-beforelabel-color); font-size: var(--atheri-text-beforelabel-font-size); font-family: var(--atheri-text-beforelabel-font-family); font-weight: var(--atheri-text-beforelabel-font-weight); font-style: var(--atheri-text-beforelabel-font-style); text-transform: var(--atheri-text-beforelabel-text-transform); text-align: var(--atheri-text-beforelabel-text-align); letter-spacing: var(--atheri-text-beforelabel-letter-spacing); line-height: var(--atheri-text-beforelabel-line-height); text-decoration: var(--atheri-text-beforelabel-text-decoration); }
.atheri-compare__label--after,
.atheri-compare-editor__card--after strong { color: var(--atheri-text-afterlabel-color); font-size: var(--atheri-text-afterlabel-font-size); font-family: var(--atheri-text-afterlabel-font-family); font-weight: var(--atheri-text-afterlabel-font-weight); font-style: var(--atheri-text-afterlabel-font-style); text-transform: var(--atheri-text-afterlabel-text-transform); text-align: var(--atheri-text-afterlabel-text-align); letter-spacing: var(--atheri-text-afterlabel-letter-spacing); line-height: var(--atheri-text-afterlabel-line-height); text-decoration: var(--atheri-text-afterlabel-text-decoration); }

/* Form field text styling. */
.atheri-brief-form .atheri-field:nth-child(1) > label { color: var(--atheri-text-namelabel-color); font-size: var(--atheri-text-namelabel-font-size); font-family: var(--atheri-text-namelabel-font-family); font-weight: var(--atheri-text-namelabel-font-weight); font-style: var(--atheri-text-namelabel-font-style); text-align: var(--atheri-text-namelabel-text-align); letter-spacing: var(--atheri-text-namelabel-letter-spacing); line-height: var(--atheri-text-namelabel-line-height); text-decoration: var(--atheri-text-namelabel-text-decoration); }
.atheri-brief-form .atheri-field:nth-child(2) > label { color: var(--atheri-text-emaillabel-color); font-size: var(--atheri-text-emaillabel-font-size); font-family: var(--atheri-text-emaillabel-font-family); font-weight: var(--atheri-text-emaillabel-font-weight); font-style: var(--atheri-text-emaillabel-font-style); }
.atheri-brief-form .atheri-field:nth-child(3) > label { color: var(--atheri-text-linklabel-color); font-size: var(--atheri-text-linklabel-font-size); font-family: var(--atheri-text-linklabel-font-family); font-weight: var(--atheri-text-linklabel-font-weight); font-style: var(--atheri-text-linklabel-font-style); }
.atheri-brief-form .atheri-field:nth-child(4) > label { color: var(--atheri-text-needslabel-color); font-size: var(--atheri-text-needslabel-font-size); font-family: var(--atheri-text-needslabel-font-family); font-weight: var(--atheri-text-needslabel-font-weight); font-style: var(--atheri-text-needslabel-font-style); }
.atheri-services-picker__value { color: var(--atheri-text-needsplaceholder-color); font-size: var(--atheri-text-needsplaceholder-font-size); font-family: var(--atheri-text-needsplaceholder-font-family); font-weight: var(--atheri-text-needsplaceholder-font-weight); font-style: var(--atheri-text-needsplaceholder-font-style); }
.atheri-brief-form .atheri-field:nth-child(5) > label { color: var(--atheri-text-countlabel-color); font-size: var(--atheri-text-countlabel-font-size); font-family: var(--atheri-text-countlabel-font-family); font-weight: var(--atheri-text-countlabel-font-weight); font-style: var(--atheri-text-countlabel-font-style); }
.atheri-brief-form .atheri-field:nth-child(6) > label { color: var(--atheri-text-fileslabel-color); font-size: var(--atheri-text-fileslabel-font-size); font-family: var(--atheri-text-fileslabel-font-family); font-weight: var(--atheri-text-fileslabel-font-weight); font-style: var(--atheri-text-fileslabel-font-style); }
.atheri-file-upload [data-file-label] { color: var(--atheri-text-filesbutton-color); font-size: var(--atheri-text-filesbutton-font-size); font-family: var(--atheri-text-filesbutton-font-family); font-weight: var(--atheri-text-filesbutton-font-weight); font-style: var(--atheri-text-filesbutton-font-style); }
.atheri-brief-form .atheri-field:nth-child(7) > label { color: var(--atheri-text-messagelabel-color); font-size: var(--atheri-text-messagelabel-font-size); font-family: var(--atheri-text-messagelabel-font-family); font-weight: var(--atheri-text-messagelabel-font-weight); font-style: var(--atheri-text-messagelabel-font-style); }
.atheri-form-meta { color: var(--atheri-text-metatext-color); font-size: var(--atheri-text-metatext-font-size); font-family: var(--atheri-text-metatext-font-family); font-weight: var(--atheri-text-metatext-font-weight); font-style: var(--atheri-text-metatext-font-style); text-align: var(--atheri-text-metatext-text-align); }
.atheri-form-submit { color: var(--atheri-text-submitlabel-color); font-size: var(--atheri-text-submitlabel-font-size); font-family: var(--atheri-text-submitlabel-font-family); font-weight: var(--atheri-text-submitlabel-font-weight); font-style: var(--atheri-text-submitlabel-font-style); text-transform: var(--atheri-text-submitlabel-text-transform); text-decoration: var(--atheri-text-submitlabel-text-decoration); }

/* Custom image crop, position, ratio, radius and opacity. */
.atheri-showcase__image--source,
.atheri-showcase-editor__card--source img { object-fit: var(--atheri-image-source-object-fit); object-position: var(--atheri-image-source-object-position); border-radius: var(--atheri-image-source-border-radius); aspect-ratio: var(--atheri-image-source-aspect-ratio); opacity: var(--atheri-image-source-opacity); }
.atheri-showcase__image--packshot,
.atheri-showcase-editor__card--packshot img { object-fit: var(--atheri-image-packshot-object-fit); object-position: var(--atheri-image-packshot-object-position); border-radius: var(--atheri-image-packshot-border-radius); aspect-ratio: var(--atheri-image-packshot-aspect-ratio); opacity: var(--atheri-image-packshot-opacity); }
.atheri-showcase__image--lifestyle,
.atheri-showcase-editor__card--lifestyle img { object-fit: var(--atheri-image-lifestyle-object-fit); object-position: var(--atheri-image-lifestyle-object-position); border-radius: var(--atheri-image-lifestyle-border-radius); aspect-ratio: var(--atheri-image-lifestyle-aspect-ratio); opacity: var(--atheri-image-lifestyle-opacity); }
.atheri-compare__before,
.atheri-compare-editor__card--before img { object-fit: var(--atheri-image-before-object-fit); object-position: var(--atheri-image-before-object-position); border-radius: var(--atheri-image-before-border-radius); aspect-ratio: var(--atheri-image-before-aspect-ratio); opacity: var(--atheri-image-before-opacity); }
.atheri-compare__after,
.atheri-compare-editor__card--after img { object-fit: var(--atheri-image-after-object-fit); object-position: var(--atheri-image-after-object-position); border-radius: var(--atheri-image-after-border-radius); aspect-ratio: var(--atheri-image-after-aspect-ratio); opacity: var(--atheri-image-after-opacity); }
.atheri-model-library__source-image { object-fit: var(--atheri-image-source-object-fit); object-position: var(--atheri-image-source-object-position); border-radius: var(--atheri-image-source-border-radius); aspect-ratio: var(--atheri-image-source-aspect-ratio); opacity: var(--atheri-image-source-opacity); }

/* Dynamic image controls for galleries. */
.atheri-project-carousel__image--0, .atheri-portfolio-slider-editor__preview figure:nth-child(1) img { object-fit: var(--atheri-image-slide0-object-fit); object-position: var(--atheri-image-slide0-object-position); border-radius: var(--atheri-image-slide0-border-radius); aspect-ratio: var(--atheri-image-slide0-aspect-ratio); opacity: var(--atheri-image-slide0-opacity); }
.atheri-project-carousel__image--1, .atheri-portfolio-slider-editor__preview figure:nth-child(2) img { object-fit: var(--atheri-image-slide1-object-fit); object-position: var(--atheri-image-slide1-object-position); border-radius: var(--atheri-image-slide1-border-radius); aspect-ratio: var(--atheri-image-slide1-aspect-ratio); opacity: var(--atheri-image-slide1-opacity); }
.atheri-project-carousel__image--2, .atheri-portfolio-slider-editor__preview figure:nth-child(3) img { object-fit: var(--atheri-image-slide2-object-fit); object-position: var(--atheri-image-slide2-object-position); border-radius: var(--atheri-image-slide2-border-radius); aspect-ratio: var(--atheri-image-slide2-aspect-ratio); opacity: var(--atheri-image-slide2-opacity); }
.atheri-project-carousel__image--3, .atheri-portfolio-slider-editor__preview figure:nth-child(4) img { object-fit: var(--atheri-image-slide3-object-fit); object-position: var(--atheri-image-slide3-object-position); border-radius: var(--atheri-image-slide3-border-radius); aspect-ratio: var(--atheri-image-slide3-aspect-ratio); opacity: var(--atheri-image-slide3-opacity); }
.atheri-project-carousel__image--4, .atheri-portfolio-slider-editor__preview figure:nth-child(5) img { object-fit: var(--atheri-image-slide4-object-fit); object-position: var(--atheri-image-slide4-object-position); border-radius: var(--atheri-image-slide4-border-radius); aspect-ratio: var(--atheri-image-slide4-aspect-ratio); opacity: var(--atheri-image-slide4-opacity); }
.atheri-project-carousel__image--5, .atheri-portfolio-slider-editor__preview figure:nth-child(6) img { object-fit: var(--atheri-image-slide5-object-fit); object-position: var(--atheri-image-slide5-object-position); border-radius: var(--atheri-image-slide5-border-radius); aspect-ratio: var(--atheri-image-slide5-aspect-ratio); opacity: var(--atheri-image-slide5-opacity); }
.atheri-project-carousel__image--6, .atheri-portfolio-slider-editor__preview figure:nth-child(7) img { object-fit: var(--atheri-image-slide6-object-fit); object-position: var(--atheri-image-slide6-object-position); border-radius: var(--atheri-image-slide6-border-radius); aspect-ratio: var(--atheri-image-slide6-aspect-ratio); opacity: var(--atheri-image-slide6-opacity); }
.atheri-project-carousel__image--7, .atheri-portfolio-slider-editor__preview figure:nth-child(8) img { object-fit: var(--atheri-image-slide7-object-fit); object-position: var(--atheri-image-slide7-object-position); border-radius: var(--atheri-image-slide7-border-radius); aspect-ratio: var(--atheri-image-slide7-aspect-ratio); opacity: var(--atheri-image-slide7-opacity); }
.atheri-project-carousel__image--8, .atheri-portfolio-slider-editor__preview figure:nth-child(9) img { object-fit: var(--atheri-image-slide8-object-fit); object-position: var(--atheri-image-slide8-object-position); border-radius: var(--atheri-image-slide8-border-radius); aspect-ratio: var(--atheri-image-slide8-aspect-ratio); opacity: var(--atheri-image-slide8-opacity); }
.atheri-project-carousel__image--9, .atheri-portfolio-slider-editor__preview figure:nth-child(10) img { object-fit: var(--atheri-image-slide9-object-fit); object-position: var(--atheri-image-slide9-object-position); border-radius: var(--atheri-image-slide9-border-radius); aspect-ratio: var(--atheri-image-slide9-aspect-ratio); opacity: var(--atheri-image-slide9-opacity); }
.atheri-project-carousel__image--10, .atheri-portfolio-slider-editor__preview figure:nth-child(11) img { object-fit: var(--atheri-image-slide10-object-fit); object-position: var(--atheri-image-slide10-object-position); border-radius: var(--atheri-image-slide10-border-radius); aspect-ratio: var(--atheri-image-slide10-aspect-ratio); opacity: var(--atheri-image-slide10-opacity); }
.atheri-project-carousel__image--11, .atheri-portfolio-slider-editor__preview figure:nth-child(12) img { object-fit: var(--atheri-image-slide11-object-fit); object-position: var(--atheri-image-slide11-object-position); border-radius: var(--atheri-image-slide11-border-radius); aspect-ratio: var(--atheri-image-slide11-aspect-ratio); opacity: var(--atheri-image-slide11-opacity); }
.atheri-model-library__face-image--0, .atheri-model-library-editor__face-card:nth-child(1) img { object-fit: var(--atheri-image-face0-object-fit); object-position: var(--atheri-image-face0-object-position); border-radius: var(--atheri-image-face0-border-radius); aspect-ratio: var(--atheri-image-face0-aspect-ratio); opacity: var(--atheri-image-face0-opacity); }
.atheri-model-library__face-image--1, .atheri-model-library-editor__face-card:nth-child(2) img { object-fit: var(--atheri-image-face1-object-fit); object-position: var(--atheri-image-face1-object-position); border-radius: var(--atheri-image-face1-border-radius); aspect-ratio: var(--atheri-image-face1-aspect-ratio); opacity: var(--atheri-image-face1-opacity); }
.atheri-model-library__face-image--2, .atheri-model-library-editor__face-card:nth-child(3) img { object-fit: var(--atheri-image-face2-object-fit); object-position: var(--atheri-image-face2-object-position); border-radius: var(--atheri-image-face2-border-radius); aspect-ratio: var(--atheri-image-face2-aspect-ratio); opacity: var(--atheri-image-face2-opacity); }
.atheri-model-library__face-image--3, .atheri-model-library-editor__face-card:nth-child(4) img { object-fit: var(--atheri-image-face3-object-fit); object-position: var(--atheri-image-face3-object-position); border-radius: var(--atheri-image-face3-border-radius); aspect-ratio: var(--atheri-image-face3-aspect-ratio); opacity: var(--atheri-image-face3-opacity); }
.atheri-model-library__set-image--0-0, .atheri-model-library-editor__preview figure:nth-child(1) img { object-fit: var(--atheri-image-set0-0-object-fit); object-position: var(--atheri-image-set0-0-object-position); border-radius: var(--atheri-image-set0-0-border-radius); aspect-ratio: var(--atheri-image-set0-0-aspect-ratio); opacity: var(--atheri-image-set0-0-opacity); }
.atheri-model-library__set-image--0-1, .atheri-model-library-editor__preview figure:nth-child(2) img { object-fit: var(--atheri-image-set0-1-object-fit); object-position: var(--atheri-image-set0-1-object-position); border-radius: var(--atheri-image-set0-1-border-radius); aspect-ratio: var(--atheri-image-set0-1-aspect-ratio); opacity: var(--atheri-image-set0-1-opacity); }
.atheri-model-library__set-image--0-2, .atheri-model-library-editor__preview figure:nth-child(3) img { object-fit: var(--atheri-image-set0-2-object-fit); object-position: var(--atheri-image-set0-2-object-position); border-radius: var(--atheri-image-set0-2-border-radius); aspect-ratio: var(--atheri-image-set0-2-aspect-ratio); opacity: var(--atheri-image-set0-2-opacity); }


/* v5.4.2 — front-end image download deterrence.
 * This blocks ordinary drag/save and mobile touch callouts without breaking
 * interactive image blocks. It cannot prevent screenshots or developer tools.
 */
body:not(.wp-admin) .wp-site-blocks img,
body:not(.wp-admin) .wp-site-blocks picture,
body:not(.wp-admin) .wp-site-blocks figure {
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

body:not(.wp-admin) .wp-site-blocks img {
  user-drag: none;
}


/* v5.4.3 — allow the SORA section to use the available desktop width. */
@media (min-width: 1121px) {
  body .atheri-model-library-section > .wp-block-group.alignwide,
  body .atheri-model-library-section .atheri-reveal {
    width: min(1640px, calc(100vw - 64px));
    max-width: 1640px;
  }

  body .atheri-model-library-section .atheri-model-library {
    width: 100%;
    max-width: 1640px;
  }
}


/* v5.4.4.1 — SORA CTA custom typography. */
.atheri-model-library__cta {
  color: var(--atheri-text-cta-color, #071318);
  font-size: var(--atheri-text-cta-font-size, .82rem);
  font-family: var(--atheri-text-cta-font-family, inherit);
  font-weight: var(--atheri-text-cta-font-weight, 800);
  font-style: var(--atheri-text-cta-font-style, normal);
  text-transform: var(--atheri-text-cta-text-transform, none);
  text-align: var(--atheri-text-cta-text-align, center);
  letter-spacing: var(--atheri-text-cta-letter-spacing, normal);
  line-height: var(--atheri-text-cta-line-height, 1.15);
  text-decoration: var(--atheri-text-cta-text-decoration, none);
}

/* v5.4.4.1 — children's section uses the same desktop start line and copy-column width as SORA. */
@media (min-width: 1121px) {
  body .atheri-specialty-section--children > .atheri-specialty-layout.alignwide,
  body .atheri-specialty-section--children > .atheri-specialty-layout {
    width: min(1640px, calc(100vw - 64px));
    max-width: 1640px;
    margin-inline: auto;
    grid-template-columns: 394px minmax(0, 1fr);
    gap: clamp(30px, 3vw, 48px);
  }

  body .atheri-specialty-section--children .atheri-specialty-copy {
    width: 394px;
    min-width: 394px;
    max-width: 394px;
  }

  body .atheri-specialty-section--children .atheri-specialty-media-grid {
    width: 100%;
    grid-template-columns: minmax(0, 1.18fr) minmax(360px, 1fr);
    gap: clamp(16px, 1.5vw, 22px);
  }
}

/* v5.4.4.3 — reduce complete feature sections as one composition.
 * Do not squeeze individual cards or change their internal crop/layout. */
@media (min-width: 1121px) {
  body .atheri-specialty-layout,
  body .atheri-video-layout,
  body .atheri-model-library-section > .wp-block-group.alignwide,
  body .atheri-model-library-section .atheri-reveal {
    width: min(1360px, calc(100vw - 96px)) !important;
    max-width: 1360px !important;
    margin-inline: auto !important;
  }

  body .atheri-model-library-section .atheri-model-library {
    width: 100% !important;
    max-width: 1360px !important;
  }

  body .atheri-specialty-section--children .atheri-specialty-layout {
    grid-template-columns: 340px minmax(0, 1fr) !important;
    gap: 34px !important;
  }

  body .atheri-specialty-section--children .atheri-specialty-copy {
    width: 340px !important;
    min-width: 340px !important;
    max-width: 340px !important;
    min-height: 590px !important;
    padding: 38px !important;
  }

  body .atheri-specialty-section--children .atheri-specialty-media-grid {
    min-height: 590px !important;
    grid-template-rows: repeat(2, minmax(280px, 1fr)) !important;
    grid-template-columns: minmax(0, 1.24fr) minmax(300px, .92fr) !important;
    gap: 18px !important;
  }

  body .atheri-specialty-section--children .atheri-specialty-media-grid .wp-block-image {
    min-height: 280px !important;
  }

  body .atheri-video-layout {
    gap: 34px !important;
  }

  body .atheri-video-copy,
  body .atheri-video-media {
    min-height: 560px !important;
  }
}


/* v5.4.4.4 — comparison section uses large background numbers behind the copy. */
.atheri-comparison-row > .wp-block-group:first-child {
  position: relative;
  padding-top: clamp(34px, 3vw, 48px);
}
.atheri-comparison-row .atheri-number {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  color: rgba(14,20,23,.08);
  font-family: var(--wp--preset--font-family--atheri-mono);
  font-size: clamp(4.8rem, 7.4vw, 8.4rem);
  font-weight: 800;
  line-height: .82;
  letter-spacing: -.08em;
  pointer-events: none;
  user-select: none;
}
.atheri-comparison-row h3,
.atheri-comparison-row > .wp-block-group:first-child > p:not(.atheri-number) {
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .atheri-comparison-row > .wp-block-group:first-child {
    padding-top: 24px;
  }
  .atheri-comparison-row .atheri-number {
    font-size: clamp(3.8rem, 18vw, 6rem);
  }
}

/* v5.4.4.4 — stroller/product-system heading alignment. */
.atheri-section-heading--many {
  align-items: start;
}
.atheri-section-heading--many > .wp-block-group:first-child {
  display: flex;
  flex-direction: column;
  align-self: start;
}
.atheri-section-heading--many .atheri-eyebrow {
  margin-bottom: .9rem;
}
.atheri-section-heading--many > p {
  align-self: start;
  margin-top: clamp(2.1rem, 2.2vw, 2.8rem);
}
@media (max-width: 900px) {
  .atheri-section-heading--many > p {
    margin-top: 0;
  }
}

/* v5.4.4.5 — eyebrow above the stroller-system heading; supporting copy aligned with the H2. */
.atheri-section-heading--many,
.atheri-section--dark:has(.atheri-product-grid) .atheri-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .55fr);
  grid-template-rows: auto auto;
  gap: 0 clamp(28px, 6vw, 100px);
  align-items: start;
}
.atheri-section-heading--many > .wp-block-group:first-child,
.atheri-section--dark:has(.atheri-product-grid) .atheri-section-heading > .wp-block-group:first-child {
  display: contents;
}
.atheri-section-heading--many .atheri-eyebrow,
.atheri-section--dark:has(.atheri-product-grid) .atheri-section-heading .atheri-eyebrow {
  grid-column: 1 / -1;
  grid-row: 1;
  margin: 0 0 1.25rem;
}
.atheri-section-heading--many h2,
.atheri-section--dark:has(.atheri-product-grid) .atheri-section-heading h2 {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  align-self: start;
}
.atheri-section-heading--many > p,
.atheri-section--dark:has(.atheri-product-grid) .atheri-section-heading > p {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  margin: 0;
}
@media (max-width: 900px) {
  .atheri-section-heading--many,
  .atheri-section--dark:has(.atheri-product-grid) .atheri-section-heading {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 0;
  }
  .atheri-section-heading--many > .wp-block-group:first-child,
  .atheri-section--dark:has(.atheri-product-grid) .atheri-section-heading > .wp-block-group:first-child {
    display: block;
  }
  .atheri-section-heading--many .atheri-eyebrow,
  .atheri-section-heading--many h2,
  .atheri-section-heading--many > p,
  .atheri-section--dark:has(.atheri-product-grid) .atheri-section-heading .atheri-eyebrow,
  .atheri-section--dark:has(.atheri-product-grid) .atheri-section-heading h2,
  .atheri-section--dark:has(.atheri-product-grid) .atheri-section-heading > p {
    grid-column: auto;
    grid-row: auto;
  }
  .atheri-section-heading--many > p,
  .atheri-section--dark:has(.atheri-product-grid) .atheri-section-heading > p {
    margin-top: 1.25rem;
  }
}


/* v5.4.4.7 — cleaner, shorter and fully editable contact form. */
body #kontakt.atheri-contact {
  padding-block: clamp(48px, 5.5vw, 82px) !important;
}
body #kontakt .atheri-contact__grid {
  grid-template-columns: minmax(260px, 340px) minmax(0, 780px);
  justify-content: center;
  gap: clamp(38px, 5vw, 72px);
  align-items: start;
}
body #kontakt .atheri-contact__intro {
  position: static;
  top: auto;
  max-width: 340px;
  padding-top: 10px;
}
body #kontakt .atheri-contact__intro h2 { margin-bottom: 16px; }
body #kontakt .atheri-contact__intro p { margin-top: 0; }
body #kontakt .atheri-contact__email { margin-top: 20px; }
body #kontakt .atheri-contact__form,
body #kontakt .wp-block-atheri-brief-form,
body #kontakt .atheri-brief-form-block {
  width: 100%;
  max-width: 780px;
  margin: 0;
}
body #kontakt .atheri-brief-form {
  box-sizing: border-box;
  width: 100%;
  max-width: 780px;
  margin: 0;
  padding: clamp(22px, 2.7vw, 32px) !important;
  border-radius: 24px;
}
body #kontakt .atheri-form-grid {
  gap: 12px 14px !important;
}
body #kontakt .atheri-field {
  gap: 6px !important;
}
body #kontakt .atheri-field > label {
  min-height: 18px;
  margin: 0 !important;
  font-size: .78rem;
  line-height: 1.3;
}
body #kontakt .atheri-field input,
body #kontakt .atheri-field select,
body #kontakt .atheri-services-picker,
body #kontakt .atheri-file-upload {
  min-height: 48px !important;
  border-radius: 12px !important;
}
body #kontakt .atheri-field textarea {
  min-height: 104px !important;
  border-radius: 12px !important;
}
body #kontakt .atheri-form-meta {
  margin: 11px 0 0 !important;
  font-size: .7rem;
  line-height: 1.45;
}
body #kontakt .atheri-form-submit {
  display: block;
  min-height: 44px;
  width: auto;
  margin: 18px auto 0 !important;
  padding: 0 22px;
  color: #071318;
  background: var(--atheri-blue);
  opacity: 1;
  box-shadow: none;
}
body #kontakt .atheri-form-submit:hover {
  background: #72c9eb;
  transform: translateY(-1px);
}
@media (max-width: 900px) {
  body #kontakt .atheri-contact__grid {
    grid-template-columns: 1fr;
    max-width: 780px;
  }
  body #kontakt .atheri-contact__intro {
    max-width: 520px;
    padding-top: 0;
  }
}
@media (max-width: 600px) {
  body #kontakt.atheri-contact { padding-block: 42px !important; }
  body #kontakt .atheri-brief-form { padding: 18px !important; }
}

/* Editable styling for the additional form texts. */
.atheri-brief-form select[name="atheri_count"] {
  color: var(--atheri-text-countunknown-color);
  font-size: var(--atheri-text-countunknown-font-size);
  font-family: var(--atheri-text-countunknown-font-family);
  font-weight: var(--atheri-text-countunknown-font-weight);
  font-style: var(--atheri-text-countunknown-font-style);
}
.atheri-service-option span {
  color: var(--atheri-text-servicepackshot-color, inherit);
}

/* v5.4.4.9 — canonical process layout.
 * WordPress flow-layout adds top margins to the second and third Group blocks.
 * Resetting those margins is essential: otherwise cards 02 and 03 begin lower than card 01. */
body #proces.atheri-section {
  padding-block: clamp(46px, 4.6vw, 72px) !important;
}
body #proces .atheri-section-heading {
  align-items: start;
  margin-block-end: clamp(24px, 2.8vw, 36px);
}
body #proces .atheri-process-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
  align-items: stretch !important;
  border-top: 1px solid var(--atheri-line);
  border-bottom: 1px solid var(--atheri-line);
}
body #proces .atheri-process-grid > .atheri-process-card,
body #proces .atheri-process-grid.is-layout-flow > .atheri-process-card,
body #proces .atheri-process-grid > .wp-block-group.atheri-process-card {
  display: grid !important;
  grid-template-rows: 58px 94px minmax(0, 1fr) !important;
  align-content: start !important;
  align-items: start !important;
  row-gap: 0 !important;
  min-height: 292px !important;
  margin: 0 !important;
  margin-block: 0 !important;
  padding: 28px clamp(28px, 2.8vw, 38px) 32px !important;
  border-right: 1px solid var(--atheri-line);
  transform: none !important;
}
body #proces .atheri-process-grid > .atheri-process-card:last-child {
  border-right: 0;
}
body #proces .atheri-process-card > .atheri-number {
  display: flex !important;
  width: 100% !important;
  height: 58px !important;
  align-items: flex-start !important;
  justify-content: center !important;
  align-self: start !important;
  justify-self: stretch !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: rgba(14,20,23,.27) !important;
  font-size: clamp(3rem, 3.25vw, 4.15rem) !important;
  font-weight: 760 !important;
  line-height: .9 !important;
  letter-spacing: -.075em !important;
  text-align: center !important;
}
body #proces .atheri-process-card > h3 {
  align-self: start !important;
  margin: 0 !important;
  padding: 7px 0 0 !important;
  font-size: clamp(1.55rem, 1.25rem + .7vw, 2rem);
  line-height: 1.13;
}
body #proces .atheri-process-card > p:not(.atheri-number) {
  align-self: start !important;
  margin: 0 !important;
  padding: 0 !important;
}
@media (max-width: 900px) {
  body #proces.atheri-section { padding-block: 42px !important; }
  body #proces .atheri-process-grid {
    grid-template-columns: 1fr !important;
  }
  body #proces .atheri-process-grid > .atheri-process-card,
  body #proces .atheri-process-grid.is-layout-flow > .atheri-process-card {
    grid-template-rows: 54px auto auto !important;
    min-height: 0 !important;
    padding: 24px 20px 28px !important;
    border-right: 0 !important;
    border-bottom: 1px solid var(--atheri-line);
  }
  body #proces .atheri-process-grid > .atheri-process-card:last-child {
    border-bottom: 0;
  }
  body #proces .atheri-process-card > .atheri-number {
    height: 54px !important;
    font-size: 3.1rem !important;
  }
  body #proces .atheri-process-card > h3 {
    padding-top: 4px !important;
    margin-bottom: 10px !important;
  }
}


/* v5.4.4.14 — restore the blue marker in the children assortment label. */
body .atheri-specialty-section--children .atheri-specialty-copy > .atheri-eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: .72rem !important;
}
body .atheri-specialty-section--children .atheri-specialty-copy > .atheri-eyebrow::before {
  display: block !important;
  flex: 0 0 9px !important;
  width: 9px !important;
  height: 9px !important;
  border-radius: 999px !important;
  background: var(--atheri-blue) !important;
  content: "" !important;
}


/* v5.4.4.15 — children eyebrow fallback + process intro alignment fix. */
body #proces .atheri-section-heading {
  align-items: start !important;
}
body #proces .atheri-section-heading > p {
  margin: 0 !important;
  padding-top: clamp(2.3rem, 3vw, 3.15rem) !important;
}
@media (max-width: 900px) {
  body #proces .atheri-section-heading > p {
    padding-top: 0 !important;
  }
}


/* v5.4.4.19 — modern mobile drawer and section navigator. */
.atheri-mobile-nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: var(--atheri-white);
  background: rgba(255,255,255,.06);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.atheri-mobile-nav-toggle svg { width: 22px; height: 22px; }
.atheri-mobile-nav-toggle:focus-visible,
.atheri-mobile-nav__close:focus-visible,
.atheri-section-nav a:focus-visible,
.atheri-section-nav__mobile-toggle:focus-visible {
  outline: 3px solid rgba(69,184,229,.46);
  outline-offset: 3px;
}

.atheri-mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 1200;
  visibility: hidden;
  pointer-events: none;
}
.atheri-mobile-nav.is-open { visibility: visible; pointer-events: auto; }
.atheri-mobile-nav__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(4,8,10,.64);
  opacity: 0;
  transition: opacity .28s ease;
}
.atheri-mobile-nav.is-open .atheri-mobile-nav__backdrop { opacity: 1; }
.atheri-mobile-nav__panel {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  display: flex;
  width: min(90vw, 420px);
  height: 100dvh;
  flex-direction: column;
  overflow-y: auto;
  padding: max(22px, env(safe-area-inset-top)) 22px max(24px, env(safe-area-inset-bottom));
  color: var(--atheri-white);
  background:
    radial-gradient(circle at 90% 4%, rgba(69,184,229,.19), transparent 31%),
    #0e1417;
  box-shadow: -24px 0 60px rgba(0,0,0,.34);
  transform: translateX(102%);
  transition: transform .32s var(--atheri-ease);
}
.atheri-mobile-nav.is-open .atheri-mobile-nav__panel { transform: translateX(0); }
.atheri-mobile-nav__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,.13);
}
.atheri-mobile-nav__brand img { display: block; width: 104px; max-height: 58px; object-fit: contain; }
.atheri-mobile-nav__brand .custom-logo-link { display: block; line-height: 0; }
.atheri-mobile-nav__close {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: var(--atheri-white);
  background: rgba(255,255,255,.06);
  cursor: pointer;
}
.atheri-mobile-nav__close svg { width: 20px; height: 20px; }
.atheri-mobile-nav__eyebrow {
  margin: 28px 0 14px;
  color: var(--atheri-blue);
  font-size: .72rem;
  font-weight: 820;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.atheri-mobile-nav__links {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.atheri-mobile-nav__links li { margin: 0; border-bottom: 1px solid rgba(255,255,255,.11); }
.atheri-mobile-nav__links a {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr) 22px;
  gap: 10px;
  align-items: center;
  min-height: 66px;
  color: var(--atheri-white);
  font-size: clamp(1.12rem, 4.6vw, 1.36rem);
  font-weight: 760;
  line-height: 1.15;
  text-decoration: none;
}

.atheri-mobile-nav__group-toggle {
  display: grid;
  width: 100%;
  grid-template-columns: 34px minmax(0,1fr) 22px;
  gap: 10px;
  align-items: center;
  min-height: 66px;
  padding: 0;
  border: 0;
  color: var(--atheri-white);
  background: transparent;
  font: inherit;
  font-size: clamp(1.12rem, 4.6vw, 1.36rem);
  font-weight: 760;
  line-height: 1.15;
  text-align: left;
  cursor: pointer;
}
.atheri-mobile-nav__group-icon {
  color: rgba(255,255,255,.58);
  font-size: 1.35rem;
  text-align: right;
  transition: transform .18s ease;
}
.atheri-mobile-nav__group.is-open .atheri-mobile-nav__group-icon { transform: rotate(45deg); }
.atheri-mobile-nav__submenu {
  display: grid;
  max-height: 0;
  margin: 0;
  padding: 0 0 0 34px;
  overflow: hidden;
  list-style: none;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: max-height .28s ease, opacity .2s ease, padding-bottom .28s ease, visibility 0s linear .28s;
}
.atheri-mobile-nav__group.is-open .atheri-mobile-nav__submenu {
  max-height: 420px;
  padding-bottom: 14px;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}
.atheri-mobile-nav__submenu li { border: 0; }
.atheri-mobile-nav__submenu a {
  display: grid;
  grid-template-columns: 28px minmax(0,1fr) 18px;
  gap: 9px;
  min-height: 46px;
  padding: 0 4px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.86);
  font-size: .93rem;
  font-weight: 650;
}
.atheri-mobile-nav__submenu small {
  color: var(--atheri-blue);
  font-family: var(--wp--preset--font-family--atheri-mono);
  font-size: .62rem;
}

.atheri-mobile-nav__index {
  color: var(--atheri-blue);
  font-family: var(--wp--preset--font-family--atheri-mono);
  font-size: .68rem;
  font-weight: 760;
}
.atheri-mobile-nav__arrow { color: rgba(255,255,255,.48); font-size: 1.35rem; text-align: right; }
.atheri-mobile-nav__footer { display: grid; gap: 18px; margin-top: auto; padding-top: 28px; }
.atheri-mobile-nav__cta {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: .9rem 1.25rem;
  border-radius: 999px;
  color: var(--atheri-ink);
  background: var(--atheri-blue);
  font-weight: 820;
  text-decoration: none;
}
.atheri-mobile-nav__language .atheri-language-switcher { width: fit-content; }
body.atheri-nav-open { overflow: hidden; touch-action: none; }

/* Desktop section rail. */
.atheri-section-nav {
  position: fixed;
  inset-inline-end: 18px;
  inset-block-start: 50%;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 9px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(14,20,23,.74);
  box-shadow: 0 16px 42px rgba(0,0,0,.16);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  backdrop-filter: blur(16px) saturate(130%);
  transform: translateY(-50%);
}
.atheri-section-nav a {
  position: relative;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 999px;
  color: var(--atheri-white);
  text-decoration: none;
}
.atheri-section-nav__dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.42);
  transition: width .18s ease, height .18s ease, background .18s ease, box-shadow .18s ease;
}
.atheri-section-nav a.is-active .atheri-section-nav__dot {
  width: 12px;
  height: 12px;
  background: var(--atheri-blue);
  box-shadow: 0 0 0 5px rgba(69,184,229,.16);
}
.atheri-section-nav__label {
  position: absolute;
  inset-inline-end: calc(100% + 10px);
  top: 50%;
  width: max-content;
  max-width: 220px;
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 9px;
  color: var(--atheri-white);
  background: rgba(14,20,23,.94);
  box-shadow: 0 10px 24px rgba(0,0,0,.2);
  font-size: .78rem;
  font-weight: 720;
  opacity: 0;
  pointer-events: none;
  transform: translate(8px,-50%);
  transition: opacity .16s ease, transform .16s ease;
}
.atheri-section-nav a:hover .atheri-section-nav__label,
.atheri-section-nav a:focus-visible .atheri-section-nav__label {
  opacity: 1;
  transform: translate(0,-50%);
}

/* Mobile section switcher. */
.atheri-section-switcher { display: none; }
.atheri-section-nav__mobile-toggle {
  position: fixed;
  inset-inline-end: 16px;
  inset-block-end: max(18px, calc(env(safe-area-inset-bottom) + 12px));
  z-index: 96;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  padding: 0 15px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: var(--atheri-white);
  background: rgba(14,20,23,.9);
  box-shadow: 0 14px 34px rgba(0,0,0,.24);
  font: inherit;
  font-size: .82rem;
  font-weight: 780;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity .22s ease, transform .22s ease, background .18s ease;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.atheri-section-nav__mobile-toggle.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.atheri-section-nav__mobile-toggle[aria-expanded="true"] { background: var(--atheri-blue-deep); }
.atheri-section-nav__mobile-icon { display: grid; gap: 3px; }
.atheri-section-nav__mobile-icon i { display: block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.atheri-section-switcher__panel {
  position: fixed;
  inset-inline: 16px;
  inset-block-end: max(76px, calc(env(safe-area-inset-bottom) + 70px));
  z-index: 95;
  display: grid;
  max-height: min(66dvh, 520px);
  overflow-y: auto;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  color: var(--atheri-white);
  background: rgba(14,20,23,.96);
  box-shadow: 0 24px 60px rgba(0,0,0,.34);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(.98);
  transition: opacity .2s ease, transform .2s ease;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.atheri-section-switcher.is-open .atheri-section-switcher__panel { opacity: 1; pointer-events: auto; transform: none; }
.atheri-section-switcher__title {
  margin: 0;
  padding: 10px 12px 12px;
  color: var(--atheri-muted-light);
  font-size: .7rem;
  font-weight: 820;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.atheri-section-switcher__links { display: grid; margin: 0; padding: 0; list-style: none; }
.atheri-section-switcher__links li { margin: 0; }
.atheri-section-switcher__links a {
  display: grid;
  grid-template-columns: 30px minmax(0,1fr);
  gap: 10px;
  align-items: center;
  min-height: 50px;
  padding: 0 11px;
  border-radius: 13px;
  color: var(--atheri-white);
  font-size: .96rem;
  font-weight: 690;
  text-decoration: none;
}
.atheri-section-switcher__links a.is-active { color: var(--atheri-ink); background: var(--atheri-blue); }
.atheri-section-switcher__links small { font-family: var(--wp--preset--font-family--atheri-mono); font-size: .64rem; opacity: .62; }

@media (max-width: 1100px) {
  .atheri-section-nav { display: none; }
  .atheri-section-switcher { display: block; }
}

@media (max-width: 900px) {
  .atheri-header .wp-block-navigation,
  .atheri-header .wp-block-navigation__responsive-container,
  .atheri-header .wp-block-navigation__responsive-container.is-menu-open,
  .atheri-header .wp-block-navigation__responsive-container-open,
  .atheri-header .wp-block-navigation__responsive-container-close,
  .atheri-header__inner > .wp-block-group:last-child {
    display: none !important;
  }
  .atheri-mobile-nav-toggle { display: inline-flex; margin-inline-start: auto; }
  .atheri-header__inner { width: 100%; justify-content: space-between !important; }
  .atheri-header .wp-block-site-logo img { width: 96px; max-height: 54px; }
}

@media (min-width: 901px) {
  .atheri-mobile-nav,
  .atheri-mobile-nav-toggle { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  .atheri-mobile-nav__panel,
  .atheri-mobile-nav__backdrop,
  .atheri-section-nav__mobile-toggle,
  .atheri-section-switcher__panel { transition: none !important; }
}


/* v5.4.4.20 — service anchors and expanded navigation. */
main#main-content .atheri-section[id] { scroll-margin-top: 92px; }
@media (max-width: 900px) {
  main#main-content .atheri-section[id] { scroll-margin-top: 72px; }
}


/* v5.4.4.21 — compact section rail, desktop service menu and upload-limit feedback. */
.atheri-section-nav {
  inset-inline-end: 12px;
  gap: 2px;
  padding: 6px;
}
.atheri-section-nav a {
  width: 25px;
  height: 25px;
}
.atheri-section-nav__dot {
  width: 5px;
  height: 5px;
}
.atheri-section-nav a.is-active .atheri-section-nav__dot {
  width: 9px;
  height: 9px;
  box-shadow: 0 0 0 4px rgba(69,184,229,.14);
}
.atheri-section-nav__label {
  inset-inline-end: calc(100% + 8px);
  padding: 7px 9px;
  font-size: .7rem;
}

.atheri-header-services {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.atheri-header-services__toggle {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--atheri-line-light);
  border-radius: 999px;
  color: var(--atheri-white);
  background: rgba(255,255,255,.055);
  cursor: pointer;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}
.atheri-header-services__toggle:hover,
.atheri-header-services__toggle[aria-expanded="true"] {
  color: var(--atheri-ink);
  border-color: var(--atheri-blue);
  background: var(--atheri-blue);
  transform: translateY(-1px);
}
.atheri-header-services__toggle svg { width: 19px; height: 19px; }
.atheri-header-services__toggle:focus-visible {
  outline: 3px solid rgba(69,184,229,.44);
  outline-offset: 3px;
}
.atheri-header-services__panel {
  position: absolute;
  inset-block-start: calc(100% + 14px);
  inset-inline-end: 0;
  z-index: 220;
  width: min(390px, calc(100vw - 32px));
  padding: 12px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  color: var(--atheri-white);
  background:
    radial-gradient(circle at 88% 8%, rgba(69,184,229,.18), transparent 30%),
    rgba(14,20,23,.97);
  box-shadow: 0 24px 60px rgba(0,0,0,.32);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-7px) scale(.985);
  transform-origin: top right;
  transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  backdrop-filter: blur(18px) saturate(135%);
}
.atheri-header-services.is-open .atheri-header-services__panel {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: none;
  transition-delay: 0s;
}
.atheri-header-services__heading {
  display: grid;
  gap: 3px;
  padding: 9px 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.atheri-header-services__heading small {
  color: var(--atheri-blue);
  font-size: .63rem;
  font-weight: 820;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.atheri-header-services__heading strong { font-size: .98rem; }
.atheri-header-services__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 7px;
  padding-top: 9px;
}
.atheri-header-services__links a {
  display: grid;
  grid-template-columns: 25px minmax(0,1fr) 15px;
  gap: 7px;
  align-items: center;
  min-height: 57px;
  padding: 8px 10px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 13px;
  color: var(--atheri-white);
  background: rgba(255,255,255,.035);
  font-size: .8rem;
  font-weight: 710;
  line-height: 1.2;
  text-decoration: none;
  transition: border-color .16s ease, background .16s ease, transform .16s ease;
}
.atheri-header-services__links a:hover,
.atheri-header-services__links a:focus-visible {
  border-color: rgba(69,184,229,.55);
  background: rgba(69,184,229,.11);
  transform: translateY(-1px);
}
.atheri-header-services__links small {
  color: var(--atheri-blue);
  font-family: var(--wp--preset--font-family--atheri-mono);
  font-size: .58rem;
}
.atheri-header-services__links a > span:last-child { color: rgba(255,255,255,.46); }

.atheri-form-status--error {
  border-color: rgba(232,91,91,.64);
  color: #fff;
  background: rgba(155,42,42,.2);
}

@media (max-width: 1100px) {
  .atheri-header-services__panel { inset-inline-end: -54px; }
}
@media (max-width: 900px) {
  .atheri-header-services { display: none !important; }
  .atheri-section-nav__mobile-toggle {
    min-height: 43px;
    padding-inline: 12px;
    font-size: .76rem;
  }
  .atheri-section-switcher__panel {
    max-height: min(60dvh, 460px);
    padding: 9px;
    border-radius: 18px;
  }
  .atheri-section-switcher__links a {
    min-height: 44px;
    font-size: .88rem;
  }
}


/* v5.4.4.22 — one explicit Menu control in the header + mobile horizontal lock. */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  overscroll-behavior-x: none;
}
.wp-site-blocks,
main#main-content {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}
@supports not (overflow: clip) {
  html,
  body,
  .wp-site-blocks,
  main#main-content { overflow-x: hidden; }
}

/* The off-canvas drawer must never enlarge the document's scroll width. */
.atheri-mobile-nav {
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  contain: layout paint;
}
.atheri-mobile-nav__panel { max-width: 100%; }

/* Remove the old row of navigation labels and the separate header CTA. */
.atheri-header .wp-block-navigation,
.atheri-header__cta {
  display: none !important;
}

/* Keep only PL/EN and one clearly labelled Menu button. */
.atheri-header__inner > .wp-block-group:last-child {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin-inline-start: auto;
}
.atheri-mobile-nav-toggle {
  display: inline-flex;
  width: auto;
  min-width: 104px;
  height: 44px;
  gap: 9px;
  padding: 0 16px;
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.065);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .02em;
}
.atheri-mobile-nav-toggle svg {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
}
.atheri-mobile-nav-toggle__label { display: inline-block; }
.atheri-mobile-nav-toggle:hover,
.atheri-mobile-nav-toggle[aria-expanded="true"] {
  color: var(--atheri-ink);
  border-color: var(--atheri-blue);
  background: var(--atheri-blue);
}

/* The previous icon-only services trigger is no longer used. */
.atheri-header-services { display: none !important; }

@media (max-width: 900px) {
  .atheri-header .wp-block-navigation,
  .atheri-header .wp-block-navigation__responsive-container,
  .atheri-header .wp-block-navigation__responsive-container.is-menu-open,
  .atheri-header .wp-block-navigation__responsive-container-open,
  .atheri-header .wp-block-navigation__responsive-container-close {
    display: none !important;
  }
  .atheri-header__inner > .wp-block-group:last-child {
    display: flex !important;
    gap: 8px;
  }
  .atheri-mobile-nav-toggle {
    display: inline-flex !important;
    min-width: 92px;
    height: 42px;
    margin-inline-start: 0;
    padding-inline: 13px;
    font-size: .78rem;
  }
  .atheri-header__inner {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    justify-content: space-between !important;
  }
  .atheri-header,
  .atheri-header__inner,
  .atheri-portfolio-grid,
  .atheri-project-carousel,
  .atheri-project-carousel__viewport,
  .atheri-project-carousel__track,
  .atheri-project-carousel__slide {
    min-width: 0;
    max-width: 100%;
  }
}

@media (min-width: 901px) {
  .atheri-mobile-nav-toggle { display: inline-flex !important; }
  .atheri-mobile-nav { display: block; }
}


/* v5.4.4.23 — reliable header Menu interaction. */
.atheri-mobile-nav-toggle {
  position: relative;
  z-index: 1302;
  pointer-events: auto !important;
  touch-action: manipulation;
}
.atheri-mobile-nav {
  z-index: 1300;
}
.atheri-mobile-nav__backdrop,
.atheri-mobile-nav__panel {
  pointer-events: auto;
}


/* v5.4.4.24 — desktop drawer visibility fix.
 * An earlier desktop media query hid the drawer with display:none!important.
 * The button remained visible, so clicks worked but nothing could be shown. */
@media (min-width: 901px) {
  .atheri-mobile-nav {
    display: block !important;
  }
  .atheri-mobile-nav-toggle {
    display: inline-flex !important;
  }
}
