.morph-consent[hidden],
.morph-consent__preferences[hidden]{display:none!important}

.morph-consent{
	position:fixed;
	z-index:100000;
	right:24px;
	bottom:24px;
	width:min(460px,calc(100vw - 48px));
	pointer-events:none
}
.morph-consent__panel{
	position:relative;
	overflow:hidden;
	background:#141414;
	color:#f7faf5;
	border:1px solid rgba(255,255,255,.12);
	border-radius:18px;
	box-shadow:0 28px 80px rgba(0,0,0,.42);
	padding:24px;
	pointer-events:auto;
	backdrop-filter:blur(16px);
	-webkit-backdrop-filter:blur(16px)
}
.morph-consent__panel:before{
	content:"";
	position:absolute;
	inset:0 0 auto;
	height:3px;
	background:#50aa00
}
.morph-consent__eyebrow{
	margin:0 0 8px;
	color:#8de056;
	font-size:10px;
	font-weight:800;
	letter-spacing:.16em;
	text-transform:uppercase
}
.morph-consent h2{
	margin:0 0 10px;
	font-family:'Garet Heavy','Garet',Arial,sans-serif;
	font-size:clamp(24px,2.5vw,32px);
	line-height:1.05;
	letter-spacing:-.035em
}
.morph-consent p{
	margin:0 0 8px;
	color:#f2f5f0;
	font-size:13px;
	line-height:1.58
}
.morph-consent a{
	color:#f7faf5;
	text-decoration:underline;
	text-underline-offset:3px
}
.morph-consent__actions{
	display:flex;
	align-items:center;
	flex-wrap:wrap;
	gap:9px;
	margin-top:18px
}
.morph-consent__button,
.morph-consent__link,
.site-footer__cookie-link{
	font:inherit;
	cursor:pointer
}
.morph-consent__button{
	min-height:42px;
	border:1px solid rgba(255,255,255,.18);
	border-radius:999px;
	background:transparent;
	color:#f7faf5;
	padding:9px 15px;
	font-size:12px;
	font-weight:750;
	transition:transform .18s ease,border-color .18s ease,background .18s ease
}
.morph-consent__button:hover{border-color:rgba(255,255,255,.36);transform:translateY(-1px)}
.morph-consent__button--primary{
	background:#50aa00;
	border-color:#50aa00;
	color:#ffffff
}
.morph-consent__button--primary:hover{background:#5dba0a;border-color:#5dba0a}
.morph-consent__link{
	min-height:42px;
	border:0;
	background:transparent;
	color:#f2f5f0;
	padding:8px 4px;
	font-size:12px;
	text-decoration:underline;
	text-underline-offset:3px
}
.morph-consent__button:focus-visible,
.morph-consent__link:focus-visible,
.site-footer__cookie-link:focus-visible,
.morph-consent__choice input:focus-visible{
	outline:3px solid #8de056;
	outline-offset:3px
}
.morph-consent__choice{
	display:grid;
	grid-template-columns:minmax(0,1fr) auto;
	gap:18px;
	align-items:center;
	padding:14px 0;
	border-top:1px solid rgba(255,255,255,.1)
}
.morph-consent__choice:first-of-type{margin-top:8px}
.morph-consent__choice strong,
.morph-consent__choice span{display:block}
.morph-consent__choice strong{font-size:13px;margin-bottom:3px}
.morph-consent__choice span{font-size:11px;line-height:1.45;color:#dce5d8}
.morph-consent__choice input{width:20px;height:20px;accent-color:#50aa00}
.morph-consent__choice--locked>span{font-weight:700;color:#8de056}
.site-footer__cookie-link{
	display:inline;
	border:0;
	background:none;
	color:#BEC4BB;
	padding:0;
	text-decoration:underline;
	text-decoration-thickness:inherit;
	text-underline-offset:inherit;
	font-size:inherit;
	line-height:inherit
}
.site-footer__cookie-link:hover{color:inherit}

@media(max-width:620px){
	.morph-consent{
		right:10px;
		left:10px;
		bottom:10px;
		width:auto
	}
	.morph-consent__panel{
		border-radius:16px;
		padding:21px 18px 18px
	}
	.morph-consent h2{font-size:26px}
	.morph-consent__actions{align-items:stretch}
	.morph-consent__button{flex:1 1 calc(50% - 5px)}
	.morph-consent__link{flex:1 1 100%;text-align:center}
}
@media(prefers-reduced-motion:reduce){
	.morph-consent__button{transition:none}
}

/*
 * Morph corporate design alignment | 2 Nov 2026
 * Scoped to the consent panel; no consent behaviour or other site design changes.
 * Uses the same Garet weights, ink/chalk/green and pill CTAs as the live Morph site.
 */
@font-face {
  font-family: "Morph Garet Consent";
  src: url("../fonts/Garet-Book.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Morph Garet Consent";
  src: url("../fonts/Garet-Heavy.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
.morph-consent {
  font-family: "Morph Garet Consent", "Garet", "Helvetica Neue", Arial, sans-serif;
  color: var(--chalk, #f8fbf6);
  width: min(520px, calc(100vw - 48px));
  max-width: calc(100vw - 32px);
}
.morph-consent,
.morph-consent *,
.morph-consent *::before,
.morph-consent *::after {
  box-sizing: border-box;
}
.morph-consent__panel {
  background: var(--ink, #141414);
  color: var(--chalk, #f8fbf6);
  border: 1px solid var(--rule-ink, rgba(248,251,246,.16));
  border-radius: 24px;
  padding: clamp(24px, 2.7vw, 34px);
  box-shadow: 0 24px 70px rgba(0,0,0,.36);
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.morph-consent__panel::before { content: none; }
.morph-consent .morph-consent__eyebrow {
  margin: 0 0 12px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .125em;
  color: var(--on-ink-soft, #bec4bb);
}
.morph-consent h2 {
  margin: 0 0 16px;
  font-family: inherit;
  font-size: clamp(27px, 2.35vw, 35px);
  font-weight: 800;
  letter-spacing: -.024em;
  line-height: 1.08;
  color: var(--chalk, #f8fbf6);
  text-wrap: balance;
}
.morph-consent p {
  margin: 0 0 14px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--on-ink-soft, #bec4bb);
}
.morph-consent a {
  font-family: inherit;
  font-size: inherit;
  color: var(--chalk, #f8fbf6);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.morph-consent__actions {
  align-items: center;
  gap: 12px;
  margin-top: 23px;
}
.morph-consent .morph-consent__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid rgba(248,251,246,.28);
  border-radius: 999px;
  background: transparent;
  color: var(--chalk, #f8fbf6);
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: .005em;
  text-align: center;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, transform .16s ease;
}
.morph-consent .morph-consent__button--primary {
  border-color: #3a7d00;
  background: #3a7d00;
  color: #ffffff;
}
@media (hover: hover) and (pointer: fine) {
  .morph-consent .morph-consent__button--primary:hover {
    border-color: #357500;
    background: #357500;
  }
  .morph-consent .morph-consent__button:not(.morph-consent__button--primary):hover {
    border-color: var(--chalk, #f8fbf6);
    background: rgba(248,251,246,.06);
    transform: none;
  }
}
.morph-consent .morph-consent__button:active { transform: scale(.98); }
.morph-consent .morph-consent__link {
  min-height: 48px;
  padding: 10px 2px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--on-ink-soft, #bec4bb);
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  cursor: pointer;
}
.morph-consent .morph-consent__link:hover { color: var(--chalk, #f8fbf6); }
.morph-consent__choice {
  gap: 14px;
  padding: 17px 0;
  border-top-color: var(--rule-ink, rgba(248,251,246,.16));
}
.morph-consent__choice strong {
  font-family: inherit;
  color: var(--chalk, #f8fbf6);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
}
.morph-consent__choice span {
  font-family: inherit;
  font-size: 13px;
  line-height: 1.5;
  color: var(--on-ink-soft, #bec4bb);
}
.morph-consent__choice--locked > span {
  color: var(--green, #50aa00);
  font-size: 13px;
  font-weight: 800;
}
.morph-consent__choice input {
  accent-color: var(--green, #50aa00);
}
.morph-consent :is(button,a,input):focus-visible {
  outline: 2px solid var(--green, #50aa00);
  outline-offset: 4px;
}
@media (max-width: 620px) {
  .morph-consent {
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    width: auto;
    max-width: none;
  }
  .morph-consent__panel {
    border-radius: 20px;
    padding: 24px 21px 22px;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
  }
  .morph-consent h2 { font-size: clamp(25px, 7vw, 31px); }
  .morph-consent p { font-size: 14px; line-height: 1.56; }
  .morph-consent__actions { gap: 10px; margin-top: 18px; }
  .morph-consent .morph-consent__button {
    flex: 1 1 calc(50% - 5px);
    min-width: 0;
    padding-inline: 12px;
    font-size: 13px;
  }
  .morph-consent .morph-consent__link {
    flex: 1 1 100%;
    min-height: 44px;
    text-align: center;
    font-size: 14px;
  }
  .morph-consent__choice { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .morph-consent .morph-consent__button { transition: none; }
}


/* Consent choice parity and compact first-visit bottom sheet, 2 Nov 2026. */
.morph-consent .morph-consent__summary .morph-consent__button:not(.morph-consent__button--primary) {
  background: #3a7d00;
  border-color: #3a7d00;
  color: #ffffff;
}
@media (hover:hover) and (pointer:fine) {
  .morph-consent .morph-consent__summary .morph-consent__button:not(.morph-consent__button--primary):hover {
    background: #5dba0a;
    border-color: #5dba0a;
  }
}
@media (max-width:620px) {
  .morph-consent:not(.is-preferences) .morph-consent__panel {
    max-height: 38vh;
    max-height: 38dvh;
    padding: 16px 19px 14px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .morph-consent:not(.is-preferences) h2 {
    font-size: clamp(22px,6.15vw,27px);
    margin-bottom: 9px;
    line-height: 1.12;
  }
  .morph-consent:not(.is-preferences) .morph-consent__eyebrow {
    font-size: 10px;
    margin-bottom: 7px;
  }
  .morph-consent:not(.is-preferences) p {
    font-size: 13px;
    line-height: 1.48;
    margin-bottom: 7px;
  }
  .morph-consent:not(.is-preferences) .morph-consent__actions {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    position: sticky;
    bottom: -14px;
    gap: 8px;
    padding: 9px 0 12px;
    margin-top: 11px;
    background: var(--ink,#141414);
    z-index: 1;
  }
  .morph-consent:not(.is-preferences) .morph-consent__actions .morph-consent__button {
    width: 100%;
    min-width: 0;
    min-height: 43px;
    padding: 9px 10px;
    font-size: 12px;
    white-space: normal;
  }
  .morph-consent:not(.is-preferences) .morph-consent__actions .morph-consent__link {
    grid-column: 1 / -1;
    min-height: 32px;
    padding: 2px 0;
    font-size: 13px;
    line-height: 1.35;
  }
  .morph-consent.is-preferences .morph-consent__panel {
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
  }
}

/* Native, keyboard-accessible consent inputs presented as Morph pill switches. */
.morph-consent .morph-consent__choice input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  position: relative;
  display: inline-block;
  flex: none;
  width: 48px;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(248,251,246,.4);
  border-radius: 999px;
  background: var(--ink-3, #262824);
  cursor: pointer;
  vertical-align: middle;
  transition: background-color .18s ease, border-color .18s ease;
}
.morph-consent .morph-consent__choice input[type="checkbox"]::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--chalk, #f8fbf6);
  transition: transform .18s ease;
}
.morph-consent .morph-consent__choice input[type="checkbox"]:checked {
  border-color: var(--green, #50aa00);
  background: var(--green, #50aa00);
}
.morph-consent .morph-consent__choice input[type="checkbox"]:checked::before {
  background: var(--ink, #141414);
  transform: translateX(20px);
}
.morph-consent .morph-consent__choice input[type="checkbox"]:focus-visible {
  outline: 2px solid var(--chalk, #f8fbf6);
  outline-offset: 4px;
}
@media (forced-colors: active) {
  .morph-consent .morph-consent__choice input[type="checkbox"] {
    -webkit-appearance: auto;
    appearance: auto;
    width: 26px;
    height: 26px;
  }
  .morph-consent .morph-consent__choice input[type="checkbox"]::before {
    content: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .morph-consent .morph-consent__choice input[type="checkbox"],
  .morph-consent .morph-consent__choice input[type="checkbox"]::before {
    transition: none;
  }
}

/* First-visit consent UX: visible equal-priority decisions at phone and short-landscape sizes. */
@media (max-width: 620px) {
  .morph-consent:not(.is-preferences) .morph-consent__panel {
    max-height: 38vh;
    max-height: 38dvh;
    overflow-y: auto;
    padding: 14px 18px 12px;
  }
  .morph-consent:not(.is-preferences) .morph-consent__eyebrow { display: none; }
  .morph-consent:not(.is-preferences) h2 {
    font-size: clamp(21px, 6vw, 25px);
    line-height: 1.14;
    margin-bottom: 7px;
  }
  .morph-consent:not(.is-preferences) .morph-consent__summary > p {
    margin-bottom: 6px;
    font-size: 13px;
    line-height: 1.43;
  }
  .morph-consent:not(.is-preferences) .morph-consent__summary > p:last-of-type {
    margin-bottom: 0;
  }
  .morph-consent:not(.is-preferences) .morph-consent__actions {
    position: static;
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 6px 8px;
    margin-top: 11px;
    padding: 0;
    background: transparent;
  }
  .morph-consent:not(.is-preferences) .morph-consent__actions .morph-consent__button {
    width: 100%;
    min-height: 44px;
    padding: 9px 7px;
    font-size: 12px;
    line-height: 1.25;
  }
  .morph-consent:not(.is-preferences) .morph-consent__actions .morph-consent__link {
    grid-column: 1 / -1;
    min-height: 27px;
    padding: 0;
    font-size: 13px;
    line-height: 1.3;
  }
}
@media (max-height: 480px) and (min-width: 621px) {
  .morph-consent:not(.is-preferences) {
    bottom: 10px;
    right: 12px;
    width: min(740px, calc(100vw - 24px));
  }
  .morph-consent:not(.is-preferences) .morph-consent__panel {
    max-height: 38vh;
    max-height: 38dvh;
    padding: 11px 15px;
    border-radius: 17px;
    overflow-y: auto;
  }
  .morph-consent:not(.is-preferences) .morph-consent__summary {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(250px,.85fr);
    grid-template-rows: auto auto auto;
    gap: 1px 16px;
    align-items: center;
  }
  .morph-consent:not(.is-preferences) .morph-consent__summary > .morph-consent__eyebrow {
    display: none;
  }
  .morph-consent:not(.is-preferences) .morph-consent__summary > h2 {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    font-size: 20px;
    line-height: 1.13;
  }
  .morph-consent:not(.is-preferences) .morph-consent__summary > p {
    grid-column: 1;
    margin: 2px 0;
    font-size: 12px;
    line-height: 1.36;
  }
  .morph-consent:not(.is-preferences) .morph-consent__summary > p:first-of-type { grid-row: 2; }
  .morph-consent:not(.is-preferences) .morph-consent__summary > p:last-of-type { grid-row: 3; }
  .morph-consent:not(.is-preferences) .morph-consent__actions {
    grid-column: 2;
    grid-row: 1 / span 3;
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 6px;
    align-content: center;
    margin: 0;
  }
  .morph-consent:not(.is-preferences) .morph-consent__actions .morph-consent__button {
    min-width: 0;
    min-height: 44px;
    padding: 8px 9px;
    font-size: 12px;
    line-height: 1.3;
  }
  .morph-consent:not(.is-preferences) .morph-consent__actions .morph-consent__link {
    grid-column: 1 / -1;
    min-height: 26px;
    padding: 0;
    font-size: 12px;
  }
  .morph-consent.is-preferences .morph-consent__panel {
    max-height: calc(100dvh - 24px);
  }
}


