/*
Theme Name: Kaussa
Theme URI: https://example.com/kaussa
Author: L'Equipe
Author URI: https://example.com
Description: Theme WordPress sur mesure, leger, rapide et mobile-first pour la marque Kaussa.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: kaussa
*/

:root {
  --color-alpha: #3a506b;
  --color-alpha-strong: #2d4158;
  --color-alpha-soft: rgba(58, 80, 107, 0.16);
  --color-background: #eef1f5;
  --color-background-alt: #e5eaef;
  --color-surface: #121820;
  --color-surface-strong: #0b1016;
  --color-surface-soft: #1c2430;
  --color-card: #ffffff;
  --color-text: #11161d;
  --color-text-soft: #5d6976;
  --color-text-inverse: #f7f9fb;
  --color-border: rgba(17, 22, 29, 0.12);
  --color-border-strong: rgba(255, 255, 255, 0.16);
  --color-success: #dbeafe;
  --shadow-soft: 0 20px 50px rgba(14, 20, 28, 0.08);
  --shadow-card: 0 24px 60px rgba(14, 20, 28, 0.12);
  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 1.75rem;
  --radius-pill: 999px;
  --container: 76rem;
  --space-2xs: 0.375rem;
  --space-xs: 0.625rem;
  --space-sm: 0.875rem;
  --space-md: 1.25rem;
  --space-lg: 1.75rem;
  --space-xl: 2.5rem;
  --space-2xl: 3.5rem;
  --space-3xl: 5rem;
  --font-sans: "Avenir Next", "Segoe UI", "Helvetica Neue", sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-size-base: 1rem;
  --line-height-base: 1.65;
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top, rgba(58, 80, 107, 0.12), transparent 28%),
    linear-gradient(180deg, #f4f7fa 0%, var(--color-background) 100%);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--color-alpha-soft);
}

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

iframe {
  max-width: 100%;
  border: 0;
}

a {
  color: var(--color-alpha);
  text-decoration: none;
  transition:
    color 0.2s ease,
    opacity 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

a:hover,
a:focus-visible {
  color: var(--color-alpha-strong);
}

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

button {
  cursor: pointer;
}

textarea {
  resize: vertical;
}

:focus-visible {
  outline: 3px solid rgba(58, 80, 107, 0.28);
  outline-offset: 2px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 var(--space-md);
  color: inherit;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(3rem, 11vw, 5.5rem);
}

h2 {
  font-size: clamp(2rem, 8vw, 3.4rem);
}

h3 {
  font-size: clamp(1.35rem, 5vw, 1.8rem);
}

p,
ul,
ol,
blockquote {
  margin: 0 0 var(--space-md);
}

ul,
ol {
  padding-left: 1.25rem;
}

blockquote {
  padding: var(--space-lg);
  border-left: 4px solid var(--color-alpha);
  background: rgba(255, 255, 255, 0.72);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--color-text);
  padding: 0.875rem 1rem;
  box-shadow: none;
}

input::placeholder,
textarea::placeholder {
  color: rgba(93, 105, 118, 0.9);
}

[hidden] {
  display: none !important;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  clip: auto;
  width: auto;
  height: auto;
  margin: 1rem;
  padding: 0.75rem 1rem;
  background: #ffffff;
  color: var(--color-text);
  border-radius: var(--radius-sm);
  z-index: 999;
}

.site-wrap {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

.site-main {
  display: block;
}

body:not(.home) .site-main {
  padding-top: var(--space-xl);
  padding-bottom: var(--space-2xl);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 70;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(16, 21, 28, 0.92);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  padding: var(--space-sm) 0;
}

.site-branding,
.site-header__branding {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.site-brand__link,
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  min-width: 0;
  color: var(--color-text-inverse);
}

.site-brand__media {
  flex: 0 0 auto;
}

.site-brand__text {
  min-width: 0;
}

.site-title {
  display: block;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.site-description {
  display: none;
  margin-top: 0.2rem;
  color: rgba(247, 249, 251, 0.72);
  font-size: 0.95rem;
  line-height: 1.45;
}

.brand-logo,
.site-brand__logo {
  width: auto;
  height: 3rem;
  max-width: 12rem;
  object-fit: contain;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, #dfe8f2 100%);
  color: var(--color-alpha);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 0 0 0 1px rgba(58, 80, 107, 0.12);
}

.main-navigation ul,
.footer-navigation ul {
  display: flex;
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  list-style: none;
  scrollbar-width: none;
}

.main-navigation ul::-webkit-scrollbar,
.footer-navigation ul::-webkit-scrollbar {
  display: none;
}

.main-navigation a,
.footer-navigation a {
  position: relative;
  color: rgba(247, 249, 251, 0.82);
  font-size: 0.96rem;
  font-weight: 600;
  padding-bottom: 0.3rem;
}

.main-navigation a:hover,
.main-navigation a:focus-visible,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a,
.main-navigation .current-menu-ancestor > a {
  color: #ffffff;
}

.main-navigation .current-menu-item > a::after,
.main-navigation .current_page_item > a::after,
.main-navigation .current-menu-ancestor > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.95rem;
  height: 2px;
  border-radius: 999px;
  background: var(--color-alpha);
}

.button,
.read-more,
.page-links a,
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.875rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  font-weight: 700;
  line-height: 1;
}

.button--large {
  min-height: 3.35rem;
  padding-inline: 1.6rem;
  font-size: 1rem;
}

.button--primary,
.read-more,
.assistant-widget__submit {
  background: var(--color-alpha);
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(58, 80, 107, 0.24);
}

.button--primary:hover,
.button--primary:focus-visible,
.read-more:hover,
.read-more:focus-visible,
.assistant-widget__submit:hover,
.assistant-widget__submit:focus-visible {
  background: var(--color-alpha-strong);
  color: #ffffff;
  transform: translateY(-1px);
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  backdrop-filter: blur(12px);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.button--secondary {
  background: #ffffff;
  color: var(--color-alpha-strong);
  box-shadow: 0 16px 36px rgba(9, 15, 24, 0.16);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  background: #eef3f9;
  color: var(--color-alpha-strong);
}

.cinematic-overlay {
  position: relative;
  background-color: var(--color-surface-strong);
  background-image: var(--hero-image);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.cinematic-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 12, 18, 0.52) 0%, rgba(8, 12, 18, 0.72) 100%),
    radial-gradient(circle at center, rgba(58, 80, 107, 0.2) 0%, rgba(8, 12, 18, 0.74) 68%);
}

.front-page-shell {
  overflow: clip;
}

.home-hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5.75rem 0 4.5rem;
}

.home-hero__inner,
.cinematic-break__inner {
  position: relative;
  z-index: 1;
}

.home-hero__content {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
  color: #ffffff;
}

.home-hero__title {
  margin-bottom: var(--space-md);
  color: #ffffff;
  text-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

.home-hero__lead {
  max-width: 40rem;
  margin-inline: auto;
  font-size: 1.12rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.home-hero__actions {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: var(--space-xl);
}

.home-hero__logo {
  display: flex;
  justify-content: center;
  margin-top: var(--space-2xl);
}

.hero-logo__image {
  width: auto;
  height: 8rem;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.32));
}

.hero-logo__fallback {
  width: 7rem;
  height: 7rem;
  border-radius: 1.5rem;
  font-size: 1.4rem;
}

.home-section,
.newsletter-section,
.archive-header,
.search-header,
.error-hero {
  padding: var(--space-2xl) 0;
}

.home-section--muted {
  background: linear-gradient(180deg, var(--color-background-alt) 0%, var(--color-background) 100%);
}

.section-copy,
.section-heading,
.newsletter-section__inner,
.archive-header,
.search-header,
.error-hero {
  max-width: 52rem;
  margin-inline: auto;
}

.section-copy--centered,
.section-heading,
.newsletter-section__inner,
.archive-header,
.search-header,
.error-hero {
  text-align: center;
}

.section-copy p,
.section-heading p,
.newsletter-section__inner p,
.archive-header p,
.search-header p,
.error-hero p {
  color: var(--color-text-soft);
  font-size: 1.08rem;
}

.section-heading {
  margin-bottom: var(--space-xl);
}

.principles-grid,
.content-grid {
  display: grid;
  gap: var(--space-md);
}

.principle-card,
.post-card,
.archive-card,
.page-card,
.entry-single,
.empty-state {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.principle-card {
  padding: var(--space-lg);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.principle-card:hover,
.principle-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(58, 80, 107, 0.2);
  box-shadow: var(--shadow-card);
}

.principle-card p {
  margin-bottom: 0;
  color: var(--color-text-soft);
}

.cinematic-break {
  min-height: 60svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3xl) 0;
}

.cinematic-break__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
}

.cinematic-break__content h2 {
  color: #ffffff;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.32);
}

.cinematic-break__content p {
  margin-bottom: 0;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.88);
}

.newsletter-section {
  background: linear-gradient(135deg, var(--color-alpha-strong) 0%, var(--color-alpha) 100%);
  color: #ffffff;
}

.newsletter-section h2,
.newsletter-section p,
.newsletter-section a {
  color: inherit;
}

.newsletter-section__inner {
  display: grid;
  gap: var(--space-md);
}

.newsletter-form,
.site-footer__form {
  display: grid;
  gap: var(--space-sm);
}

.newsletter-form__label,
.site-footer__heading {
  margin-bottom: 0;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.newsletter-form__row,
.site-footer__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.newsletter-form__field,
.site-footer__form {
  position: relative;
}

.newsletter-form__icon {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  opacity: 0.72;
}

.newsletter-form input,
.site-footer__form input {
  min-height: 3.2rem;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.newsletter-form input {
  padding-left: 2.6rem;
}

.newsletter-form input::placeholder,
.site-footer__form input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.newsletter-form__note,
.site-footer__note,
.newsletter-section__meta,
.site-footer__summary,
.site-footer__bottom p {
  color: rgba(247, 249, 251, 0.72);
}

.newsletter-section__meta {
  margin-bottom: 0;
  font-size: 0.96rem;
}

.post-meta,
.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  color: var(--color-text-soft);
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.post-card,
.archive-card {
  overflow: hidden;
  padding: 0;
}

.archive-card > :not(.post-thumbnail),
.post-card > :not(.post-thumbnail) {
  padding-inline: var(--space-lg);
}

.archive-card > .post-meta,
.post-card > .post-meta {
  padding-top: var(--space-lg);
}

.archive-card > .read-more,
.post-card > .read-more {
  margin: 0 var(--space-lg) var(--space-lg);
}

.post-title {
  margin-top: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.post-title a {
  color: var(--color-text);
}

.post-thumbnail {
  display: block;
  overflow: hidden;
}

.post-thumbnail img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.page-card,
.entry-single {
  padding: var(--space-xl);
}

.page-intro {
  margin-bottom: var(--space-lg);
}

.entry-summary {
  color: var(--color-text-soft);
}

.entry-content > * + *,
.entry-summary > * + * {
  margin-top: var(--space-md);
}

.entry-content a {
  text-decoration: underline;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

.single-layout {
  display: grid;
  gap: var(--space-lg);
}

.single-sidebar {
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-surface-soft) 100%);
  color: #ffffff;
}

.single-sidebar p {
  color: rgba(255, 255, 255, 0.82);
}

.single-sidebar strong {
  color: #ffffff;
}

.single-sidebar a {
  color: #ffffff;
}

.post-taxonomy {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: var(--space-lg) 0 0;
  padding: 0;
  list-style: none;
}

.post-taxonomy a,
.page-links a,
.pagination .page-numbers {
  border: 1px solid var(--color-border);
  background: #ffffff;
  color: var(--color-text);
}

.page-links,
.pagination .nav-links,
.post-navigation .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: var(--space-lg);
}

.pagination .current {
  background: var(--color-alpha);
  color: #ffffff;
  border-color: transparent;
}

.search-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.search-form label {
  display: block;
}

.search-form .search-field {
  min-height: 3rem;
}

.search-form .search-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.875rem 1.4rem;
  border: 0;
  border-radius: 0.75rem;
  background: var(--color-alpha);
  color: #ffffff;
  font-weight: 700;
}

.error-hero {
  text-align: center;
}

.site-footer {
  position: relative;
  background: #b8bec6;
  color: #11161d;
}

.site-footer__top {
  display: grid;
  gap: var(--space-xl);
  padding: var(--space-2xl) 0 var(--space-xl);
}

.site-footer__brand,
.site-footer__navigation,
.site-footer__legal {
  min-width: 0;
}

.site-footer__brand-lockup {
  margin-bottom: var(--space-lg);
}

.site-footer__brand .site-title,
.site-footer__bottom .site-title {
  color: #11161d;
}

.site-footer__navigation ul {
  display: grid;
  gap: 0.85rem;
  overflow: visible;
}

.site-footer__legal-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__summary {
  max-width: 32rem;
}

.site-footer__summary,
.site-footer__note,
.site-footer__bottom p {
  color: rgba(17, 22, 29, 0.85);
}

.site-footer__heading {
  color: #11161d;
  letter-spacing: 0.03em;
}

.site-footer__navigation a,
.site-footer__legal-list a {
  color: rgba(17, 22, 29, 0.84);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.5;
  padding-bottom: 0;
}

.site-footer__navigation a:hover,
.site-footer__navigation a:focus-visible,
.site-footer__legal-list a:hover,
.site-footer__legal-list a:focus-visible {
  color: #11161d;
}

.site-footer__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-width: 34rem;
}

.site-footer__field {
  position: relative;
  flex: 1 1 auto;
}

.site-footer__field-icon {
  position: absolute;
  top: 50%;
  left: 0.9rem;
  transform: translateY(-50%);
  color: rgba(17, 22, 29, 0.5);
  font-size: 0.95rem;
}

.site-footer__form input {
  min-height: 3.15rem;
  border-color: rgba(17, 22, 29, 0.14);
  background: rgba(255, 255, 255, 0.74);
  color: #11161d;
  padding-left: 2.45rem;
}

.site-footer__form input::placeholder {
  color: rgba(17, 22, 29, 0.4);
}

.site-footer__form button {
  min-height: 3.15rem;
  border: 0;
  border-radius: 0.65rem;
  background: var(--color-alpha);
  color: #ffffff;
  font-weight: 700;
  padding: 0.8rem 1.3rem;
}

.site-footer__form button:hover,
.site-footer__form button:focus-visible {
  background: var(--color-alpha-strong);
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: var(--space-lg) 0 calc(var(--space-xl) + 4rem);
  border-top: 1px solid rgba(17, 22, 29, 0.14);
}

.site-footer__bottom p:last-child {
  margin-bottom: 0;
}

.assistant-widget {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: grid;
  justify-items: end;
  gap: 0.75rem;
}

.assistant-widget__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.875rem 1.1rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--color-alpha);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 18px 45px rgba(58, 80, 107, 0.32);
}

.assistant-widget__toggle:hover,
.assistant-widget__toggle:focus-visible {
  background: var(--color-alpha-strong);
}

.assistant-widget__toggle-indicator {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: #d6e4f5;
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.16);
}

.assistant-widget__panel {
  width: min(24rem, calc(100vw - 2rem));
  overflow: hidden;
  border: 1px solid rgba(17, 22, 29, 0.08);
  border-radius: 1.25rem;
  background: #ffffff;
  box-shadow: 0 30px 60px rgba(14, 20, 28, 0.18);
}

.assistant-widget__header,
.assistant-widget__form {
  padding: 1rem;
}

.assistant-widget__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--color-border);
  background: linear-gradient(180deg, #ffffff 0%, #f5f8fc 100%);
}

.assistant-widget__eyebrow {
  margin-bottom: 0.2rem;
  color: var(--color-alpha);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.assistant-widget__title {
  margin-bottom: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.assistant-widget__close {
  border: 0;
  background: transparent;
  color: var(--color-text-soft);
  font-size: 1.4rem;
  line-height: 1;
}

.assistant-widget__messages {
  display: grid;
  gap: 0.75rem;
  max-height: 18rem;
  overflow-y: auto;
  padding: 1rem;
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%);
}

.assistant-widget__message {
  max-width: 88%;
  margin-bottom: 0;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.assistant-widget__message--assistant {
  justify-self: start;
  background: #ffffff;
  color: var(--color-text);
  border: 1px solid rgba(17, 22, 29, 0.08);
}

.assistant-widget__message--user {
  justify-self: end;
  background: var(--color-alpha);
  color: #ffffff;
}

.assistant-widget__form {
  display: grid;
  gap: 0.85rem;
  border-top: 1px solid var(--color-border);
  background: #ffffff;
}

.assistant-widget__input {
  min-height: 5.5rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: #f8fafc;
}

.assistant-widget__actions {
  display: grid;
  gap: 0.75rem;
}

.assistant-widget__hint {
  margin-bottom: 0;
  color: var(--color-text-soft);
  font-size: 0.82rem;
}

.assistant-widget__submit {
  width: 100%;
  border: 0;
}

.about-page,
.shop-page {
  background:
    radial-gradient(circle at center top, rgba(58, 80, 107, 0.16), transparent 52%),
    linear-gradient(180deg, #0d131b 0%, #111824 100%);
  color: #f3f6fa;
}

.about-page .site-wrap,
.shop-page .site-wrap {
  width: min(calc(100% - 2rem), 72rem);
}

.about-hero,
.shop-hero {
  padding: clamp(5.5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6rem);
  text-align: center;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%),
    radial-gradient(circle at center, rgba(58, 80, 107, 0.32) 0%, rgba(12, 18, 27, 0.8) 70%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.about-hero h1,
.shop-hero h1 {
  max-width: 18ch;
  margin: 0 auto var(--space-md);
  color: #f4f7fb;
}

.about-hero p,
.shop-hero p {
  max-width: 44rem;
  margin: 0 auto;
  color: rgba(231, 237, 245, 0.82);
  font-size: clamp(1.08rem, 2.3vw, 1.95rem);
  line-height: 1.5;
}

.about-section,
.shop-section {
  padding: var(--space-2xl) 0;
}

.about-section--dark,
.shop-section--dark {
  background: transparent;
}

.about-section--dark-soft,
.shop-section--dark-soft {
  background: linear-gradient(180deg, rgba(58, 80, 107, 0.12) 0%, rgba(15, 20, 29, 0.25) 100%);
}

.about-section--brand,
.shop-section--brand {
  background: linear-gradient(180deg, #6f8fb6 0%, #6383ab 100%);
  color: #101722;
}

.about-section__header,
.shop-section__header {
  margin-bottom: var(--space-xl);
  text-align: center;
}

.about-section__header h2,
.shop-section__header h2,
.about-closing h2,
.shop-closing h2 {
  color: #f4f7fb;
}

.about-section__header p,
.shop-section__header p {
  max-width: 42rem;
  margin: 0 auto;
  color: rgba(231, 237, 245, 0.82);
}

.about-mission {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}

.about-mission__copy h2 {
  color: #f4f7fb;
}

.about-mission__copy p,
.about-leadership__copy p {
  color: rgba(231, 237, 245, 0.84);
  font-size: 1.06rem;
  line-height: 1.6;
}

.about-mission__media {
  margin: 0;
}

.about-mission__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-values-grid {
  display: grid;
  gap: var(--space-md);
}

.about-value-card {
  padding: var(--space-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(26, 35, 48, 0.58) 0%, rgba(19, 27, 39, 0.58) 100%);
}

.about-value-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  background: rgba(58, 80, 107, 0.28);
  color: #84a8d3;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

.about-value-card h3 {
  margin-top: var(--space-md);
  margin-bottom: var(--space-sm);
  font-family: var(--font-sans);
  font-size: 1.9rem;
  letter-spacing: -0.01em;
}

.about-value-card p {
  margin-bottom: 0;
  color: rgba(231, 237, 245, 0.8);
}

.about-leadership-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: var(--space-xl);
}

.about-leadership-card__column {
  padding: clamp(1rem, 3vw, 1.7rem);
  text-align: center;
}

.about-leadership-card__column--boss {
  background: #9dd6ea;
  color: #193044;
}

.about-leadership-card__column--leader {
  background: #82b5da;
  color: #10253b;
}

.about-leadership-card__label {
  margin-bottom: 0.3rem;
  font-family: var(--font-display);
  font-size: 1.95rem;
}

.about-leadership-card__column p:last-child {
  margin-bottom: 0;
  font-weight: 600;
}

.about-closing,
.shop-closing {
  max-width: 56rem;
  text-align: center;
}

.about-closing h2,
.shop-closing h2 {
  color: #f4f7fb;
}

.about-closing p,
.shop-closing p {
  color: rgba(15, 22, 34, 0.92);
  font-size: 1.14rem;
  line-height: 1.6;
}

.shop-grid {
  display: grid;
  gap: var(--space-md);
}

.shop-product-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(26, 35, 48, 0.72) 0%, rgba(19, 27, 39, 0.72) 100%);
}

.shop-product-card__media {
  margin: 0;
}

.shop-product-card__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.shop-product-card__body {
  padding: var(--space-lg);
}

.shop-product-card__category {
  color: #6f96c5;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.88rem;
}

.shop-product-card h3 {
  margin-bottom: var(--space-sm);
  color: #f4f7fb;
  font-family: var(--font-sans);
  letter-spacing: -0.02em;
}

.shop-product-card__body p {
  color: rgba(231, 237, 245, 0.82);
}

.shop-product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg) var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.shop-product-card__price {
  margin-bottom: 0;
  color: #f4f7fb;
  font-size: 2.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.shop-product-card__footer button {
  min-height: 2.7rem;
  border: 0;
  border-radius: 0.65rem;
  background: #6f96c5;
  color: #10243b;
  font-weight: 700;
  padding: 0.65rem 1rem;
}

.shop-product-card__footer button:hover,
.shop-product-card__footer button:focus-visible {
  background: #86add9;
}

.shop-feature-media {
  margin: 0 0 var(--space-lg);
}

.shop-feature-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-card);
}

@media (min-width: 48rem) {
  .site-description {
    display: block;
  }

  .site-header__inner {
    padding: 0;
  }

  .site-branding,
  .site-header__branding {
    min-height: 5rem;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .main-navigation ul {
    justify-content: flex-end;
  }

  .home-hero {
    padding-top: 7rem;
  }

  .home-hero__actions,
  .newsletter-form__row,
  .site-footer__form {
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
  }

  .newsletter-form__field {
    flex: 1 1 auto;
  }

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

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

  .single-layout {
    grid-template-columns: minmax(0, 1fr) 18rem;
    align-items: start;
  }

  .site-footer__top {
    grid-template-columns: minmax(0, 1.5fr) minmax(12rem, 1fr) minmax(12rem, 1fr);
    align-items: start;
  }

  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--space-xl);
  }

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

  .about-mission {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

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

  .assistant-widget__actions {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .assistant-widget__submit {
    width: auto;
    min-width: 8rem;
  }
}

@media (min-width: 64rem) {
  .home-section,
  .newsletter-section,
  .archive-header,
  .search-header,
  .error-hero {
    padding: var(--space-3xl) 0;
  }

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

  .content-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-values-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-values-grid .about-value-card:last-child,
  .about-values-grid .about-value-card:nth-last-child(2) {
    grid-column: span 1;
  }

  .home-hero,
  .cinematic-break {
    background-attachment: fixed;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
