/*
Theme Name: Noma
Theme URI: https://agencem.ca
Author: agence m
Author URI: https://agencem.ca
Description: Thème sur mesure pour Noma Atelier Floral
Version: 1.7
Text Domain: noma
*/


/* FONTS
   ----------------------------- */

@font-face {
   font-family: 'Geist Mono';
   font-style: normal;
   font-weight: 400;
   font-display: swap;
   src: url('fonts/geist-mono-400.woff2') format('woff2');
}

@font-face {
   font-family: 'Space Grotesk';
   font-style: normal;
   font-weight: 400;
   font-display: swap;
   src: url('fonts/space-grotesk-400.woff2') format('woff2');
}

@font-face {
   font-family: 'Space Grotesk';
   font-style: normal;
   font-weight: 600;
   font-display: swap;
   src: url('fonts/space-grotesk-600.woff2') format('woff2');
}

@font-face {
   font-family: 'Geist Mono Fallback';
   src: local('Courier New');
   size-adjust: 99.98%;
   ascent-override: 100.52%;
   descent-override: 29.51%;
   line-gap-override: 0%;
}

@font-face {
   font-family: 'Space Grotesk Fallback';
   src: local('Arial');
   size-adjust: 113.05%;
   ascent-override: 87.04%;
   descent-override: 25.83%;
   line-gap-override: 0%;
}


/* VARIABLES
   ----------------------------- */

:root {

   /* Brand colors */
   --lys: #FFFAEE;
   --dahlia-noir: #30302E;
   --mousse: #B2B096;
   --magnolia-beige: #E8DCC4;

   /* Roles */
   --page-bg: var(--lys);
   --text: var(--dahlia-noir);
   --line: color-mix(in srgb, var(--dahlia-noir) 12%, transparent);
   --line-strong: color-mix(in srgb, var(--dahlia-noir) 22%, transparent);
   --scrim-bg: color-mix(in srgb, var(--dahlia-noir) 35%, transparent);
   --scrim-blur: 8px;
   --red: #B3261E;
   --status-open: #6E8B4E;
   --status-closed: #B4553E;

   /* Type scale */
   --about-title-size: clamp(1.625rem, min(calc(1.1642rem + 1.4745vw), calc(1.6613rem + 1.0753vw)), 3.375rem);
   --about-lead-size: clamp(1rem, min(calc(0.6688rem + 1.4599vw), calc(0.8946rem + 0.7373vw)), 1.875rem);
   --about-text-size: clamp(0.875rem, calc(0.8128rem + 0.2743vw), 1.25rem);
   --hero-media-h: clamp(22.5rem, calc(25rem + 7.8125vw), 37.5rem);
   --hero-title-size: clamp(1.5625rem, min(calc(0.7891rem + 3.4091vw), calc(1.7818rem + 1.431vw)), 4.0625rem);
   --impact-size: clamp(2.5rem, calc(1.8571rem + 3.2143vw), 4.75rem);
   --h1-size: clamp(2.125rem, calc(1.6964rem + 2.1429vw), 3.625rem);
   --h2-size: clamp(1.6875rem, min(calc(1.0136rem + 2.9703vw), calc(1.8523rem + 0.9554vw)), 3.375rem);
   --h3-size: clamp(1.5rem, calc(1.3571rem + 0.7143vw), 2rem);
   --h4-size: clamp(1.25rem, calc(1.1786rem + 0.3571vw), 1.5rem);
   --h5-size: clamp(1.125rem, calc(1.0893rem + 0.1786vw), 1.25rem);
   --h6-size: clamp(1rem, calc(0.9821rem + 0.0893vw), 1.0625rem);
   --lead-size: clamp(0.875rem, min(calc(0.7284rem + 0.4692vw), calc(1.0894rem + 0.1792vw)), 1.375rem);
   --footer-lead-size: clamp(1.125rem, min(calc(0.7132rem + 1.8152vw), calc(1.06rem + 0.982vw)), 2.625rem);
   --paragraph-size: clamp(1rem, calc(0.9643rem + 0.1786vw), 1.125rem);
   --badge-size: clamp(0.6875rem, calc(0.6184rem + 0.3046vw), 0.875rem);
   --detail-size: clamp(0.75rem, calc(0.6773rem + 0.2592vw), 1rem);
   --small-text-size: clamp(0.75rem, calc(0.6835rem + 0.2128vw), 0.875rem);
   --error-size: clamp(0.75rem, calc(0.7168rem + 0.1064vw), 0.8125rem);

   /* Button */
   --btn-size: clamp(0.75rem, calc(0.7182rem + 0.1402vw), 0.875rem);
   --btn-padding: clamp(0.875rem, calc(0.8036rem + 0.3571vw), 1.125rem) clamp(1.25rem, calc(1.1071rem + 0.7143vw), 1.75rem);
   --btn-radius: 6.25rem;

   /* Spacing */
   --container-padding: clamp(1.25rem, calc(0.375rem + 3vw), 3rem);
   --row-padding-s: clamp(2.5rem, min(calc(1.17rem + 4.2553vw), calc(3.0714rem + 2.1429vw)), 6.5rem);
   --row-padding-l: clamp(3.75rem, min(calc(1.423rem + 7.447vw), calc(4.9107rem + 3.5714vw)), 10.625rem);
   --grid-gap: clamp(1rem, calc(0.734rem + 0.851vw), 1.5rem);
   --radius-media: 0.75rem;
   --size-wrap: 100rem;

   /* Header */
   --logo-w: clamp(5.875rem, min(calc(5.1188rem + 3.3333vw), calc(5.6329rem + 2.5048vw)), 9.625rem);
   --header-text-size: clamp(0.6875rem, calc(0.6179rem + 0.3069vw), 1rem);
   --header-padding: clamp(1rem, calc(0.734rem + 0.851vw), 1.5rem);
   --header-h: calc(var(--header-padding) * 2 + var(--logo-w) * 0.5577);

   /* Fonts */
   --font-mono: "Geist Mono", "Geist Mono Fallback", monospace;
   --font-sans: "Space Grotesk", "Space Grotesk Fallback", sans-serif;

   /* Easing */
   --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
   --ease-modal: cubic-bezier(0.87, 0, 0.13, 1);
   --ease-click: cubic-bezier(0.4, 0, 0.2, 1);
   --ease-focus: cubic-bezier(0.32, 0.72, 0, 1);
   --ease-roll: cubic-bezier(0.625, 0.05, 0, 1);
   --roll-stagger: 0.015s;
}

/* BASE
   ----------------------------- */

html {
   background-color: var(--page-bg);
   scrollbar-gutter: stable;
}

html[data-scroll-locked] {
   overflow: hidden;
   overscroll-behavior: none;
}

body {
   font-size: 1rem;
   line-height: 1.45;
   font-family: var(--font-sans);
   font-weight: 400;
   color: var(--text);
   background-color: var(--page-bg);
}

sup {
   font-size: 0.7em;
   font-style: normal;
   vertical-align: super;
   color: inherit;
}


/* TYPOGRAPHY
   ----------------------------- */

h1,
h2,
h3,
h4,
h5,
h6,
p {
   overflow-wrap: break-word;
}

.impact,
h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
   font-family: var(--font-mono);
   font-weight: 400;
   color: var(--text);
}

.impact {
   font-size: var(--impact-size);
   line-height: 1.08;
}

h1, .h1 {
   font-size: var(--h1-size);
   line-height: 1.12;
}

h2, .h2 {
   font-size: var(--h2-size);
   line-height: 1.16;
   text-transform: uppercase;
}

h3, .h3 {
   font-size: var(--h3-size);
   line-height: 1.2;
}

h4, .h4 {
   font-size: var(--h4-size);
   line-height: 1.25;
}

h5, .h5 {
   font-size: var(--h5-size);
   line-height: 1.35;
}

h6, .h6 {
   font-size: var(--h6-size);
   line-height: 1.4;
}

p {
   font-size: var(--paragraph-size);
   line-height: 1.45;
   font-family: var(--font-sans);
   font-weight: 400;
}

.lead {
   font-family: var(--font-mono);
   font-size: var(--lead-size);
   line-height: 1.45;
}

strong, b {
   font-weight: 600;
}

.lead strong,
.lead b {
   font-weight: 400;
}

.badge {
   font-family: var(--font-mono);
   font-size: var(--badge-size);
   line-height: 1.2;
   font-weight: 400;
   text-transform: uppercase;
}


/* ACCESSIBILITY
   ----------------------------- */

.skip-link {
   position: absolute;
   left: -9999px;
   top: auto;
   width: 1px;
   height: 1px;
   overflow: hidden;
   z-index: 9999;
   padding: 0.75rem 1.5rem;
   background: var(--dahlia-noir);
   color: var(--lys);
   font-size: var(--small-text-size);
   text-decoration: none;
   border-radius: var(--btn-radius);
}

.skip-link:focus {
   position: fixed;
   top: 0.5rem;
   left: 0.5rem;
   width: auto;
   height: auto;
   overflow: visible;
}

:focus-visible {
   outline: 2px solid var(--dahlia-noir);
   outline-offset: 2px;
   box-shadow: 0 0 0 2px var(--lys);
}

#main-content:focus {
   outline: none;
}

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


/* GENERAL
   ----------------------------- */

a {
   transition: color 0.2s ease;
}

a[href^="tel"] {
   color: inherit;
   text-decoration: none;
}

.paragraph {
   font-size: var(--paragraph-size);
   line-height: 1.45;
}

.paragraph p {
   padding-bottom: 1rem;
}

.paragraph p:last-child {
   padding-bottom: 0;
}

.c-wrap {
   max-width: var(--size-wrap);
   padding: 0 var(--container-padding);
   margin: 0 auto;
   width: 100%;
}

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


/* PAGE CONTENT
   ----------------------------- */

body:is(.error404, .page:not(.home)) {
   display: flex;
   flex-direction: column;
   min-height: 100svh;
}

body:is(.error404, .page:not(.home)) #main-content {
   flex: 1 0 auto;
   display: flex;
   flex-direction: column;
}

body:is(.error404, .page:not(.home)) footer.footer {
   flex-shrink: 0;
}

:is(section.page-content, section.error-404) {
   display: flex;
   flex: 1 0 auto;
   flex-direction: column;
   padding: 0 var(--container-padding);
}

:is(section.page-content, section.error-404) .content-wrap {
   flex: 1 0 auto;
   padding: var(--row-padding-l) var(--container-padding);
   border-radius: var(--radius-media);
   background-color: var(--magnolia-beige);
}

:is(section.page-content, section.error-404) .info {
   display: grid;
   gap: clamp(2rem, calc(1.734rem + 0.851vw), 2.5rem);
   max-width: 44rem;
   margin: 0 auto;
}

:is(section.page-content, section.error-404) h1 {
   font-size: var(--about-title-size);
}

section.page-content .info {
   max-width: 55rem;
}

section.page-content h1 {
   max-width: 14em;
}

section.page-content .paragraph {
   display: grid;
   gap: 1em;
}

section.page-content .paragraph p {
   padding-bottom: 0;
}

section.page-content .paragraph h2 {
   margin-top: 1.5em;
   font-size: var(--h4-size);
   line-height: 1.3;
}

section.page-content .paragraph h3 {
   margin-top: 1em;
   font-family: var(--font-sans);
   font-size: var(--paragraph-size);
   font-weight: 600;
   line-height: 1.4;
}

section.page-content .paragraph :is(ul, ol) {
   display: grid;
   gap: 0.5em;
   margin: 0;
   padding-left: 1.25em;
}

section.page-content .paragraph ul {
   list-style: disc;
}

section.page-content .paragraph ol {
   list-style: decimal;
}

section.page-content .paragraph a {
   color: inherit;
   text-decoration: underline;
   text-underline-offset: 0.2em;
}

@media (max-width: 767px) {
   :is(section.page-content, section.error-404) .content-wrap {
      padding: var(--row-padding-s) var(--container-padding);
   }
}


/* 404
   ----------------------------- */

section.error-404 .content-wrap {
   display: flex;
   align-items: center;
}

section.error-404 .info {
   justify-items: center;
   width: 100%;
   text-align: center;
}

section.error-404 h1 {
   max-width: 10em;
}


/* BTN
   ----------------------------- */

.btn {
   --btn-color: var(--lys);
   --btn-bg-color: var(--dahlia-noir);
   color: var(--btn-color);
   font-family: var(--font-mono);
   font-size: var(--btn-size);
   font-weight: 400;
   line-height: 1;
   text-transform: uppercase;
   text-decoration: none;
   background-color: transparent;
   padding: 0;
   border: none;
   border-radius: var(--btn-radius);
   outline-style: none;
   cursor: pointer;
   display: inline-grid;
   position: relative;
   -webkit-user-select: none;
   user-select: none;
   -webkit-tap-highlight-color: transparent;
   transition: scale 0.15s var(--ease-click);
}

.btn:focus-visible {
   outline: none;
   box-shadow: none;
}

.btn::after {
   content: "";
   position: absolute;
   inset: -0.25em;
   z-index: 1;
   border-radius: var(--btn-radius);
   pointer-events: none;
   transition: box-shadow 0.3s var(--ease-focus);
}

.btn:focus-visible::after {
   box-shadow: 0 0 0 2px var(--dahlia-noir);
}

.btn:active {
   scale: 0.955 0.925;
}

.btn .bg {
   background-color: var(--btn-bg-color);
   border-radius: var(--btn-radius);
   grid-area: 1 / 1;
   width: 100%;
   height: 100%;
}

.btn .inner {
   z-index: 2;
   width: 100%;
   height: 100%;
   padding: var(--btn-padding);
   grid-area: 1 / 1;
   display: flex;
   justify-content: center;
   align-items: center;
   gap: 0.125em;
}

.btn .icon {
   position: relative;
   display: block;
}

.btn .icon svg {
   display: block;
   width: 100%;
   height: 100%;
}

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

   .btn:active {
      scale: none;
   }
}

/* TEXT REVEAL
   ----------------------------- */

html[data-reveal-pending] [data-reveal] {
   visibility: hidden;
}

[data-reveal] > * {
   margin-bottom: -0.18em;
}

[data-reveal] .line-mask {
   overflow: clip;
   overflow-clip-margin: 0.06em;
}

[data-reveal] .line-mask > * {
   padding-bottom: 0.18em;
}


/* ROLL
   ----------------------------- */

[data-roll] .text {
   display: inline-block;
   line-height: 1;
   white-space: nowrap;
   clip-path: inset(-10% 0%);
}

[data-roll] .text span {
   display: inline-block;
   white-space: nowrap;
   translate: 0 0 0;
   text-shadow: 0 1.3em currentColor;
   transition: translate 0.6s calc(var(--index) * var(--roll-stagger)) var(--ease-roll);
}

:is(a, button)[data-roll]:not(.btn) {
   padding: 0.2em 0;
}

.btn[data-roll] .bg {
   transition: scale 0.45s var(--ease-roll);
}

.btn[data-roll]::after {
   transition: box-shadow 0.3s var(--ease-focus), scale 0.45s var(--ease-roll);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
   .btn[data-roll]:focus-visible::after {
      scale: var(--roll-scale-x, 1) var(--roll-scale-y, 1);
      transition: box-shadow 0.3s var(--ease-focus), scale 0.55s 0.05s var(--ease-roll);
   }

   .btn[data-roll]:is(:hover, :focus-visible) .bg {
      scale: var(--roll-scale-x, 1) var(--roll-scale-y, 1);
      transition: scale 0.55s 0.05s var(--ease-roll);
   }

   [data-roll]:is(:hover, :focus-visible, .is-held) .text span {
      translate: 0 -1.3em 0;
      transition: translate 0.6s calc(var(--index) * var(--roll-stagger) + 0.05s) var(--ease-roll);
   }
}


/* CF7 FORMS
   ----------------------------- */

.wpcf7-form {
   display: flex;
   justify-content: space-between;
   flex-wrap: wrap;
   gap: 1.5rem;
   padding-top: 0.75rem;
}

.wpcf7-form label {
   display: block;
   font-size: var(--badge-size);
   font-family: var(--font-mono);
   text-transform: uppercase;
   color: var(--dahlia-noir);
   line-height: 1.2;
}

.wpcf7-form .wpcf7-form-control-wrap {
   display: block;
   margin-top: 0.5rem;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
   width: 100%;
   font-family: var(--font-sans);
   font-size: 1rem;
   font-weight: 400;
   line-height: 1.4;
   color: var(--dahlia-noir);
   background: transparent;
   padding: 0.75rem 0;
   border: 0;
   border-bottom: 1px solid currentColor;
   border-radius: 0;
}

.wpcf7-form input:focus-visible,
.wpcf7-form textarea:focus-visible {
   outline: 2px solid currentColor;
   outline-offset: 4px;
   box-shadow: none;
}

.wpcf7-form textarea {
   height: 8rem;
   resize: none;
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
   color: var(--dahlia-noir);
   opacity: 0.7;
}

.wpcf7-form .control-group {
   position: relative;
   width: 100%;
}

.wpcf7-form .control-group.mid {
   width: calc(50% - 0.75rem);
}

.wpcf7-form .submit-wrap {
   width: 100%;
   display: flex;
   align-items: center;
   gap: 1.25rem;
   justify-content: flex-start;
}

.wpcf7-form .submit-wrap .btn {
   align-self: flex-end;
   order: 1;
}

.wpcf7-form .submit-wrap .wpcf7-spinner {
   order: 2;
}

.wpcf7-form .note {
   width: 100%;
   font-family: var(--font-mono);
   font-size: var(--badge-size);
   line-height: 1.3;
   opacity: 0.8;
   margin: 0;
}

.wpcf7-form .wpcf7-not-valid-tip {
   display: block;
   margin-top: 0.375rem;
   font-size: var(--error-size);
   line-height: 1.3;
   color: var(--red);
}

.wpcf7-form input[type="text"].wpcf7-not-valid,
.wpcf7-form input[type="email"].wpcf7-not-valid,
.wpcf7-form input[type="tel"].wpcf7-not-valid,
.wpcf7-form textarea.wpcf7-not-valid {
   border-bottom-color: var(--red);
}

.wpcf7-form .wpcf7-response-output {
   font-family: var(--font-mono);
   font-size: var(--small-text-size);
   line-height: 1.4;
   background: transparent;
   border: 0 !important;
   padding: 0 !important;
   margin: 0 !important;
   width: 100%;
}

.wpcf7-form .altEmail_container {
   visibility: hidden;
}

.wpcf7-spinner::before {
   display: none;
}

.wpcf7-spinner {
   margin: 0 !important;
   background-image: url('images/loader.svg') !important;
   background-color: transparent !important;
   background-size: contain;
   background-repeat: no-repeat;
   width: 1.5rem !important;
   height: 1.5rem !important;
   display: block;
   flex-shrink: 0;
}

@media (max-width: 767px) {
   .wpcf7-form {
      gap: 0.75rem;
      padding-top: 0.375rem;
   }

   .wpcf7-form .control-group.mid {
      width: 100%;
   }

   .wpcf7-form .note {
      margin-top: 0.375rem;
   }

   .wpcf7-form .wpcf7-form-control-wrap {
      margin-top: 0.25rem;
   }

   .wpcf7-form input[type="text"],
   .wpcf7-form input[type="email"],
   .wpcf7-form input[type="tel"] {
      padding: 0.5rem 0;
   }

   .wpcf7-form .submit-wrap {
      position: relative;
      margin-top: 0.25rem;
   }

   .wpcf7-form .submit-wrap .btn {
      width: 100%;
   }

   .wpcf7-form .submit-wrap .wpcf7-spinner {
      position: absolute;
      top: calc(100% + 1rem);
      left: 50%;
      translate: -50% 0;
      pointer-events: none;
   }

   .wpcf7-form .wpcf7-response-output {
      text-align: center;
   }
}


/* COOKIEYES
   ----------------------------- */

body .cky-consent-bar [data-cky-tag="powered-by"],
body .cky-footer-wrapper [data-cky-tag="detail-powered-by"] {
   display: none !important;
}

body .cky-consent-bar > div:has(> [data-cky-tag="powered-by"]),
body .cky-footer-wrapper > div:has(> [data-cky-tag="detail-powered-by"]) {
   padding: 0 !important;
}

body .cky-consent-container {
   z-index: 101;
   width: clamp(28rem, max(calc(26.9362rem + 3.4043vw), calc(26.1429rem + 4.2857vw)), 33rem);
}

body .cky-btn-revisit-wrapper {
   display: none !important;
}

html[data-scroll-locked] .cky-consent-container {
   display: none;
}

body .cky-box-bottom-left {
   bottom: 1rem;
   left: 1rem;
}

body .cky-box-bottom-right {
   right: 1rem;
   bottom: 1rem;
}

body .cky-consent-container .cky-notice-content-wrapper,
body .cky-consent-bar .cky-notice-content-wrapper {
   padding: 0;
}

body .cky-consent-container .cky-consent-bar {
   padding: clamp(1.25rem, min(calc(1.117rem + 0.4255vw), calc(1.3393rem + 0.1786vw)), 1.625rem);
   color: var(--dahlia-noir);
   background-color: var(--lys) !important;
   border: 1px solid var(--line) !important;
   border-radius: 1.5rem;
   box-shadow: none;
}

body .cky-notice .cky-title,
body .cky-preference-header .cky-preference-title {
   margin: 0 0 0.5rem;
   color: var(--dahlia-noir) !important;
   font-family: var(--font-mono);
   font-size: var(--h5-size);
   font-weight: 400;
   line-height: 1.3;
}

body .cky-notice-des,
body .cky-notice-des *,
body .cky-preference-content-wrapper,
body .cky-preference-content-wrapper *,
body .cky-accordion-header-des,
body .cky-accordion-header-des * {
   color: color-mix(in srgb, var(--dahlia-noir) 80%, var(--lys)) !important;
   font-family: var(--font-sans);
   font-size: var(--small-text-size);
   line-height: 1.5;
}

body .cky-notice-des a,
body .cky-preference-content-wrapper a,
body .cky-show-desc-btn {
   color: var(--dahlia-noir) !important;
   text-decoration: underline;
   text-decoration-thickness: 1px;
   text-underline-offset: 0.2em;
}

body .cky-notice-btn-wrapper,
body .cky-prefrence-btn-wrapper {
   display: flex;
   flex-wrap: wrap;
   gap: clamp(0.375rem, calc(0.3085rem + 0.2128vw), 0.5rem);
   margin-top: clamp(1rem, min(calc(0.734rem + 0.8511vw), calc(1.3393rem + 0.1786vw)), 1.625rem);
}

body .cky-btn {
   flex: 1 1 0;
   min-width: max-content;
   margin: 0;
   padding: clamp(0.75rem, calc(0.6968rem + 0.1702vw), 0.875rem) clamp(1rem, min(calc(0.9335rem + 0.2128vw), calc(0.9643rem + 0.1786vw)), 1.25rem);
   color: var(--dahlia-noir) !important;
   font-family: var(--font-mono);
   font-size: var(--btn-size);
   font-weight: 400;
   line-height: 1;
   text-transform: uppercase;
   background-color: transparent !important;
   border: 1px solid var(--line-strong) !important;
   border-radius: var(--btn-radius);
   opacity: 1;
   cursor: pointer;
   transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

body .cky-btn.cky-btn-accept {
   color: var(--lys) !important;
   background-color: var(--dahlia-noir) !important;
   border-color: var(--dahlia-noir) !important;
}

@media (hover: hover) and (pointer: fine) {
   body .cky-btn:hover {
      background-color: color-mix(in srgb, var(--dahlia-noir) 6%, transparent) !important;
      opacity: 1;
   }

   body .cky-btn.cky-btn-accept:hover {
      background-color: color-mix(in srgb, var(--dahlia-noir) 85%, black) !important;
      border-color: color-mix(in srgb, var(--dahlia-noir) 85%, black) !important;
   }
}

body .cky-btn:focus-visible {
   outline: 2px solid var(--dahlia-noir);
   outline-offset: 2px;
}

body .cky-modal .cky-preference-center {
   max-width: 100%;
   color: var(--dahlia-noir) !important;
   background-color: var(--lys) !important;
   border: 0 !important;
   border-radius: 1.5rem;
   box-shadow: none;
}

body .cky-modal {
   left: 50%;
   border-radius: 1.5rem;
   box-shadow: none;
   overflow: hidden;
   opacity: 0;
   transform: translate(-50%, -50%);
   transition: opacity 0.6s var(--ease-modal), visibility 0s 0.6s;
}

body .cky-modal.cky-modal-open {
   opacity: 1;
   transition: opacity 0.8s var(--ease-modal);
}

body .cky-overlay {
   background-color: var(--scrim-bg);
   -webkit-backdrop-filter: blur(var(--scrim-blur));
   backdrop-filter: blur(var(--scrim-blur));
   opacity: 1;
   transition: opacity 0.8s var(--ease-modal), display 0.8s;
   transition-behavior: allow-discrete;
}

body .cky-overlay.cky-hide {
   opacity: 0;
   transition-duration: 0.6s;
}

@starting-style {
   body .cky-overlay {
      opacity: 0;
   }
}

body :is(.cky-preference-header, .cky-preference-content-wrapper, .cky-footer-wrapper, .cky-accordion) {
   border-color: var(--line) !important;
}

body .cky-preference-header .cky-preference-title {
   margin: 0;
}

body .cky-preference-header .cky-btn-close img {
   filter: brightness(0);
}

body :is(.cky-footer-wrapper, .cky-footer-shadow) {
   background: var(--lys) !important;
}

body .cky-footer-shadow {
   background: linear-gradient(180deg, color-mix(in srgb, var(--lys) 0%, transparent) 0%, var(--lys) 100%) !important;
}

body .cky-accordion-header .cky-accordion-btn {
   color: var(--dahlia-noir) !important;
   font-family: var(--font-sans);
   font-size: var(--paragraph-size);
   font-weight: 600;
}

body .cky-always-active {
   color: var(--dahlia-noir) !important;
   font-family: var(--font-mono);
   font-size: var(--small-text-size);
   font-weight: 400;
   text-transform: uppercase;
}

body .cky-chevron-right::before {
   border-color: var(--dahlia-noir) !important;
}

body .cky-switch input[type="checkbox"] {
   background-color: color-mix(in srgb, var(--dahlia-noir) 56%, transparent) !important;
}

body .cky-switch input[type="checkbox"]:checked {
   background-color: var(--dahlia-noir) !important;
}

body .cky-audit-table {
   color: var(--dahlia-noir) !important;
   background-color: var(--magnolia-beige) !important;
   border-radius: 0.5rem;
}

@media (max-width: 767px) {
   body .cky-consent-container {
      width: calc(100% - 2rem);
   }
}

@media (max-width: 576px) {
   body :is(.cky-modal, .cky-modal .cky-preference-center) {
      border-radius: 0;
   }
}

@media (max-width: 479px) {
   body :is(.cky-custom-brand-logo-wrapper, .cky-notice .cky-title, .cky-notice-des, .cky-notice-btn-wrapper) {
      padding: 0;
   }

   body .cky-consent-container {
      width: 100%;
   }

   body .cky-box-bottom-left,
   body .cky-box-bottom-right {
      right: 0;
      bottom: 0;
      left: 0;
   }

   body .cky-consent-container .cky-consent-bar {
      border-width: 1px 0 0 !important;
      border-radius: 1.5rem 1.5rem 0 0;
   }

   body .cky-notice-btn-wrapper .cky-btn {
      flex: none;
      width: 100%;
   }
}

@media (prefers-reduced-motion: reduce) {
   body .cky-modal,
   body .cky-modal.cky-modal-open,
   body .cky-overlay,
   body .cky-btn {
      transition: none;
   }
}

@media (forced-colors: active) {
   body .cky-consent-container .cky-consent-bar,
   body .cky-modal .cky-preference-center {
      border: 1px solid CanvasText !important;
   }
}


/* HEADER
   ----------------------------- */

header.header {
   padding: var(--header-padding) var(--container-padding);
   font-family: var(--font-mono);
   font-size: var(--header-text-size);
   line-height: 1.2;
   text-transform: uppercase;
}

header.header .content-wrap {
   display: grid;
   grid-template-columns: 1fr auto 1fr;
   align-items: center;
   gap: 1.5rem;
}

.logo {
   display: flex;
   align-items: center;
   color: var(--dahlia-noir);
}

.logo a {
   display: block;
   color: inherit;
   transition: none;
}

.logo svg,
.logo img {
   display: block;
   width: var(--logo-w);
   height: auto;
}

.logo svg {
   overflow: visible;
}

header.header .status {
   display: flex;
   align-items: center;
   gap: 0.5em;
   font: inherit;
   white-space: nowrap;
}

header.header button.status {
   min-height: 2rem;
   padding: 0;
   border: 0;
   background: none;
   color: inherit;
   text-transform: inherit;
   cursor: pointer;
}

header.header button.status:focus-visible,
footer.footer .status:focus-visible {
   outline: 2px solid var(--dahlia-noir);
   outline-offset: 0.25rem;
   border-radius: 0.125rem;
}

header.header .status .more,
footer.footer .status .more {
   display: inline-flex;
   align-items: center;
   gap: 0.375em;
   margin-left: 0.5em;
   opacity: 0.7;
}

header.header .status .chevron,
footer.footer .status .chevron {
   flex-shrink: 0;
   width: 0.75em;
   height: 0.75em;
}

header.header .status .icon {
   flex-shrink: 0;
   width: 1.25em;
   height: 1.25em;
}

header.header .status .colon {
   animation: blink 1s steps(1) infinite;
}

@keyframes blink {
   50% { opacity: 0; }
}

header.header .status .dot,
footer.footer .status .dot {
   width: 0.5em;
   height: 0.5em;
   border-radius: 50%;
   background-color: var(--status-open);
}

header.header .status .dot {
   margin: 0 0.25em;
}

header.header .status.is-closed .dot,
footer.footer .status.is-closed .dot {
   background-color: var(--status-closed);
}

header.header .actions {
   display: flex;
   grid-column: 3;
   justify-self: end;
   align-items: center;
   gap: clamp(1.5rem, calc(1.234rem + 0.851vw), 2rem);
}

header.header .link {
   display: inline-flex;
   align-items: center;
   min-height: 1.5rem;
   color: inherit;
}

@media (max-width: 1280px) {
   header.header .actions .link {
      display: none;
   }
}

@media (max-width: 1024px) {
   header.header .content-wrap {
      grid-template-columns: auto 1fr auto;
   }

   header.header .status {
      justify-self: center;
   }
}

@media (max-width: 767px) {
   header.header .content-wrap {
      grid-template-columns: auto auto;
      justify-content: space-between;
   }

   header.header .actions {
      display: none;
   }

   header.header .status .dot {
      margin: 0;
   }

   header.header .status {
      flex-wrap: wrap;
      justify-content: flex-end;
      row-gap: 0.5em;
   }

   header.header .status .more {
      flex-basis: 100%;
      justify-content: flex-end;
      margin-left: 0;
   }
}

@media (prefers-reduced-motion: reduce) {
   header.header .status .colon {
      animation: none;
   }
}


/* TIMETABLE
   ----------------------------- */

.timetable {
   display: flex;
   flex-direction: column;
   gap: 1rem;
   padding: 1rem 0.5rem 0.5rem;
   border-radius: 1.5rem;
   background-color: var(--lys);
   color: var(--dahlia-noir);
   font-family: var(--font-mono);
   font-size: var(--detail-size);
   line-height: 1;
}

.timetable .top-wrap {
   display: flex;
   align-items: center;
   gap: 0.5rem;
   padding: 0 0.25rem 0 0.75rem;
}

.timetable h2 {
   flex: 1;
   font-size: 1.125rem;
   line-height: 1.25;
   text-transform: none;
}

.timetable .btn-close {
   --btn-radius: 50%;
   --btn-padding: 0;
   --btn-color: var(--dahlia-noir);
   --btn-bg-color: rgba(48, 48, 46, 0.06);
   flex-shrink: 0;
   width: 2.25rem;
   height: 2.25rem;
}

.timetable .btn-close .bg {
   transition: background-color 0.3s var(--ease-out);
}

.timetable .btn-close .icon {
   width: 100%;
   height: 100%;
}

.timetable .btn-close .icon svg {
   position: absolute;
   top: 50%;
   left: 50%;
   width: 0.75rem;
   height: 0.75rem;
   rotate: 45deg;
   translate: -50% -50%;
}

.timetable .items {
   display: flex;
   flex-direction: column;
   gap: 0.125rem;
   margin: 0;
   padding: 0;
   list-style: none;
}

.timetable .item {
   display: flex;
   justify-content: space-between;
   align-items: center;
   gap: 1.5rem;
   padding: 0.625em 0.75em;
   border: 1px solid transparent;
   border-radius: 50em;
   opacity: 0.7;
}

.timetable .item.is-today {
   border-color: rgba(48, 48, 46, 0.06);
   background-color: rgba(48, 48, 46, 0.05);
   opacity: 1;
}

.timetable .note {
   display: grid;
   padding: 0.25rem 0.75rem 1rem;
   font: inherit;
   font-size: 0.875rem;
   line-height: 1.3;
   opacity: 0.7;
}

@media (hover: hover) and (pointer: fine) {
   .timetable .btn-close:hover {
      --btn-bg-color: rgba(48, 48, 46, 0.09);
   }
}


/* DRAWER
   ----------------------------- */

dialog.drawer {
   position: fixed;
   inset: 0;
   z-index: 999;
   width: 100%;
   height: 100%;
   max-width: none;
   max-height: none;
   margin: 0;
   padding: 0;
   color: var(--dahlia-noir);
   background: transparent;
   border: none;
   overflow: clip;
}

dialog.drawer:focus {
   outline: none;
}

dialog.drawer.is-closing {
   display: block;
   pointer-events: none;
}

dialog.drawer::backdrop {
   background: transparent;
}

dialog.drawer::before {
   content: "";
   position: absolute;
   inset: 0;
   background-color: var(--scrim-bg);
   -webkit-backdrop-filter: blur(var(--scrim-blur));
   backdrop-filter: blur(var(--scrim-blur));
   opacity: 0;
   cursor: pointer;
   transition: opacity 0.6s var(--ease-modal);
}

dialog.drawer.is-open::before {
   opacity: 1;
   transition-duration: 0.8s;
}

dialog.drawer[data-drawer="center"] .frame {
   position: absolute;
   inset: 0;
   width: min(25rem, calc(100% - 2rem));
   height: -webkit-fit-content;
   height: fit-content;
   max-height: calc(100vh - 2rem);
   max-height: calc(100dvh - 2rem);
   margin: auto;
   display: flex;
   opacity: 0;
   translate: 0 2rem;
   transition: opacity 0.6s var(--ease-modal), translate 0.6s var(--ease-modal);
}

dialog.drawer[data-drawer="center"].is-open .frame {
   opacity: 1;
   translate: 0 0;
   transition-duration: 0.8s;
}

dialog.drawer[data-drawer="center"] .panel {
   flex: 1;
   max-height: inherit;
   overflow-y: auto;
   overscroll-behavior: contain;
}

@media (prefers-reduced-motion: reduce) {
   dialog.drawer::before,
   dialog.drawer[data-drawer="center"] .frame {
      transition: none;
   }
}

@media (forced-colors: active) {
   dialog.drawer .panel {
      border: 1px solid CanvasText;
   }
}


/* FOOTER
   ----------------------------- */

footer.footer {
   position: relative;
   overflow: hidden;
   padding: var(--row-padding-l) var(--container-padding) clamp(1rem, min(calc(0.734rem + 0.8511vw), calc(1.3393rem + 0.1786vw)), 1.625rem);
   background-color: var(--lys);
}

footer.footer .flowers {
   position: absolute;
   right: clamp(-5rem, -6vw, -1.5rem);
   bottom: clamp(-8rem, -8vw, -2.5rem);
   width: clamp(30rem, calc(3.894rem + 46.16vw), 60rem);
   height: auto;
   color: color-mix(in srgb, var(--magnolia-beige) 28%, var(--lys));
   pointer-events: none;
}

footer.footer .content-wrap {
   position: relative;
   display: grid;
   gap: var(--row-padding-l);
}

footer.footer .top-wrap {
   display: grid;
   justify-items: center;
   gap: clamp(1rem, calc(0.8669rem + 0.4255vw), 1.25rem);
   text-align: center;
}

footer.footer .button-wrap {
   margin-top: clamp(0.5rem, calc(0.2rem + 0.8vw), 1.25rem);
}

footer.footer .logo {
   --logo-w: clamp(6.25rem, calc(5.3856rem + 3.7383vw), 8.75rem);
   margin-bottom: clamp(0.5rem, calc(0.2rem + 0.8vw), 1.25rem);
}

footer.footer .logo svg {
   overflow: visible;
}

footer.footer .lead {
   max-width: 22em;
   font-size: calc(var(--footer-lead-size) * 1.12);
}

footer.footer .status {
   display: inline-flex;
   flex-wrap: wrap;
   justify-content: center;
   align-items: center;
   gap: 0.25em 0.5em;
   min-height: 2rem;
   padding: 0;
   border: 0;
   background: none;
   color: inherit;
   font-family: var(--font-mono);
   font-size: var(--header-text-size);
   line-height: 1.2;
   text-transform: uppercase;
   cursor: pointer;
}

footer.footer .status .more {
   margin-left: 0.25em;
}

footer.footer .bottom-wrap {
   display: grid;
   grid-template-columns: 1fr auto 1fr;
   align-items: center;
   gap: 0.375rem 2rem;
   padding-top: 1.5rem;
   border-top: 1.5px solid var(--dahlia-noir);
   font-family: var(--font-mono);
   font-size: var(--detail-size);
   line-height: 1.4;
}

footer.footer .bottom-wrap p {
   font: inherit;
}

footer.footer .bottom-wrap a {
   display: inline-flex;
   align-items: center;
   min-height: 1.5rem;
}

footer.footer .legal {
   display: flex;
   flex-wrap: wrap;
   grid-column: 1;
   align-items: center;
   gap: 0.25rem 0.625rem;
}

footer.footer .credit {
   display: flex;
   flex-wrap: wrap;
   justify-content: flex-end;
   align-items: center;
   gap: 0.25rem 0.625rem;
   grid-column: 3;
   justify-self: end;
}

footer.footer .cookies {
   display: inline-flex;
   align-items: center;
   gap: 0.625rem;
}

footer.footer .cookies button {
   display: inline-flex;
   align-items: center;
   min-height: 1.5rem;
   color: inherit;
   font: inherit;
   text-transform: inherit;
   background: none;
   border: 0;
   cursor: pointer;
}

html:not([data-consent-ready]) footer.footer .cookies {
   display: none;
}

footer.footer :is(.legal, .credit) .dot {
   width: 0.25rem;
   height: 0.25rem;
   border-radius: 50%;
   background-color: currentColor;
}

footer.footer a:not(.btn) {
   color: inherit;
}

footer.footer .socials {
   display: flex;
   grid-column: 2;
   gap: 0.25rem;
   margin: 0;
   padding: 0;
   list-style: none;
}

footer.footer .socials .btn-icon {
   display: grid;
   place-items: center;
   width: clamp(2.25rem, min(calc(2.117rem + 0.4255vw), calc(2.1786rem + 0.3571vw)), 2.75rem);
   width: round(clamp(2.25rem, min(calc(2.117rem + 0.4255vw), calc(2.1786rem + 0.3571vw)), 2.75rem), 2px);
   aspect-ratio: 1;
   border-radius: 50%;
   font-size: clamp(1.125rem, min(calc(1.0585rem + 0.2128vw), calc(1.0893rem + 0.1786vw)), 1.375rem);
}

footer.footer .socials .bg,
footer.footer .socials .icon {
   grid-area: 1 / 1;
}

footer.footer .socials .bg {
   width: 100%;
   height: 100%;
   border-radius: 50%;
   background-color: var(--magnolia-beige);
   opacity: 0;
   scale: 0.8;
   transition: opacity 0.4s var(--ease-out), scale 0.4s var(--ease-out);
}

footer.footer .socials .icon {
   position: relative;
}

footer.footer .socials svg {
   display: block;
   width: auto;
   height: 1em;
   max-width: 1em;
}

footer.footer .socials .btn-icon:focus-visible .bg {
   opacity: 1;
   scale: 1;
}

@media (hover: hover) and (pointer: fine) {
   footer.footer .socials .btn-icon:hover .bg {
      opacity: 1;
      scale: 1;
   }
}

@media (max-width: 1280px) {
   footer.footer .bottom-wrap {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      text-align: center;
   }

   footer.footer .socials {
      margin-bottom: 0.25rem;
   }

   footer.footer :is(.legal, .credit) {
      justify-content: center;
      row-gap: 0;
   }
}

@media (max-width: 1024px) {
   footer.footer .flowers {
      display: none;
   }
}

@media (max-width: 767px) {
   footer.footer .button-wrap {
      justify-self: stretch;
   }

   footer.footer .button-wrap .btn {
      width: 100%;
   }
}

@media (prefers-reduced-motion: reduce) {
   footer.footer .socials .bg {
      transition: none;
   }
}


/* FOCUS MODE
   ----------------------------- */

html.is-pointer :focus-visible {
   outline: none !important;
   box-shadow: none !important;
}

html.is-pointer .btn:focus-visible::after {
   box-shadow: none;
}
