/*
Theme Name: Christian Wamser Gallery
Theme URI: https://christianwamser.com
Author: Christian Wamser
Author URI: https://christianwamser.com
Description: A museum-like, multilingual portfolio theme for abstract painting and iconic monumental photographic art.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: christian-wamser-gallery
Tags: portfolio, photography, block-styles, custom-logo, featured-images, translation-ready
*/

:root {
  --cw-bg: #f8f7f4;
  --cw-paper: #ffffff;
  --cw-dark: #101010;
  --cw-ink: #1d1c19;
  --cw-muted: #77736c;
  --cw-gold: #b59a67;
  --cw-line: rgba(29, 28, 25, 0.13);
  --cw-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --cw-body: Manrope, Arial, Helvetica, sans-serif;
  --cw-shell: min(1400px, calc(100% - 96px));
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cw-bg);
  color: var(--cw-ink);
  font-family: var(--cw-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.admin-bar .cw-header {
  top: 32px;
}

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

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

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

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

button {
  cursor: pointer;
}

.cw-site {
  min-height: 100vh;
  overflow: clip;
}

.cw-shell,
.entry-content > :where(:not(.alignwide):not(.alignfull)) {
  width: var(--cw-shell);
  margin-right: auto;
  margin-left: auto;
}

.entry-content > .alignwide {
  width: var(--cw-shell);
  margin-right: auto;
  margin-left: auto;
}

.entry-content > .alignfull {
  width: 100%;
}

.cw-skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 12px 16px;
  background: var(--cw-paper);
  color: var(--cw-ink);
}

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

.cw-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.cw-display {
  font-family: var(--cw-display);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.cw-gold {
  color: var(--cw-gold);
}

.cw-eyebrow {
  margin: 0 0 16px;
  color: var(--cw-gold);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.1px;
  text-transform: uppercase;
}

.cw-header {
  position: fixed;
  z-index: 80;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(16, 16, 16, 0.15);
  color: #fff;
  transition: background 0.35s, color 0.35s, border-color 0.35s;
}

.cw-header.is-solid,
.cw-header.is-inner {
  border-color: var(--cw-line);
  background: rgba(248, 247, 244, 0.97);
  color: var(--cw-ink);
  backdrop-filter: blur(14px);
}

.cw-header-bar {
  display: flex;
  height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cw-brand {
  display: flex;
  min-width: 220px;
  align-items: center;
  gap: 13px;
}

.cw-monogram {
  display: grid;
  width: 40px;
  height: 40px;
  overflow: hidden;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--cw-display);
  font-size: 13px;
  letter-spacing: 1px;
}

.cw-monogram img,
.cw-monogram .custom-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cw-brand-name {
  font-family: var(--cw-display);
  font-size: 17px;
  letter-spacing: 0.02em;
}

.cw-desktop-nav {
  display: flex;
  align-items: center;
  gap: 23px;
}

.cw-nav-item,
.cw-languages {
  position: relative;
}

.cw-nav-link,
.cw-nav-trigger,
.cw-language-button {
  display: inline-flex;
  align-items: center;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 10px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  white-space: nowrap;
}

.cw-nav-link,
.cw-nav-trigger {
  position: relative;
  gap: 5px;
  padding: 36px 0;
}

.cw-nav-link:hover,
.cw-nav-trigger:hover,
.cw-nav-link.is-active,
.cw-nav-trigger.is-active {
  color: var(--cw-gold);
}

.cw-nav-link.is-active::after {
  position: absolute;
  right: 0;
  bottom: 25px;
  left: 0;
  height: 1px;
  background: var(--cw-gold);
  content: "";
}

.cw-dropdown {
  position: absolute;
  top: calc(100% - 9px);
  left: -18px;
  min-width: 265px;
  padding: 13px 0;
  border: 1px solid var(--cw-line);
  background: var(--cw-bg);
  color: var(--cw-ink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(7px);
  transition: 0.22s;
}

.cw-nav-item:hover .cw-dropdown,
.cw-nav-item:focus-within .cw-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cw-dropdown a {
  display: block;
  padding: 12px 19px;
  color: var(--cw-muted);
  font-size: 12px;
}

.cw-dropdown a:hover,
.cw-dropdown a:focus {
  background: rgba(181, 154, 103, 0.06);
  color: var(--cw-gold);
}

.cw-header-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cw-language-button {
  gap: 6px;
  padding: 15px 0;
  letter-spacing: 1px;
}

.cw-language-panel {
  position: absolute;
  top: 100%;
  right: 0;
  width: 88px;
  padding: 6px 0;
  border: 1px solid var(--cw-line);
  background: var(--cw-bg);
  color: var(--cw-ink);
  opacity: 0;
  visibility: hidden;
}

.cw-languages:hover .cw-language-panel,
.cw-languages:focus-within .cw-language-panel {
  opacity: 1;
  visibility: visible;
}

.cw-language-panel a {
  display: block;
  padding: 9px 12px;
  color: var(--cw-muted);
  font-size: 11px;
}

.cw-language-panel a:hover,
.cw-language-panel a.is-active {
  color: var(--cw-gold);
}

.cw-mobile-toggle,
.cw-close-button {
  display: none;
  padding: 7px;
  border: 0;
  background: transparent;
  color: inherit;
}

.cw-mobile-panel {
  position: fixed;
  z-index: 100;
  inset: 0;
  overflow-y: auto;
  background: var(--cw-bg);
  color: var(--cw-ink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: 0.25s;
}

.cw-mobile-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cw-mobile-top {
  display: flex;
  height: 76px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--cw-line);
}

.cw-mobile-content {
  padding: 27px 0 70px;
}

.cw-mobile-entry {
  display: block;
  width: 100%;
  padding: 15px 0;
  border: 0;
  border-bottom: 1px solid var(--cw-line);
  background: transparent;
  color: inherit;
  font-size: 13px;
  letter-spacing: 1.6px;
  text-align: left;
  text-transform: uppercase;
}

.cw-mobile-group-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cw-mobile-subnav {
  display: none;
  padding: 2px 0 8px 14px;
}

.cw-mobile-group.is-open .cw-mobile-subnav {
  display: block;
}

.cw-mobile-subnav a {
  display: block;
  padding: 11px 0;
  color: var(--cw-muted);
  font-size: 13px;
}

.cw-mobile-language-list {
  display: flex;
  gap: 14px;
  padding-top: 25px;
}

.cw-mobile-language-list a {
  padding: 8px;
  color: var(--cw-muted);
  font-size: 12px;
}

.cw-mobile-language-list a.is-active {
  color: var(--cw-gold);
}

body.cw-menu-open {
  overflow: hidden;
}

.cw-hero {
  position: relative;
  display: flex;
  min-height: 720px;
  height: 100svh;
  align-items: center;
  overflow: hidden;
  background: #151515;
  color: #fff;
}

.cw-hero-image,
.cw-image-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cw-hero-image {
  object-position: center 43%;
  animation: cw-pan 18s ease-out both;
}

.cw-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.13) 62%, rgba(0, 0, 0, 0.24));
}

.cw-hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding-top: 60px;
}

.cw-hero h1 {
  max-width: 760px;
  margin: 0 0 22px;
  font-family: var(--cw-display);
  font-size: clamp(54px, 7.2vw, 104px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.cw-hero-lead {
  max-width: 680px;
  margin: 0 0 36px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(14px, 1.3vw, 18px);
  line-height: 1.8;
}

.cw-hero-actions {
  display: none;
  flex-wrap: wrap;
  gap: 34px;
}

.cw-hero-link,
.cw-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.45px;
  text-transform: uppercase;
}

.cw-hero-link:hover,
.cw-text-link:hover {
  color: var(--cw-gold);
}

.cw-discover {
  position: absolute;
  z-index: 2;
  bottom: 38px;
  left: 48px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.cw-discover::after {
  display: block;
  width: 58px;
  height: 1px;
  background: rgba(255, 255, 255, 0.62);
  content: "";
}

.cw-page-heading {
  max-width: 930px;
  padding-top: 185px;
  padding-bottom: 72px;
}

.cw-page-heading h1 {
  margin: 0 0 16px;
  font-size: clamp(44px, 6vw, 78px);
}

.cw-page-heading .cw-page-lead {
  max-width: 760px;
  margin: 0;
  color: var(--cw-muted);
  font-size: 16px;
  line-height: 1.9;
}

.entry-content {
  min-height: 30vh;
}

.cw-section,
.cw-editorial-section {
  padding-top: 115px;
  padding-bottom: 115px;
}

.cw-section.is-border {
  border-top: 1px solid var(--cw-line);
}

.cw-section.is-dark,
.cw-editorial-section.is-dark {
  background: var(--cw-dark);
  color: #fff;
}

.cw-statement {
  padding: 160px 24px;
  text-align: center;
}

.cw-statement h2 {
  margin: 0 0 28px;
  font-size: clamp(48px, 7vw, 88px);
}

.cw-statement p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--cw-muted);
  font-size: 12px;
  letter-spacing: 1.4px;
  line-height: 2;
  text-transform: uppercase;
}

.cw-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 58px;
}

.cw-heading-copy {
  max-width: 780px;
}

.cw-heading-copy h2 {
  margin: 0 0 15px;
  font-size: clamp(42px, 5.2vw, 68px);
}

.cw-heading-copy p:last-child {
  margin: 0;
  color: var(--cw-muted);
  font-size: 15px;
  line-height: 1.9;
}

.is-dark .cw-heading-copy p:last-child {
  color: rgba(255, 255, 255, 0.65);
}

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

.cw-artwork {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.cw-artwork-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: rgba(29, 28, 25, 0.07);
}

.cw-gallery.is-photography .cw-artwork-media,
.cw-gallery.is-edition .cw-artwork-media {
  aspect-ratio: 4 / 3;
}

.cw-artwork-media img {
  transform: scale(1);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.cw-artwork:hover .cw-artwork-media img,
.cw-artwork:focus-visible .cw-artwork-media img {
  transform: scale(1.12);
}

.cw-artwork h3 {
  margin: 18px 0 6px;
  font-family: var(--cw-display);
  font-size: 23px;
  font-weight: 400;
}

.cw-artwork-meta {
  margin: 0 0 9px;
  color: var(--cw-muted);
  font-size: 12px;
}

.cw-artwork-kind {
  color: var(--cw-gold);
  font-size: 9px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.cw-section-note {
  margin-top: 68px;
  padding-top: 29px;
  border-top: 1px solid var(--cw-line);
  color: var(--cw-muted);
  font-size: 10px;
  letter-spacing: 2.2px;
  text-align: center;
  text-transform: uppercase;
}

.cw-feature {
  position: relative;
  display: block;
  margin-bottom: 58px;
  overflow: hidden;
  aspect-ratio: 2.45 / 1;
  background: #171717;
}

.cw-feature::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, 0.63));
  content: "";
}

.cw-feature img {
  transition: transform 0.9s;
}

.cw-feature:hover img {
  transform: scale(1.03);
}

.cw-feature-caption {
  position: absolute;
  z-index: 2;
  right: 30px;
  bottom: 24px;
  left: 30px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  color: #fff;
}

.cw-feature-caption strong {
  font-family: var(--cw-display);
  font-size: 31px;
  font-weight: 400;
}

.cw-feature-caption span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.cw-split {
  display: grid;
  min-height: 690px;
  grid-template-columns: 1fr 1fr;
  background: var(--cw-dark);
  color: #fff;
}

.cw-split-image {
  position: relative;
  min-height: 560px;
}

.cw-split-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 90px;
}

.cw-split-inner {
  max-width: 520px;
}

.cw-split-copy h2 {
  margin: 0 0 24px;
  font-size: clamp(48px, 6vw, 78px);
}

.cw-split-copy p:not(.cw-eyebrow) {
  margin-bottom: 31px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  line-height: 1.95;
}

.cw-exhibition-grid,
.cw-press-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.cw-exhibition-card,
.cw-press-card {
  display: flex;
  min-height: 285px;
  flex-direction: column;
  padding: 35px;
  background: #efeee9;
}

.cw-exhibition-card h3,
.cw-press-card h2 {
  margin: 4px 0 22px;
  font-family: var(--cw-display);
  font-size: 27px;
  font-weight: 400;
  line-height: 1.35;
}

.cw-card-meta {
  margin-top: auto;
  color: var(--cw-muted);
  font-size: 13px;
  line-height: 1.8;
}

.cw-card-meta span {
  display: block;
}

.cw-prose {
  max-width: 850px;
  padding-top: 20px;
  padding-bottom: 125px;
}

.cw-prose p {
  color: var(--cw-muted);
  font-family: var(--cw-display);
  font-size: clamp(22px, 2.5vw, 31px);
  line-height: 1.65;
}

.cw-vision-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2.5 / 1;
  background: #171717;
}

.cw-pullquote {
  margin: 0 0 45px;
  color: var(--cw-ink);
  font-size: clamp(42px, 7vw, 78px);
}

.cw-contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
  padding-bottom: 130px;
}

.cw-contact-intro p {
  color: var(--cw-muted);
  font-size: 15px;
  line-height: 1.9;
}

.cw-contact-form {
  display: grid;
  gap: 16px;
}

.cw-form-field {
  display: grid;
  gap: 8px;
}

.cw-form-field span {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.cw-form-field input,
.cw-form-field textarea {
  width: 100%;
  padding: 16px 15px;
  border: 1px solid var(--cw-line);
  background: transparent;
  color: var(--cw-ink);
}

.cw-form-field textarea {
  min-height: 165px;
  resize: vertical;
}

.cw-form-field input:focus,
.cw-form-field textarea:focus {
  outline: 1px solid var(--cw-gold);
}

.cw-honeypot {
  position: absolute !important;
  left: -9999px !important;
}

.cw-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 22px;
  border: 1px solid var(--cw-dark);
  background: var(--cw-dark);
  color: #fff;
  font-size: 10px;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.cw-primary-button:hover {
  background: transparent;
  color: var(--cw-dark);
}

.cw-status {
  color: var(--cw-gold);
  font-size: 13px;
  line-height: 1.7;
}

.cw-modal {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  padding: 30px;
  place-items: center;
  background: rgba(0, 0, 0, 0.76);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s;
}

.cw-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.cw-modal-card {
  position: relative;
  display: grid;
  width: min(1080px, 100%);
  max-height: 90vh;
  overflow: auto;
  grid-template-columns: 1.2fr 0.8fr;
  background: var(--cw-bg);
  color: var(--cw-ink);
}

.cw-modal-image {
  position: relative;
  min-height: 510px;
  background: #ecebe7;
}

.cw-modal-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 58px;
}

.cw-modal-content h2 {
  margin: 5px 0 16px;
  font-size: 44px;
}

.cw-modal-content p {
  color: var(--cw-muted);
  font-size: 14px;
  line-height: 1.85;
}

.cw-modal-list {
  margin: 0;
  padding: 13px 0 24px;
  list-style: none;
}

.cw-modal-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 9px 0;
  font-size: 12px;
}

.cw-modal-list li::before {
  color: var(--cw-gold);
  content: "✓";
}

.cw-modal-close {
  position: absolute;
  z-index: 3;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border: 0;
  background: var(--cw-bg);
  color: var(--cw-ink);
  font-size: 23px;
}

.cw-empty {
  padding: 80px 0;
  color: var(--cw-muted);
  text-align: center;
}

.cw-footer {
  padding: 74px 0 31px;
  background: var(--cw-dark);
  color: #fff;
}

.cw-footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 35px;
  padding-bottom: 50px;
}

.cw-footer-name {
  margin: 0 0 12px;
  font-family: var(--cw-display);
  font-size: 34px;
}

.cw-footer-tagline {
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  letter-spacing: 1.25px;
  text-transform: uppercase;
}

.cw-footer-links,
.cw-legal-links {
  display: flex;
  align-items: center;
  gap: 17px;
  font-size: 11px;
}

.cw-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 21px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.57);
  font-size: 10px;
}

.cw-footer-copyright {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.55);
}

.cw-footer-copyright h2 {
  font-family: var(--cw-body);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.cw-footer-copyright p {
  max-width: 1000px;
  font-size: 11px;
  line-height: 1.8;
}

.cw-fade {
  animation: cw-fade 0.55s ease both;
}

@keyframes cw-pan {
  from { transform: scale(1.055); }
  to { transform: scale(1); }
}

@keyframes cw-fade {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1280px) {
  :root { --cw-shell: min(1200px, calc(100% - 66px)); }
  .cw-desktop-nav { gap: 15px; }
  .cw-brand { min-width: 170px; }
  .cw-nav-link,
  .cw-nav-trigger { font-size: 9px; letter-spacing: 1.05px; }
}

@media (max-width: 1080px) {
  .cw-desktop-nav { display: none; }
  .cw-mobile-toggle,
  .cw-close-button { display: block; }
  .cw-header-bar { height: 76px; }
  .cw-brand { min-width: auto; }
  .cw-split-copy { padding: 60px; }
  .cw-contact-grid { gap: 45px; }
}

@media (max-width: 782px) {
  body.admin-bar .cw-header { top: 46px; }
}

@media (max-width: 720px) {
  :root { --cw-shell: calc(100% - 36px); }
  .cw-brand-name { font-size: 15px; }
  .cw-hero { min-height: 620px; }
  .cw-hero-content { padding-top: 75px; }
  .cw-hero-actions { display: flex; }
  .cw-hero h1 { font-size: clamp(50px, 15vw, 70px); }
  .cw-hero-shade { background: linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.18)); }
  .cw-discover { left: 18px; }
  .cw-statement { padding: 110px 18px; }
  .cw-section,
  .cw-editorial-section { padding-top: 82px; padding-bottom: 82px; }
  .cw-section-heading { display: block; margin-bottom: 37px; }
  .cw-heading-copy { margin-bottom: 20px; }
  .cw-gallery,
  .cw-exhibition-grid,
  .cw-press-grid { grid-template-columns: 1fr; gap: 32px; }
  .cw-feature { aspect-ratio: 1.55 / 1; }
  .cw-feature-caption { display: block; }
  .cw-feature-caption span { display: block; margin-top: 7px; }
  .cw-split { min-height: auto; grid-template-columns: 1fr; }
  .cw-split-image { min-height: 450px; }
  .cw-split-copy { padding: 70px 24px; }
  .cw-page-heading { padding-top: 145px; padding-bottom: 49px; }
  .cw-prose { padding-bottom: 90px; }
  .cw-vision-image { aspect-ratio: 1.5 / 1; }
  .cw-contact-grid { grid-template-columns: 1fr; gap: 33px; padding-bottom: 95px; }
  .cw-footer-main,
  .cw-footer-bottom { display: block; }
  .cw-footer-links { margin-top: 26px; flex-wrap: wrap; }
  .cw-legal-links { margin-top: 16px; }
  .cw-modal { padding: 12px; }
  .cw-modal-card { grid-template-columns: 1fr; }
  .cw-modal-image { min-height: 270px; }
  .cw-modal-content { padding: 33px 24px; }
  .cw-modal-content h2 { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
