/*
Theme Name: Cigar Club
Theme URI: https://cigarclub.ba/
Author: StorsenDigital
Author URI: https://storsendigital.com/
Description: One-page site for a private cigar lounge, with a custom sign-in page and a members' area. Members land in the members' area, staff in the dashboard. Until launch, visitors who are not signed in see a coming-soon page.
Version: 0.3.0
Requires at least: 6.3
Tested up to: 7.1
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: cigar-club
*/

/* Font: Sorts Mill Goudy (Barry Schwartz's revival of Goudy Old Style) for all text, self-hosted.
   It has one weight, declared for every weight so the browser never fakes a bold.
   SIL Open Font License, see assets/fonts. */
@font-face { font-family: "CC Serif"; src: url("assets/fonts/sorts-mill-goudy-latin-ext-400-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "CC Serif"; src: url("assets/fonts/sorts-mill-goudy-latin-400-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "CC Serif"; src: url("assets/fonts/sorts-mill-goudy-latin-ext-400-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "CC Serif"; src: url("assets/fonts/sorts-mill-goudy-latin-400-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--black: #0b0a09;
	--coal: #121110;
	--smoke: #1a1816;
	--ash: #26231f;
	--ivory: #ece3d3;
	--muted: rgba(236, 227, 211, 0.68);
	--faint: rgba(236, 227, 211, 0.42);
	--line: rgba(236, 227, 211, 0.12);
	--brass: #b8925a;
	--brass-hi: #d6b47a;
	--brass-lo: rgba(184, 146, 90, 0.16);
	--ember: #c0643f;

	--serif: "CC Serif", "Sorts Mill Goudy", Georgia, "Times New Roman", serif;
	--sans: var(--serif); /* labels, buttons and body text use the same Goudy */

	--wrap: 1240px;
	--gutter: clamp(20px, 5vw, 64px);
	--section: clamp(96px, 12vw, 168px);
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--header: 84px;

	color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
	margin: 0;
	background: var(--black);
	color: var(--ivory);
	font: 300 17px/1.75 var(--sans);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

/* A whisper of film grain over everything. */
body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 90;
	pointer-events: none;
	opacity: 0.05;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

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

a { color: var(--brass-hi); text-decoration: none; transition: color 0.3s var(--ease); }
a:hover { color: var(--ivory); }

h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: 0.005em; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--brass); color: var(--black); }

:focus-visible { outline: 1px solid var(--brass-hi); outline-offset: 4px; }

.screen-reader-text,
.cc-hp {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.cc-skip {
	position: absolute;
	left: 16px; top: -60px;
	z-index: 300;
	padding: 10px 16px;
	background: var(--brass);
	color: var(--black);
	font: 500 13px var(--sans);
}
.cc-skip:focus { top: 16px; }

.cc-wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.cc-center { text-align: center; }

/* ==========================================================================
   Type and small pieces
   ========================================================================== */
.cc-eyebrow {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0 0 22px;
	color: var(--brass);
	font: 500 12px/1.4 var(--sans);
	letter-spacing: 0.32em;
	text-transform: uppercase;
}
.cc-eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.cc-eyebrow--center,
.cc-head--center .cc-eyebrow { justify-content: center; }
.cc-eyebrow--center::after,
.cc-head--center .cc-eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; }

.cc-title { font-size: clamp(40px, 5.2vw, 72px); }
.cc-title em { color: var(--brass-hi); font-style: italic; }

.cc-lead {
	font-family: var(--serif);
	font-size: clamp(21px, 1.9vw, 26px);
	font-style: italic;
	line-height: 1.5;
	color: var(--muted);
}

.cc-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.cc-head .cc-lead { margin-top: 22px; }
.cc-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.cc-head--split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 32px 80px;
	align-items: end;
	max-width: none;
}

.cc-ornament {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	color: var(--brass);
}
.cc-ornament::before,
.cc-ornament::after { content: ""; width: 56px; height: 1px; background: currentColor; opacity: 0.7; }
.cc-ornament i { width: 7px; height: 7px; border: 1px solid currentColor; transform: rotate(45deg); }

.cc-icon { width: 20px; height: 20px; flex: none; }

/* Crest lettering (SVG units: the crest is 200 × 200). */
.cc-crest { overflow: visible; }
.cc-crest__arc { font: 600 15px var(--serif); letter-spacing: 7px; }
.cc-crest__mono { font: italic 500 66px var(--serif); letter-spacing: -2px; }

/* Buttons ---------------------------------------------------------------- */
.cc-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 32px;
	border: 1px solid rgba(236, 227, 211, 0.38);
	background: transparent;
	color: var(--ivory);
	font: 500 12px/1 var(--sans);
	letter-spacing: 0.24em;
	text-transform: uppercase;
	cursor: pointer;
	overflow: hidden;
	transition: color 0.4s var(--ease), border-color 0.4s var(--ease), background-color 0.4s var(--ease);
}
.cc-btn::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--brass);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.5s var(--ease);
	z-index: -1;
}
.cc-btn { isolation: isolate; }
.cc-btn:hover { color: var(--black); border-color: var(--brass); }
.cc-btn:hover::before { transform: scaleX(1); }

.cc-btn--solid { background: var(--brass); border-color: var(--brass); color: var(--black); }
.cc-btn--solid::before { background: var(--ivory); }
.cc-btn--solid:hover { border-color: var(--ivory); }
.cc-btn--block { width: 100%; }

/* Notices ---------------------------------------------------------------- */
.cc-notice {
	margin: 0 0 24px;
	padding: 14px 18px;
	border-left: 2px solid var(--brass);
	background: var(--brass-lo);
	font-size: 15px;
	line-height: 1.6;
	color: var(--ivory);
}
.cc-notice a { margin-left: 6px; border-bottom: 1px solid currentColor; }
.cc-notice--error { border-color: var(--ember); background: rgba(192, 100, 63, 0.14); }

/* ==========================================================================
   Header
   ========================================================================== */
.cc-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 100;
	height: var(--header);
	transition: background-color 0.5s var(--ease), height 0.5s var(--ease), border-color 0.5s var(--ease), backdrop-filter 0.5s;
	border-bottom: 1px solid transparent;
}
.admin-bar .cc-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .cc-header { top: 46px; } }

.cc-header.is-scrolled,
.cc-route-members .cc-header,
.cc-page .cc-header {
	height: 70px;
	background: rgba(11, 10, 9, 0.86);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	border-bottom-color: var(--line);
}

.cc-header__inner {
	display: flex;
	align-items: center;
	gap: 32px;
	height: 100%;
	max-width: calc(var(--wrap) + 2 * var(--gutter));
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.cc-brand { display: inline-flex; align-items: center; gap: 14px; color: var(--ivory); margin-right: auto; }
.cc-brand:hover { color: var(--brass-hi); }
.cc-brand__crest { width: 40px; height: 40px; color: var(--brass); transition: transform 0.8s var(--ease); }
.cc-brand:hover .cc-brand__crest { transform: rotate(-12deg); }
.cc-brand__name { font: 500 15px/1 var(--serif); letter-spacing: 0.32em; text-transform: uppercase; }

.cc-nav { display: flex; align-items: center; gap: 36px; }
.cc-nav__list { display: flex; gap: 30px; margin: 0; padding: 0; list-style: none; }
.cc-nav__list a,
.cc-nav__members {
	position: relative;
	color: var(--muted);
	font: 400 12px/1 var(--sans);
	letter-spacing: 0.22em;
	text-transform: uppercase;
}
.cc-nav__list a::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: -10px;
	height: 1px;
	background: var(--brass);
	transform: scaleX(0);
	transition: transform 0.4s var(--ease);
}
.cc-nav__list a:hover { color: var(--ivory); }
.cc-nav__list a:hover::after { transform: scaleX(1); }

.cc-nav__members {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 11px 18px;
	border: 1px solid rgba(184, 146, 90, 0.5);
	color: var(--brass-hi);
}
.cc-nav__members .cc-icon { width: 16px; height: 16px; }
.cc-nav__members:hover { background: var(--brass); color: var(--black); border-color: var(--brass); }

.cc-menu-toggle {
	display: none;
	position: relative;
	width: 44px; height: 44px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}
.cc-menu-toggle__bar {
	position: absolute;
	left: 10px; right: 10px;
	height: 1px;
	background: var(--ivory);
	transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.cc-menu-toggle__bar:nth-child(1) { top: 17px; }
.cc-menu-toggle__bar:nth-child(2) { top: 26px; }
.cc-nav-open .cc-menu-toggle__bar:nth-child(1) { top: 21px; transform: rotate(45deg); }
.cc-nav-open .cc-menu-toggle__bar:nth-child(2) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
	.cc-menu-toggle { display: block; z-index: 2; }
	.cc-nav {
		position: fixed;
		inset: 0;
		flex-direction: column;
		justify-content: center;
		gap: 40px;
		background: var(--black);
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.5s var(--ease), visibility 0.5s;
	}
	.cc-nav-open .cc-nav { opacity: 1; visibility: visible; }
	.cc-nav-open { overflow: hidden; }
	.cc-nav__list { flex-direction: column; align-items: center; gap: 18px; }
	.cc-nav__list a { font: 400 34px/1.2 var(--serif); letter-spacing: 0.02em; text-transform: none; color: var(--ivory); }
	.cc-nav__list a::after { bottom: -4px; }
	.cc-nav__list li { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
	.cc-nav-open .cc-nav__list li { opacity: 1; transform: none; }
	.cc-nav-open .cc-nav__list li:nth-child(2) { transition-delay: 0.05s; }
	.cc-nav-open .cc-nav__list li:nth-child(3) { transition-delay: 0.1s; }
	.cc-nav-open .cc-nav__list li:nth-child(4) { transition-delay: 0.15s; }
	.cc-nav-open .cc-nav__list li:nth-child(5) { transition-delay: 0.2s; }
	.cc-nav-open .cc-nav__list li:nth-child(6) { transition-delay: 0.25s; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.cc-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 100vh;
	min-height: 100svh;
	padding: calc(var(--header) + 40px) 0 120px;
	overflow: hidden;
	background: var(--black);
}
.cc-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 68% 30%;
	transform: scale(1.04);
	animation: cc-drift 30s var(--ease) infinite alternate;
}
@keyframes cc-drift { to { transform: scale(1.1); } }

.cc-hero__shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(11, 10, 9, 0.94) 0%, rgba(11, 10, 9, 0.8) 32%, rgba(11, 10, 9, 0.25) 62%, rgba(11, 10, 9, 0.35) 100%),
		linear-gradient(180deg, rgba(11, 10, 9, 0.55) 0%, rgba(11, 10, 9, 0) 28%, rgba(11, 10, 9, 0) 62%, var(--black) 100%);
}
.cc-hero__content { position: relative; z-index: 2; }
.cc-hero__content > * { max-width: 620px; }

.cc-hero__crest { width: 86px; height: 86px; margin-bottom: 34px; color: var(--brass); }
.cc-hero__title {
	font-size: clamp(68px, 10vw, 156px);
	font-weight: 500;
	line-height: 0.9;
	letter-spacing: -0.01em;
	margin-bottom: 28px;
}
.cc-hero__title em { display: block; color: var(--brass-hi); font-weight: 400; font-style: italic; padding-left: 0.6em; }
.cc-hero__lead { max-width: 30ch; margin-bottom: 44px; font: italic 400 clamp(22px, 2vw, 28px)/1.45 var(--serif); color: var(--muted); }
.cc-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.cc-rise { animation: cc-rise 1.2s var(--ease) both; }
.cc-hero__title.cc-rise { animation-delay: 0.12s; }
.cc-hero__lead.cc-rise { animation-delay: 0.26s; }
.cc-hero__actions.cc-rise { animation-delay: 0.4s; }
.cc-hero__crest { animation: cc-fade 1.6s var(--ease) both; }
@keyframes cc-rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes cc-fade { from { opacity: 0; transform: rotate(-30deg) scale(0.9); } }

.cc-hero__scroll {
	position: absolute;
	left: var(--gutter);
	bottom: 36px;
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 16px;
	color: var(--faint);
	font: 400 11px/1 var(--sans);
	letter-spacing: 0.3em;
	text-transform: uppercase;
}
.cc-hero__scroll::after {
	content: "";
	width: 64px;
	height: 1px;
	background: linear-gradient(90deg, var(--brass), transparent);
	animation: cc-line 2.4s var(--ease) infinite;
	transform-origin: left;
}
@keyframes cc-line { 0% { transform: scaleX(0); } 60%, 100% { transform: scaleX(1); opacity: 0; } }

.cc-video-toggle {
	position: absolute;
	right: var(--gutter);
	bottom: 28px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 46px; height: 46px;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: rgba(11, 10, 9, 0.4);
	color: var(--ivory);
	cursor: pointer;
	transition: border-color 0.3s, color 0.3s;
}
.cc-video-toggle:hover { border-color: var(--brass); color: var(--brass-hi); }
.cc-video-toggle .cc-icon { width: 16px; height: 16px; }
.cc-video-toggle__play { display: none; }
.cc-video-toggle[aria-pressed="true"] .cc-video-toggle__pause { display: none; }
.cc-video-toggle[aria-pressed="true"] .cc-video-toggle__play { display: block; }

@media (max-width: 760px) {
	.cc-hero { align-items: flex-end; }
	.cc-hero__video { object-position: 72% 30%; }
	.cc-hero__shade {
		background: linear-gradient(180deg, rgba(11, 10, 9, 0.45) 0%, rgba(11, 10, 9, 0.35) 30%, rgba(11, 10, 9, 0.88) 66%, var(--black) 100%);
	}
	.cc-hero__crest { width: 64px; height: 64px; margin-bottom: 24px; }
	.cc-hero__scroll { display: none; }
}

/* ==========================================================================
   Sections
   ========================================================================== */
.cc-section { position: relative; padding: var(--section) 0; }

.cc-band {
	position: relative;
	padding: var(--section) 0;
	background: var(--black) var(--band) center / cover no-repeat;
	isolation: isolate;
}
.cc-band::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, var(--black) 0%, rgba(11, 10, 9, 0.72) 22%, rgba(11, 10, 9, 0.78) 78%, var(--black) 100%);
}

/* The Club --------------------------------------------------------------- */
.cc-club__grid {
	display: grid;
	grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
	gap: clamp(48px, 8vw, 120px);
	align-items: center;
}
.cc-club__text .cc-title { margin-bottom: 30px; }
.cc-club__text .cc-lead { margin-bottom: 26px; }
.cc-club__text p:not(.cc-lead):not(.cc-eyebrow) { color: var(--muted); max-width: 52ch; }

.cc-club { overflow: hidden; }
.cc-club__figure { position: relative; margin: 0; }
.cc-club__figure::before {
	content: "";
	position: absolute;
	inset: 22px -22px -22px 22px;
	border: 1px solid rgba(184, 146, 90, 0.45);
	z-index: -1;
}
.cc-club__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(0.9); }

.cc-pillars {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	margin-top: clamp(80px, 10vw, 140px);
	border-top: 1px solid var(--line);
}
.cc-pillar { padding: 48px 40px 8px 0; }
.cc-pillar + .cc-pillar { padding-left: 40px; border-left: 1px solid var(--line); }
.cc-pillar__num { display: block; margin-bottom: 18px; color: var(--brass); font: italic 400 34px/1 var(--serif); }
.cc-pillar h3 { margin-bottom: 14px; font-size: 30px; }
.cc-pillar p { color: var(--muted); font-size: 16px; }

/* Humidor ---------------------------------------------------------------- */
.cc-strengths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cc-strength {
	padding: 40px 36px 36px;
	border: 1px solid var(--line);
	background: rgba(18, 17, 16, 0.62);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	transition: border-color 0.5s var(--ease), transform 0.5s var(--ease);
}
.cc-strength:hover { border-color: rgba(184, 146, 90, 0.55); transform: translateY(-4px); }
.cc-strength__meter { display: flex; gap: 6px; margin-bottom: 26px; }
.cc-strength__meter i { width: 28px; height: 3px; background: var(--line); }
.cc-strength__meter i.is-on { background: var(--brass); }
.cc-strength h3 { margin-bottom: 12px; font-size: 34px; }
.cc-strength p { color: var(--muted); font-size: 16px; }
.cc-humidor__note { margin-top: 48px; text-align: center; color: var(--muted); font: italic 400 21px/1.5 var(--serif); }

/* Pairings --------------------------------------------------------------- */
.cc-pairings__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: clamp(48px, 8vw, 120px);
	align-items: center;
}
.cc-pairings__media { position: relative; padding: 0 0 18% 0; }
.cc-pairings__tall { width: 74%; aspect-ratio: 3 / 4; object-fit: cover; }
.cc-pairings__wide {
	position: absolute;
	right: 0; bottom: 0;
	width: 58%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border: 8px solid var(--black);
}
.cc-pairings__text .cc-title { margin-bottom: 22px; }
.cc-pairs { margin: 40px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.cc-pairs li {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
	gap: 24px;
	padding: 22px 0;
	border-bottom: 1px solid var(--line);
}
.cc-pairs strong { font: 500 23px/1.3 var(--serif); color: var(--ivory); }
.cc-pairs span { color: var(--muted); font-size: 15px; }

/* Quote ------------------------------------------------------------------ */
.cc-quote { padding: clamp(120px, 16vw, 220px) 0; text-align: center; }
.cc-quote::before { background: radial-gradient(ellipse at center, rgba(11, 10, 9, 0.35) 0%, rgba(11, 10, 9, 0.85) 70%, var(--black) 100%); }
.cc-quote__text {
	max-width: 18ch;
	margin: 34px auto;
	font: italic 400 clamp(38px, 5.4vw, 76px)/1.15 var(--serif);
	color: var(--ivory);
}

/* Membership ------------------------------------------------------------- */
.cc-membership { background: var(--coal); }
.cc-membership__grid {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 4fr);
	gap: 24px;
	align-items: stretch;
}
.cc-membership__figure { margin: 0; }
.cc-membership__figure img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }

.cc-tier {
	display: flex;
	flex-direction: column;
	padding: 48px 40px 40px;
	border: 1px solid var(--line);
	background: var(--black);
}
.cc-tier--featured { border-color: rgba(184, 146, 90, 0.6); background: linear-gradient(180deg, rgba(184, 146, 90, 0.1), rgba(11, 10, 9, 0) 60%), var(--black); }
.cc-tier__name { margin-bottom: 8px; color: var(--brass); font: 500 12px/1 var(--sans); letter-spacing: 0.32em; text-transform: uppercase; }
.cc-tier__price { margin-bottom: 30px; font: 500 46px/1.1 var(--serif); }
.cc-tier__price span { display: block; margin-top: 6px; color: var(--faint); font: 300 14px/1 var(--sans); letter-spacing: 0.08em; }
.cc-tier__list { flex: 1; margin: 0 0 36px; padding: 0; list-style: none; }
.cc-tier__list li { position: relative; padding: 13px 0 13px 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.cc-tier__list li::before {
	content: "";
	position: absolute;
	left: 2px; top: 22px;
	width: 7px; height: 7px;
	border: 1px solid var(--brass);
	transform: rotate(45deg);
}
.cc-tier .cc-btn { align-self: flex-start; }

/* Evenings and gallery --------------------------------------------------- */
.cc-evenings__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-bottom: 56px; }
.cc-evening__img { overflow: hidden; margin-bottom: 26px; }
.cc-evening__img img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; transition: transform 1.2s var(--ease), filter 1.2s var(--ease); filter: saturate(0.85) brightness(0.9); }
.cc-evening:hover .cc-evening__img img { transform: scale(1.05); filter: saturate(1) brightness(1); }
.cc-evening h3 { margin-bottom: 10px; font-size: 30px; }
.cc-evening p { color: var(--muted); font-size: 16px; }

.cc-gallery {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	grid-template-rows: 300px 300px;
	grid-template-areas: "a a b" "c d b";
	gap: 8px;
	margin-top: var(--section);
	padding: 0 8px;
}
.cc-gallery img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85) brightness(0.85); transition: filter 0.8s var(--ease); }
.cc-gallery img:hover { filter: saturate(1) brightness(1); }
.cc-gallery__a { grid-area: a; }
.cc-gallery__b { grid-area: b; }
.cc-gallery__c { grid-area: c; }
.cc-gallery__d { grid-area: d; }

/* Visit and the form ----------------------------------------------------- */
.cc-visit { background: var(--coal); border-top: 1px solid var(--line); }
.cc-visit__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: clamp(48px, 8vw, 120px);
	align-items: start;
}
.cc-visit__info .cc-title { margin-bottom: 22px; }
.cc-details { margin: 44px 0 0; padding: 0; list-style: none; }
.cc-details li { display: flex; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); color: var(--muted); }
.cc-details .cc-icon { color: var(--brass); margin-top: 3px; }

.cc-visit__form { padding: clamp(32px, 4vw, 56px); border: 1px solid var(--line); background: var(--black); }

.cc-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 24px; }
.cc-field { display: flex; flex-direction: column; gap: 8px; }
.cc-field--full { grid-column: 1 / -1; }
.cc-field label {
	color: var(--faint);
	font: 500 11px/1.2 var(--sans);
	letter-spacing: 0.22em;
	text-transform: uppercase;
}
.cc-field input,
.cc-field select,
.cc-field textarea {
	width: 100%;
	padding: 12px 0;
	border: 0;
	border-bottom: 1px solid rgba(236, 227, 211, 0.24);
	border-radius: 0;
	background: transparent;
	color: var(--ivory);
	font: 300 17px/1.5 var(--sans);
	transition: border-color 0.3s var(--ease);
	appearance: none;
}
.cc-field select {
	padding-right: 28px;
	background-image: linear-gradient(45deg, transparent 50%, var(--brass) 50%), linear-gradient(135deg, var(--brass) 50%, transparent 50%);
	background-position: calc(100% - 12px) 22px, calc(100% - 7px) 22px;
	background-size: 5px 5px;
	background-repeat: no-repeat;
}
.cc-field select option { background: var(--coal); color: var(--ivory); }
.cc-field textarea { resize: vertical; min-height: 110px; }
.cc-field input:focus,
.cc-field select:focus,
.cc-field textarea:focus { outline: none; border-bottom-color: var(--brass); }
.cc-field input:-webkit-autofill { -webkit-text-fill-color: var(--ivory); -webkit-box-shadow: 0 0 0 40px var(--black) inset; caret-color: var(--ivory); }

.cc-check { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 14px; line-height: 1.5; cursor: pointer; }
.cc-check input {
	flex: none;
	width: 18px; height: 18px;
	margin: 2px 0 0;
	border: 1px solid rgba(236, 227, 211, 0.4);
	background: transparent;
	appearance: none;
	cursor: pointer;
	display: grid;
	place-items: center;
}
.cc-check input::after { content: ""; width: 8px; height: 8px; background: var(--brass); transform: scale(0); transition: transform 0.2s var(--ease); }
.cc-check input:checked { border-color: var(--brass); }
.cc-check input:checked::after { transform: scale(1); }

.cc-form__submit { display: flex; align-items: center; gap: 24px; }
.cc-form__note { color: var(--faint); font-size: 13px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.cc-footer { padding: 96px 0 40px; border-top: 1px solid var(--line); background: var(--black); }
.cc-footer__grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 48px; }
.cc-footer__crest { width: 64px; height: 64px; margin-bottom: 20px; color: var(--brass); }
.cc-footer__name { margin-bottom: 6px; font: 500 18px/1.2 var(--serif); letter-spacing: 0.32em; text-transform: uppercase; }
.cc-footer__tag { color: var(--faint); font: italic 400 19px/1.5 var(--serif); }
.cc-footer__title { margin-bottom: 18px; color: var(--brass); font: 500 11px/1.2 var(--sans); letter-spacing: 0.3em; text-transform: uppercase; }
.cc-footer__col p { margin-bottom: 12px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.cc-footer__links { margin: 0; padding: 0; list-style: none; }
.cc-footer__links li { margin-bottom: 8px; }
.cc-footer__links a { color: var(--muted); font-size: 15px; }
.cc-footer__links a:hover { color: var(--ivory); }
.cc-footer__legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px 32px;
	margin-top: 72px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
	color: var(--faint);
	font-size: 13px;
}
.cc-footer__legal p { margin: 0; }

/* ==========================================================================
   Age check
   ========================================================================== */
.cc-age {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: grid;
	place-items: center;
	padding: 24px;
	background: rgba(11, 10, 9, 0.94);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	animation: cc-in 0.6s var(--ease) both;
}
.cc-age[hidden] { display: none; }
@keyframes cc-in { from { opacity: 0; } }
.cc-age__box { max-width: 480px; text-align: center; }
.cc-age__crest { width: 84px; height: 84px; margin: 0 auto 28px; color: var(--brass); }
.cc-age__title { margin-bottom: 16px; font-size: 52px; }
.cc-age__text { margin-bottom: 34px; color: var(--muted); }
.cc-age__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.cc-locked { overflow: hidden; }

/* ==========================================================================
   Sign-in page
   ========================================================================== */
.cc-auth-page::after { z-index: 1; }
.cc-auth {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	min-height: 100vh;
	min-height: 100svh;
}
.cc-auth__media { position: relative; overflow: hidden; background: var(--black); }
.cc-auth__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% center; }
.cc-auth__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 10, 9, 0.1) 0%, rgba(11, 10, 9, 0.55) 70%, var(--black) 100%), linear-gradient(0deg, rgba(11, 10, 9, 0.85), rgba(11, 10, 9, 0) 45%); }
.cc-auth__quote {
	position: absolute;
	left: clamp(28px, 5vw, 72px);
	bottom: clamp(28px, 5vw, 64px);
	max-width: 16ch;
	margin: 0;
	font: italic 400 clamp(30px, 3.4vw, 50px)/1.15 var(--serif);
	color: var(--ivory);
}
.cc-auth__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 96px clamp(28px, 6vw, 88px) 64px;
	background: var(--black);
	border-left: 1px solid var(--line);
}
.cc-auth__back {
	position: absolute;
	top: 32px;
	left: clamp(28px, 6vw, 88px);
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--faint);
	font: 400 12px/1 var(--sans);
	letter-spacing: 0.22em;
	text-transform: uppercase;
}
.cc-auth__back .cc-icon { width: 16px; height: 16px; transform: rotate(180deg); transition: transform 0.4s var(--ease); }
.cc-auth__back:hover { color: var(--ivory); }
.cc-auth__back:hover .cc-icon { transform: rotate(180deg) translateX(4px); }

.cc-auth__box { width: 100%; max-width: 400px; margin: 0 auto; }
.cc-auth__crest { display: block; width: 76px; height: 76px; margin: 0 auto 26px; color: var(--brass); }
.cc-auth__title { margin-bottom: 36px; text-align: center; font-size: clamp(46px, 4vw, 60px); }
.cc-auth__form { grid-template-columns: 1fr; gap: 24px; }
.cc-auth__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 4px 0 8px; }
.cc-auth__forgot { color: var(--muted); font-size: 14px; border-bottom: 1px solid var(--line); }
.cc-auth__forgot:hover { color: var(--brass-hi); border-color: var(--brass); }
.cc-auth__note { margin-top: 34px; text-align: center; color: var(--faint); font-size: 14px; }
.cc-auth__note a { margin-left: 4px; border-bottom: 1px solid rgba(214, 180, 122, 0.4); }

.cc-password { position: relative; }
.cc-password input { padding-right: 44px; }
.cc-password__toggle {
	position: absolute;
	right: 0; top: 50%;
	display: grid;
	place-items: center;
	width: 40px; height: 40px;
	margin-top: -20px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--faint);
	cursor: pointer;
}
.cc-password__toggle:hover,
.cc-password__toggle[aria-pressed="true"] { color: var(--brass-hi); }
.cc-password__toggle .cc-icon { width: 18px; height: 18px; }

@media (max-width: 900px) {
	.cc-auth { grid-template-columns: 1fr; grid-template-rows: 30vh auto; }
	.cc-auth__quote { font-size: 26px; }
	.cc-auth__panel { border-left: 0; padding-top: 72px; }
	.cc-auth__back { top: 24px; }
}

/* ==========================================================================
   Members' area
   ========================================================================== */
.cc-members__hero { padding: calc(var(--header) + clamp(72px, 9vw, 120px)) 0 clamp(72px, 9vw, 120px); }
.cc-members__hero .cc-lead { margin-top: 18px; max-width: 40ch; }
.cc-members__hero .cc-notice { display: inline-block; margin-top: 30px; }

.cc-members__body { padding-top: clamp(56px, 7vw, 96px); }
.cc-members__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 4fr);
	grid-template-rows: auto auto;
	gap: 24px;
}

.cc-card {
	grid-row: span 2;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	aspect-ratio: 1.586;
	padding: clamp(24px, 3vw, 36px);
	border: 1px solid rgba(184, 146, 90, 0.55);
	border-radius: 14px;
	background:
		radial-gradient(120% 140% at 100% 0%, rgba(184, 146, 90, 0.18) 0%, rgba(184, 146, 90, 0) 55%),
		linear-gradient(145deg, #1d1a17 0%, #0b0a09 60%);
	box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9), inset 0 1px 0 rgba(236, 227, 211, 0.06);
	overflow: hidden;
	align-self: start;
}
.cc-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, transparent 30%, rgba(236, 227, 211, 0.06) 48%, transparent 66%);
	transform: translateX(-60%);
	transition: transform 1.4s var(--ease);
}
.cc-card:hover::after { transform: translateX(60%); }
.cc-card__top { display: flex; align-items: flex-start; justify-content: space-between; }
.cc-card__club { color: var(--brass-hi); font: 500 13px/1 var(--serif); letter-spacing: 0.34em; text-transform: uppercase; }
.cc-card__crest { width: 54px; height: 54px; color: var(--brass); }
.cc-card__name { margin: 0; font: 500 clamp(26px, 2.6vw, 36px)/1.1 var(--serif); }
.cc-card__meta { display: flex; flex-wrap: wrap; gap: 14px 32px; margin: 0; }
.cc-card__meta dt { color: var(--faint); font: 500 10px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; }
.cc-card__meta dd { margin: 6px 0 0; font: 400 15px/1 var(--sans); letter-spacing: 0.08em; font-variant-numeric: tabular-nums; }

.cc-panel { padding: 34px 32px; border: 1px solid var(--line); background: var(--coal); }
.cc-members__grid > .cc-panel:last-child { grid-column: span 2; }
.cc-panel__title { margin-bottom: 14px; font-size: 28px; }
.cc-panel p { color: var(--muted); font-size: 15px; }
.cc-panel__big { margin-bottom: 8px; color: var(--brass-hi) !important; font: 500 44px/1 var(--serif) !important; }
.cc-panel .cc-btn { margin-top: 12px; }

.cc-account {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
	gap: clamp(32px, 6vw, 96px);
	margin-top: clamp(56px, 7vw, 96px);
	padding-top: clamp(48px, 6vw, 72px);
	border-top: 1px solid var(--line);
}
.cc-account__list { margin: 0 0 28px; }
.cc-account__list div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.cc-account__list dt { color: var(--faint); font: 500 11px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; }
.cc-account__list dd { margin: 6px 0 0; color: var(--ivory); }
.cc-account__logout { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font: 400 12px/1 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; }
.cc-account__logout:hover { color: var(--brass-hi); }
.cc-account__title { grid-column: 1 / -1; margin-bottom: 4px; font-size: 28px; }
.cc-account__form .cc-notice { grid-column: 1 / -1; margin: 0; }

/* ==========================================================================
   Plain pages
   ========================================================================== */
.cc-page { padding: calc(var(--header) + 96px) 0 var(--section); min-height: 70vh; }
.cc-page__wrap { max-width: 860px; }
.cc-page .cc-title { margin-bottom: 32px; }
.cc-prose { color: var(--muted); }
.cc-prose h2,
.cc-prose h3 { margin: 1.6em 0 0.6em; color: var(--ivory); }
.cc-prose a { border-bottom: 1px solid currentColor; }

/* ==========================================================================
   Reveal on scroll (only once JavaScript is running)
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
	.cc-membership__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cc-membership__figure { grid-column: 1 / -1; }
	.cc-membership__figure img { min-height: 0; aspect-ratio: 16 / 9; }
	.cc-members__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cc-card { grid-column: 1 / -1; grid-row: auto; max-width: 560px; }
	.cc-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cc-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
	.cc-club__grid,
	.cc-pairings__grid,
	.cc-visit__grid,
	.cc-head--split,
	.cc-account { grid-template-columns: 1fr; }
	.cc-club__figure { max-width: 520px; }
	.cc-pillars,
	.cc-strengths,
	.cc-evenings__grid { grid-template-columns: 1fr; }
	.cc-pillar,
	.cc-pillar + .cc-pillar { padding: 32px 0; border-left: 0; border-bottom: 1px solid var(--line); }
	.cc-pairs li { grid-template-columns: 1fr; gap: 4px; }
	.cc-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px 200px; grid-template-areas: "a a" "b c" "b d"; }
}

@media (max-width: 600px) {
	body { font-size: 16px; }
	.cc-form { grid-template-columns: 1fr; }
	.cc-field--half { grid-column: auto; }
	.cc-membership__grid,
	.cc-members__grid { grid-template-columns: 1fr; }
	.cc-members__grid > .cc-panel:last-child { grid-column: auto; }
	.cc-footer__grid { grid-template-columns: 1fr 1fr; }
	.cc-hero__actions .cc-btn { flex: 1 1 100%; }
	.cc-tier { padding: 36px 28px 30px; }
}

/* ==========================================================================
   Coming soon (inc/coming-soon.php)
   ========================================================================== */
.cc-soon {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 100vh;
	min-height: 100svh;
	padding: 96px var(--gutter);
	overflow: hidden;
	text-align: center;
}
.cc-soon__media {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 62% center;
	opacity: 0.6;
}
.cc-soon__shade {
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse at center, rgba(11, 10, 9, 0.9) 0%, rgba(11, 10, 9, 0.6) 55%, rgba(11, 10, 9, 0.85) 100%);
}
.cc-soon__box { position: relative; z-index: 2; max-width: 680px; }
.cc-soon__crest { display: block; width: 92px; height: 92px; margin: 0 auto 30px; color: var(--brass); animation: cc-fade 1.6s var(--ease) both; }
.cc-soon__title {
	margin-bottom: 30px;
	font-size: clamp(60px, 9vw, 128px);
	line-height: 0.92;
	letter-spacing: -0.01em;
	animation: cc-rise 1.2s 0.12s var(--ease) both;
}
.cc-soon__title em { color: var(--brass-hi); font-weight: 400; font-style: italic; }
.cc-soon__lead { margin-top: 30px; font: italic 400 clamp(21px, 1.9vw, 26px)/1.5 var(--serif); color: var(--muted); }

/* StorsenDigital signature: the same on every Storsen coming-soon page, the only crimson. */
.cc-sd {
	position: fixed;
	right: max(16px, env(safe-area-inset-right));
	bottom: 14px;
	z-index: 95;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font: 400 12px/1 var(--sans);
	color: var(--faint);
}
.cc-sd svg { width: 13px; height: 13px; flex: none; fill: #CC1227; }
.cc-sd b { font-weight: 500; }
.cc-sd:hover,
.cc-sd:focus-visible { color: var(--ivory); }

/* ==========================================================================
   Motion off
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after { animation: none !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
	.cc-hero__video { transform: none; }
}
