/*
Theme Name: Coco
Theme URI: https://whynotcoco.com
Author: Hamza Saeed
Author URI: https://www.fiverr.com/hamza_saeed
Description: One-page creative agency theme for Why Not Coco Inc. WCAG 2.1 AA accessible. All text, images, videos, client logos, colours, social links and the cookie notice are editable from the "Coco Site" screen added by the Coco Site Manager plugin.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.7
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: coco
*/

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--coco-primary: #007566;      /* page teal (background)            */
	--coco-accent: #f0bc12;       /* brand yellow                      */
	--coco-text: #13120d;         /* near-black                        */
	--coco-teal-text: #005a4e;    /* teal used for TEXT on yellow (AA) */
	--coco-white: #ffffff;
	--coco-muted: #4a5560;
	--font-display: "Jost", sans-serif;
	--font-body: "Arimo", Arial, sans-serif;
}

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

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

body.coco {
	margin: 0;
	background: var(--coco-primary);
	color: var(--coco-text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

.coco img,
.coco video,
.coco svg {
	display: block;
	max-width: 100%;
}

:where(.coco) :is(h1, h2, h3, p) {
	margin: 0;
}

.coco-main {
	overflow-x: clip;
	background: var(--coco-primary);
}
.coco-main:focus {
	outline: none;
}

/* visible keyboard focus on every background (dark ring + white halo) */
.coco :focus-visible {
	outline: 3px solid var(--coco-text);
	outline-offset: 3px;
	box-shadow: 0 0 0 3px #fff;
	border-radius: 2px;
}

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

.skip-link {
	position: fixed;
	left: 1rem;
	top: -5rem;
	z-index: 100000;
	padding: 0.75rem 1.25rem;
	background: #fff;
	color: var(--coco-text);
	font-weight: 700;
	text-decoration: underline;
	border-radius: 0 0 8px 8px;
	transition: top 0.15s;
}
.skip-link:focus {
	top: 0;
}

.wrap {
	margin-inline: auto;
}
.wrap--5xl { max-width: 64rem; }
.wrap--6xl { max-width: 72rem; }

/* highlighted words: *word* in the editor */
.hl {
	font-weight: 600;
	font-size: 1.08em;
	color: var(--coco-teal-text);
}
.hl--xl {
	font-size: 1.875rem;
	font-weight: 700;
}

/* ---------- section heading + the three little dots ---------- */
.sec-head {
	display: flex;
	align-items: flex-end;
	gap: 0.6rem;
	color: var(--coco-teal-text);
}
.sec-head h2 {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 2.5rem;
	line-height: 1;
	color: inherit;
}
.sec-head--accent {
	color: var(--coco-accent);
}
.sec-dots {
	display: inline-flex;
	align-items: flex-end;
	gap: 0.4rem;
	padding-bottom: 0.3rem;
}
.sec-dots i {
	display: block;
	width: 0.6rem;
	height: 0.6rem;
	background: currentColor;
	animation: dotPulse 1.2s ease-in-out 3 both;
}
.sec-dots i:nth-child(2) { animation-delay: 0.2s; }
.sec-dots i:nth-child(3) { animation-delay: 0.4s; }
.sec-dots--lg i {
	width: 0.9rem;
	height: 0.9rem;
}
@keyframes dotPulse {
	0%, 100% { opacity: 0.25; }
	50% { opacity: 1; }
}

/* scroll reveal (only when JS is on) */
.js .reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}
.js .reveal.is-in {
	opacity: 1;
	transform: none;
}

/* yellow lines that "write on" down the page */
.stem {
	width: 4px;
	margin-inline: auto;
	background: var(--coco-accent);
	transform-origin: top center;
}
.stem--solo { height: 6rem; }
.stem--tall { height: 7rem; }
.stem--work {
	position: absolute;
	left: 50%;
	top: 0;
	margin-left: -2px;
	height: 11rem;
	z-index: 1;
}
.js .stem {
	transform: scaleY(0);
	transition: transform 1.2s ease-out;
}
.js .stem.is-in {
	transform: scaleY(1);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	position: relative;
	height: 100vh;
	height: 100svh;
	min-height: 560px;
	background: var(--coco-primary);
}
.hero::after {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 11rem;
	background: linear-gradient(rgba(0, 0, 0, 0.55), transparent);
	pointer-events: none;
}
.hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hero__brand {
	position: absolute;
	z-index: 2;
	left: 13%;
	top: 2rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}
.hero__logo {
	width: 4rem;
	height: auto;
}
.hero__tagline {
	margin-top: 0.5rem;
	max-width: 90px;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.25;
	color: #fff;
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
.hero__pause {
	position: absolute;
	z-index: 3;
	left: 1rem;
	bottom: 1rem;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	min-height: 2.75rem;
	padding: 0.5rem 1rem;
	border: 2px solid #fff;
	border-radius: 999px;
	background: rgba(19, 18, 13, 0.82);
	color: #fff;
	font: 600 0.875rem/1 var(--font-body);
	cursor: pointer;
}
.hero__pause:hover {
	background: #000;
}
.hero__pause-icon {
	position: relative;
	width: 0.8rem;
	height: 0.9rem;
}
.hero__pause-icon::before,
.hero__pause-icon::after {
	content: "";
	position: absolute;
	top: 0;
	width: 0.28rem;
	height: 100%;
	background: #fff;
}
.hero__pause-icon::before { left: 0; }
.hero__pause-icon::after { right: 0; }
.hero__pause[data-paused="true"] .hero__pause-icon::before {
	left: 0;
	width: 0;
	height: 0;
	background: none;
	border-left: 0.8rem solid #fff;
	border-top: 0.45rem solid transparent;
	border-bottom: 0.45rem solid transparent;
}
.hero__pause[data-paused="true"] .hero__pause-icon::after {
	display: none;
}

/* ==========================================================================
   Intro
   ========================================================================== */
.intro {
	position: relative;
	padding: 4rem 1.5rem 2.5rem;
	text-align: center;
	background: var(--coco-primary);
}
.intro__title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 3rem;
	line-height: 1.05;
	color: var(--coco-text);
}
.dots-svg {
	width: 100%;
	max-width: 520px;
	height: auto;
	margin: 1.5rem auto 0;
	overflow: visible;
}
.intro__line {
	margin-top: 1.5rem;
	font-family: var(--font-display);
	font-size: 1.875rem;
	line-height: 1.375;
	color: var(--coco-text);
}
.intro__line .hl {
	font-size: inherit;
	font-weight: 400;
	color: var(--coco-accent);
}

/* dots graphic: yellow dots, dark lines; draws itself once, then stays */
.cd-line {
	stroke: var(--coco-text);
	stroke-width: 4;
	stroke-linecap: round;
	stroke-dasharray: 400;
	stroke-dashoffset: 0;
}
.cd-dot,
.cd-hub {
	fill: var(--coco-accent);
	stroke: var(--coco-text);
	stroke-width: 3;
	transform-box: fill-box;
	transform-origin: center;
}
.cd-hub { /* centre dot is the biggest */
	transform: scale(1.35);
}
.js .dots-svg .cd-line { stroke-dashoffset: 400; }
.js .dots-svg .cd-dot { transform: scale(0); }
.js .dots-svg .cd-hub { transform: scale(0); }
.js .dots-svg.is-drawn .cd-line { animation: cdLine 1.1s ease-out forwards; }
.js .dots-svg.is-drawn .cd-dot { animation: cdDot 0.6s cubic-bezier(0.3, 1.5, 0.5, 1) forwards; }
.js .dots-svg.is-drawn .cd-hub { animation: cdHub 0.6s cubic-bezier(0.3, 1.5, 0.5, 1) forwards; }
@keyframes cdLine { to { stroke-dashoffset: 0; } }
@keyframes cdDot { to { transform: scale(1); } }
@keyframes cdHub { to { transform: scale(1.35); } }

/* ==========================================================================
   Yellow curved sections (true circle arcs)
   --R is the circle radius, --sag is how far the arc dips at the corners.
   ========================================================================== */
.shape {
	--R: 110vw;
	--sag: 12.02vw;
	position: relative;
}
.shape::before,
.shape::after {
	content: "";
	display: block;
	height: var(--sag);
}
/* top edge: dome (circle bulging up) */
.shape--dome::before {
	background: radial-gradient(circle var(--R) at 50% var(--R), var(--coco-accent) calc(var(--R) - 1px), transparent var(--R));
}
/* top edge: smile (circle bulging down) */
.shape--smile::before {
	background: radial-gradient(circle var(--R) at 50% calc(var(--sag) - var(--R)), transparent calc(var(--R) - 1px), var(--coco-accent) var(--R));
}
/* bottom edge: bowl (circle bulging down) */
.shape::after {
	background: radial-gradient(circle var(--R) at 50% calc(var(--sag) - var(--R)), var(--coco-accent) calc(var(--R) - 1px), transparent var(--R));
}
.shape__panel {
	background: var(--coco-accent);
	padding-inline: 1.5rem;
}
/* the teal stripe between two yellow shapes follows the same curve */
.shape--how {
	margin-top: calc(2.5rem - var(--sag));
}

.sec-text {
	width: min(56rem, 100%);
	margin-inline: auto;
}
.sec-body {
	margin-top: 2rem;
	max-width: 46rem;
	text-align: left;
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.65;
	color: var(--coco-text);
}
.sec-body p + p {
	margin-top: 1.25rem;
}
.sec-lead {
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1.33;
	color: var(--coco-teal-text);
}
.sec-lead + p {
	margin-top: 1rem;
}

.shape--what .shape__panel { padding-block: 1rem 2rem; }
.shape--how .shape__panel,
.shape--about .shape__panel { padding-block: 1rem 2.5rem; }
.shape--clients .shape__panel { padding-block: 1rem 3rem; }

/* ==========================================================================
   Work
   ========================================================================== */
.work {
	position: relative;
	padding: 5rem 1.5rem 4rem;
	background: var(--coco-primary);
}
.work__box {
	margin-top: 2.5rem;
}
.work__stage {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--coco-text);
}
.work__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.6s ease, visibility 0.6s;
}
.work__slide.is-active {
	opacity: 1;
	visibility: visible;
}
.work__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* project info sits in the lower right, right-aligned */
.work__overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: flex-end;
	padding: clamp(1rem, 3vw, 2.5rem);
	text-align: right;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.35) 38%, transparent 65%);
}
.work__overlay h3 {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 1.75rem;
	line-height: 1.1;
	color: #fff;
}
.work__play {
	margin-top: 0.75rem;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	min-height: 2.75rem;
	padding: 0;
	border: 0;
	background: none;
	color: #fff;
	font: 600 1rem/1 var(--font-body);
	cursor: pointer;
	transition: transform 0.2s;
}
.work__play:hover {
	transform: scale(1.06);
}
.work__play-icon {
	display: inline-flex;
	width: 2.5rem;
	height: 2.5rem;
	align-items: center;
	justify-content: center;
	border: 2px solid #fff;
	border-radius: 50%;
	font-size: 0.9rem;
	padding-left: 2px;
}
.work__strip-wrap {
	position: relative;
}
.work__strip {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	scroll-behavior: smooth;
}
.work__strip::-webkit-scrollbar {
	display: none;
}
.work__item {
	flex: 0 0 50%;
	scroll-snap-align: start;
}
.work__thumb {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	padding: 0;
	border: 0;
	overflow: hidden;
	background: var(--coco-text);
	cursor: pointer;
}
.work__thumb-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}
.work__thumb:hover .work__thumb-img {
	transform: scale(1.1);
}
.work__thumb.is-active {
	box-shadow: inset 0 0 0 4px var(--coco-accent);
}
.work__thumb-label {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0.5rem;
	background: rgba(19, 18, 13, 0.72);
	font-family: var(--font-display);
	font-size: 1.25rem;
	color: #fff;
	opacity: 0;
	transition: opacity 0.3s;
}
.work__thumb:hover .work__thumb-label,
.work__thumb:focus-visible .work__thumb-label {
	opacity: 1;
}
.work__thumb:focus-visible {
	outline-offset: -6px;
	box-shadow: inset 0 0 0 4px var(--coco-accent), inset 0 0 0 7px #fff;
}
.work__next {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 100%;
	padding: 0;
	border: 0;
	background: linear-gradient(to left, rgba(19, 18, 13, 0.7), transparent);
	color: var(--coco-accent);
	font-size: 2.25rem;
	cursor: pointer;
}
.work__next span {
	animation: stripNudge 1.2s ease-in-out 4;
}
@keyframes stripNudge {
	0%, 100% { transform: translateX(0); }
	50% { transform: translateX(8px); }
}

/* inline video player (replaces the cover when "Play Video" is clicked) */
.work__player {
	position: absolute;
	inset: 0;
	z-index: 3;
	background: #000;
}
.work__player iframe,
.work__player video {
	width: 100%;
	height: 100%;
	border: 0;
}

/* ==========================================================================
   Services
   ========================================================================== */
.services {
	padding: 0 1.5rem 4rem;
	text-align: center;
	background: var(--coco-primary);
}
.services__title {
	font-family: var(--font-display);
	font-weight: 400;
	font-size: 2.25rem;
	line-height: 1.375;
	color: var(--coco-accent);
}
.services__rule {
	max-width: 36rem;
	height: 0.25rem;
	margin: 1rem auto 0;
	background: var(--coco-accent);
}
.services__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.25rem 2rem;
	max-width: 56rem;
	margin: 3rem auto 0;
	padding: 0;
	list-style: none;
}
.services__link {
	display: inline-block;
	padding: 0.5rem 0.25rem;
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #fff;
	text-decoration: none;
}
a.services__link {
	border-bottom: 2px solid rgba(255, 255, 255, 0.6);
	transition: border-color 0.2s;
}
a.services__link:hover {
	border-bottom-color: #fff;
	text-decoration: none;
}
.services__divider {
	max-width: 56rem;
	height: 1px;
	margin: 3rem auto 0;
	background: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   Clients
   ========================================================================== */
.clients__circle {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	place-items: center;
	align-content: center;
	gap: 1rem;
	max-width: 36rem;
	aspect-ratio: 1;
	margin: 2rem auto 0;
	padding: 12%;
	list-style: none;
	border-radius: 50%;
	background: var(--coco-primary);
}
.clients__circle li {
	display: grid;
	place-items: center;
	width: 100%;
}
.clients__logo {
	display: block;
	width: 100%;
	max-width: 3.5rem;
	transition: transform 0.3s;
}
.clients__logo:hover {
	transform: scale(1.25);
}
.clients__logo img {
	width: 100%;
	height: auto;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact {
	padding: 0 1.5rem 4.5rem;
	text-align: center;
	background: var(--coco-primary);
}
.contact__heading h2 {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: center;
	gap: 1.5rem;
	font-family: var(--font-display);
	font-size: 3.75rem;
	font-weight: 400;
	line-height: 1;
	color: var(--coco-accent);
}
.contact__heading .sec-dots {
	padding-bottom: 0.5rem;
}
.hi-form {
	position: relative;
	max-width: 28rem;
	margin: 3rem auto 0;
	padding: 1.25rem;
	text-align: left;
	background: #fff;
}
.hi-form label {
	font-size: 0.8125rem;
	color: var(--coco-muted);
}
.hi-form__row {
	display: flex;
	margin-top: 0.25rem;
	border: 2px solid var(--coco-teal-text);
}
.hi-form__row input {
	flex: 1;
	min-width: 0;
	min-height: 2.75rem;
	padding: 0.5rem 0.75rem;
	border: 0;
	background: transparent;
	color: var(--coco-text);
	font: inherit;
	font-size: 0.9375rem;
}
.hi-form__row input:focus-visible {
	outline-offset: 2px;
}
.hi-form__row input::placeholder {
	color: #5f6a74;
	opacity: 1;
}
.hi-form__row button {
	padding: 0 1.25rem;
	border: 0;
	background: var(--coco-teal-text);
	color: #fff;
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s;
}
.hi-form__row button:hover {
	background: #00423a;
}
.hi-form__status:empty {
	display: none;
}
.hi-form__msg {
	margin-top: 0.75rem;
	font-size: 0.875rem;
	font-weight: 700;
}
.hi-form__msg--ok { color: var(--coco-teal-text); }
.hi-form__msg--err { color: #a8160f; }
.hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.awards {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 3rem;
	margin: 3.5rem 0 0;
	padding: 0;
	list-style: none;
}
.awards__item {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.awards__img {
	width: 7rem;
	height: auto;
}
.awards__item span {
	margin-top: 0.25rem;
	font-size: 0.75rem;
	letter-spacing: 0.3em;
	color: #fff;
}
.contact__quote {
	max-width: 42rem;
	margin: 3.5rem auto 0;
	font-size: 0.9375rem;
	font-style: italic;
	color: #fff;
}
.contact__copy,
.site-foot__copy {
	margin-top: 1.5rem;
	font-size: 0.8125rem;
	color: #fff;
}

/* social + legal links */
.social {
	display: flex;
	justify-content: center;
	gap: 0.85rem;
	margin: 2.5rem 0 0;
	padding: 0;
	list-style: none;
}
.social__link {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 2px solid #fff;
	border-radius: 50%;
	color: #fff;
	transition: background 0.2s, color 0.2s;
}
.social__link:hover {
	background: #fff;
	color: var(--coco-teal-text);
}
.legal ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 1.5rem;
	margin: 1.75rem 0 0;
	padding: 0;
	list-style: none;
}
.legal a,
.legal__btn {
	display: inline-block;
	padding: 0.35rem 0.1rem;
	border: 0;
	background: none;
	color: #fff;
	font: inherit;
	font-size: 0.875rem;
	text-decoration: underline;
	text-underline-offset: 0.25em;
	cursor: pointer;
}
.legal a:hover,
.legal__btn:hover {
	text-decoration-thickness: 2px;
}

/* ==========================================================================
   Page counter (dots on the right)
   ========================================================================== */
.pager {
	position: fixed;
	z-index: 800;
	right: 0.5rem;
	top: 50%;
	transform: translateY(-50%);
}
.pager ol {
	display: flex;
	flex-direction: column;
	gap: 0.1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.pager a {
	position: relative;
	display: grid;
	place-items: center;
	width: 1.5rem;
	height: 1.5rem;
	text-decoration: none;
}
.pager__dot {
	display: block;
	width: 0.75rem;
	height: 0.75rem;
	border: 2px solid var(--coco-text);
	border-radius: 50%;
	background: #fff;
	transition: transform 0.2s, background 0.2s;
}
.pager a:hover .pager__dot {
	transform: scale(1.25);
}
.pager a[aria-current="true"] .pager__dot {
	background: var(--coco-text);
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--coco-text);
	transform: scale(1.15);
}
.pager__label {
	position: absolute;
	right: 1.9rem;
	padding: 0.3rem 0.65rem;
	border-radius: 6px;
	background: var(--coco-text);
	color: #fff;
	font-size: 0.8125rem;
	white-space: nowrap;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.15s;
}
.pager a:hover .pager__label,
.pager a:focus-visible .pager__label {
	opacity: 1;
}

/* ==========================================================================
   Cookie notice + dialog
   ========================================================================== */
.cookie {
	position: fixed;
	z-index: 9000;
	left: 1rem;
	right: 1rem;
	bottom: 1rem;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	max-width: 62rem;
	margin-inline: auto;
	padding: 1.25rem 1.5rem;
	border-radius: 14px;
	border-top: 6px solid var(--coco-accent);
	background: #fff;
	color: var(--coco-text);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}
.cookie[hidden] {
	display: none;
}
.cookie__text {
	flex: 1 1 22rem;
}
.cookie h2 {
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 500;
	color: var(--coco-teal-text);
}
.cookie p {
	margin-top: 0.35rem;
	font-size: 0.9375rem;
	line-height: 1.5;
}
.cookie a {
	color: var(--coco-teal-text);
	font-weight: 700;
	text-decoration: underline;
}
.cookie__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem;
}
.cookie__btn {
	min-height: 2.75rem;
	padding: 0.55rem 1.1rem;
	border: 2px solid var(--coco-teal-text);
	border-radius: 999px;
	background: #fff;
	color: var(--coco-teal-text);
	font: 700 0.9375rem/1.1 var(--font-body);
	cursor: pointer;
}
.cookie__btn:hover {
	background: #e8f3f1;
}
.cookie__btn--solid {
	background: var(--coco-teal-text);
	color: #fff;
}
.cookie__btn--solid:hover {
	background: #00423a;
}
.cookie__btn--link {
	border-color: transparent;
	text-decoration: underline;
	text-underline-offset: 0.25em;
}

.cookie-dialog {
	width: calc(100% - 2rem);
	max-width: 34rem;
	padding: 0;
	border: 0;
	border-radius: 16px;
	background: #fff;
	color: var(--coco-text);
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.cookie-dialog::backdrop {
	background: rgba(10, 10, 8, 0.7);
}
.cookie-dialog__form {
	padding: 1.75rem;
}
.cookie-dialog h2 {
	font-family: var(--font-display);
	font-size: 1.6rem;
	font-weight: 500;
	color: var(--coco-teal-text);
}
.cookie-dialog p {
	margin-top: 0.5rem;
	font-size: 0.9375rem;
	line-height: 1.5;
}
.cookie-dialog fieldset {
	margin: 1.25rem 0 0;
	padding: 0;
	border: 0;
}
.cookie-dialog__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 0;
	border-top: 1px solid #d5dbd9;
}
.cookie-dialog__row p {
	margin-top: 0.15rem;
	font-size: 0.875rem;
	color: var(--coco-muted);
}
.cookie-dialog__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin-top: 1rem;
	padding-top: 1.25rem;
	border-top: 1px solid #d5dbd9;
}
.switch {
	flex: none;
}
.switch input {
	appearance: none;
	-webkit-appearance: none;
	position: relative;
	display: block;
	width: 3.25rem;
	height: 1.75rem;
	margin: 0;
	border-radius: 999px;
	background: #595f66;
	cursor: pointer;
	transition: background 0.2s;
}
.switch input::after {
	content: "";
	position: absolute;
	top: 0.2rem;
	left: 0.2rem;
	width: 1.35rem;
	height: 1.35rem;
	border-radius: 50%;
	background: #fff;
	transition: transform 0.2s;
}
.switch input:checked {
	background: var(--coco-teal-text);
}
.switch input:checked::after {
	transform: translateX(1.5rem);
}
.switch input:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}
.switch__ui {
	display: none;
}

/* ==========================================================================
   Inner pages (Privacy, Terms, 404 …)
   ========================================================================== */
.site-bar {
	padding: 1rem 1.5rem;
	background: var(--coco-primary);
}
.site-bar__brand {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	color: #fff;
	font-family: var(--font-display);
	font-size: 1.25rem;
	text-decoration: none;
}
.site-bar__logo {
	width: 2.75rem;
	height: auto;
}
.coco-page {
	min-height: 60vh;
	padding: 4rem 1.5rem;
	background: #fbf8ee;
	color: var(--coco-text);
}
.coco-page__inner {
	max-width: 48rem;
	margin-inline: auto;
	font-size: 1.0625rem;
	line-height: 1.7;
}
.coco-entry {
	margin-bottom: 3rem;
}
.coco-entry__title {
	font-family: var(--font-display);
	font-size: 2.5rem;
	font-weight: 400;
	color: var(--coco-teal-text);
}
.coco-entry__title a {
	color: inherit;
}
.coco-entry__content {
	margin: 1.25rem 0 2rem;
}
.coco-entry__content a,
.coco-page a:not(.coco-btn) {
	color: var(--coco-teal-text);
	text-decoration: underline;
}
.coco-btn {
	display: inline-block;
	padding: 0.7rem 1.4rem;
	background: var(--coco-teal-text);
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	border-radius: 999px;
}
.site-foot {
	padding: 2.5rem 1.5rem 3rem;
	text-align: center;
	background: var(--coco-primary);
}

/* ==========================================================================
   Desktop
   ========================================================================== */
@media (min-width: 768px) {
	.shape__panel { padding-inline: 4rem; }
	.sec-head h2 { font-size: 3.75rem; }
	.intro__title { font-size: 4.5rem; }
	.intro__line { font-size: 3rem; }
	.work { padding-inline: 6rem; }
	.work__overlay h3 { font-size: 3rem; }
	.work__item { flex-basis: 25%; }
	.services__title { font-size: 3rem; }
	.services__grid { grid-template-columns: repeat(3, 1fr); }
	.clients__circle { padding: 10%; }
	.clients__logo { max-width: 5rem; }
	.pager { right: 1rem; }
}

/* narrower screens: deeper curves, smaller circle radius */
@media (max-width: 767px) {
	.shape {
		--R: 80vw;
		--sag: 17.55vw;
	}
	.contact__heading h2 { font-size: 3rem; }
}

/* ==========================================================================
   Reduced motion / high contrast
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.js .reveal { opacity: 1; transform: none; transition: none; }
	.js .stem { transform: none; transition: none; }
	.sec-dots i, .work__next span { animation: none; }
	.js .dots-svg .cd-line { stroke-dashoffset: 0; animation: none; }
	.js .dots-svg .cd-dot { transform: none; animation: none; }
	.js .dots-svg .cd-hub { transform: scale(1.35); animation: none; }
	.work__slide, .work__thumb-img { transition: none; }
}

@media (forced-colors: active) {
	.pager__dot { border-color: CanvasText; background: Canvas; }
	.pager a[aria-current="true"] .pager__dot { background: Highlight; }
	.stem, .services__rule { background: CanvasText; }
}
