/*
Theme Name: Call Me Vector
Theme URI: https://callmevector.com/
Author: Morten Marcos
Description: Personligt portfolio-tema for Call Me Vector by Morten Marcos. WooCommerce kører som katalog – ingen kurv, men "Forespørg" på hver plakat.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
WC requires at least: 7.0
Text Domain: callmevector
License: GNU General Public License v2 or later
*/

:root {
	--ink: #0A0A0A;
	--muted: #6B6B6B;
	--body: #4A4A4A;
	--line: #0A0A0A;
	--soft: #F2F2F2;
	--paper: #FFFFFF;
	--frame: #111111;
	--vector: #1E7BFF;
	--hero: #FF3B26;
	--sans: 'Inter Tight', system-ui, -apple-system, sans-serif;
	--mono: 'IBM Plex Mono', ui-monospace, monospace;
	--display: 'Anton', 'Inter Tight', sans-serif;
	--serif: 'Bodoni Moda', Georgia, serif;
	--playfair: 'Playfair Display', Georgia, serif;
	--wrap: 1360px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: var(--body); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--vector); outline-offset: 3px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 1000; top: 8px; left: 8px;
	background: var(--paper); padding: 10px 14px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.label {
	font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em;
	text-transform: uppercase;
}
.muted { color: var(--muted); }
.section { padding-top: 128px; }
.section-head {
	display: flex; justify-content: space-between; align-items: baseline;
	gap: 16px; padding-bottom: 24px;
}
.section-head a { text-decoration: none; padding: 10px 0; }

/* ---------- Header (inner pages) ---------- */
.site-header {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
	gap: 16px; padding-top: 28px; padding-bottom: 28px;
}
.site-header .label a, .site-nav a { text-decoration: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; padding: 10px 0; text-decoration: none; }
.brand-mark { font-family: var(--serif); font-size: 30px; line-height: 1; letter-spacing: -0.04em; text-transform: none; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 32px; }
.site-nav a { padding: 10px 0; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }

/* ---------- Hero (front page) ---------- */
.hero { display: flex; flex-wrap: wrap; min-height: 820px; background: var(--paper); }
.hero-text {
	flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column;
	padding: 28px clamp(24px, 5vw, 72px) 64px;
}
.hero-top {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
	gap: 12px 24px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em;
	text-transform: uppercase;
}
.hero-top a { text-decoration: none; padding: 10px 0; }
.hero-top nav { display: flex; flex-wrap: wrap; gap: 0 28px; }
.hero-body {
	flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center;
	padding-top: 72px; max-width: 34rem;
}
.hello { margin: 0; font-family: var(--playfair); font-weight: 400; }
.hello .big {
	display: block; font-style: italic; font-weight: 900; font-size: clamp(4.5rem, 9vw, 8.5rem);
	line-height: 0.95; letter-spacing: -0.02em;
}
.hello .name {
	display: block; margin-top: 16px; font-size: clamp(2.25rem, 3.8vw, 3.5rem);
	line-height: 1.12; letter-spacing: -0.01em;
}
.callme {
	margin: 18px 0 0; font-family: var(--playfair); font-style: italic;
	font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.3;
}
/* "Vector" drawn as a selected path, Illustrator-style */
.vec { position: relative; display: inline-block; font-style: italic; padding: 0 0.14em 0 0.08em; margin-left: 0.04em; }
.vec i { font-style: normal; }
.vec .sel { position: absolute; inset: 0.1em 0 0.02em; border: 1.5px solid var(--ink); pointer-events: none; }
.vec .h { position: absolute; width: 9px; height: 9px; background: #FFF; border: 1.5px solid var(--ink); }
.vec .tl { left: -4.5px; top: calc(0.1em - 4.5px); }
.vec .tr { right: -4.5px; top: calc(0.1em - 4.5px); }
.vec .bl { left: -4.5px; bottom: calc(0.02em - 4.5px); }
.vec .br { right: -4.5px; bottom: calc(0.02em - 4.5px); }
.vec .tm { left: calc(50% - 4.5px); top: calc(0.1em - 4.5px); }
.vec .bm { left: calc(50% - 4.5px); bottom: calc(0.02em - 4.5px); }
.vec .tag {
	position: absolute; left: 0; top: 0.1em; transform: translateY(-100%); margin-top: -9px;
	background: var(--ink); color: #FFF; font-family: var(--mono); font-size: 10px;
	font-weight: 500; letter-spacing: 0.04em; line-height: 1; padding: 4px 6px; white-space: nowrap;
}
.band .licensee { width: 300px; max-width: 100%; height: auto; }
.hero-rule { width: 64px; height: 1px; background: #C9C9C9; margin: 40px 0 32px; }
.hero-roles { margin: 0; font-style: italic; font-weight: 500; font-size: 17px; line-height: 1.5; }
.hero-intro { margin: 16px 0 0; font-size: 18px; line-height: 1.6; color: #2A2A2A; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.btn {
	display: inline-flex; align-items: center; min-height: 52px; padding: 0 24px;
	border: 1px solid var(--ink); text-decoration: none; font-size: 15px; font-weight: 500;
}
.btn-dark { background: var(--ink); color: #FFF; }
.btn-dark:hover { color: #FFF; background: #2A2A2A; }
.hero-photo {
	flex: 1 1 520px; min-width: 0; min-height: 560px; background: #0E0E0E;
	position: relative; overflow: hidden;
}
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }

.split { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.split > .side { flex: 1 1 260px; }
.split > .main { flex: 999 1 560px; min-width: 0; }

/* ---------- Poster grid (front page, shop, Grand Départ) ---------- */
.poster-grid {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 56px 24px; list-style: none; margin: 0; padding: 0;
}
.poster { display: flex; flex-direction: column; gap: 12px; }
.poster .thumb {
	display: block; aspect-ratio: 1 / 1; background: var(--soft); overflow: hidden;
}
.poster .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.poster .thumb:hover img { transform: scale(1.03); }
.poster .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.poster .name { font-size: 15px; font-weight: 500; text-decoration: none; }
.poster .price, .poster .price .amount { font-family: var(--mono); font-size: 13px; color: var(--muted); white-space: nowrap; }
.poster .price del { opacity: .6; }
.poster .price ins { text-decoration: none; }
.poster .foot {
	display: flex; justify-content: space-between; align-items: center; gap: 12px;
	font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
}
.poster .foot a { text-decoration: none; padding: 10px 0; }

/* ---------- Licence band ---------- */
.band {
	display: flex; flex-wrap: wrap; align-items: center; gap: 32px 64px;
	border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 40px 0;
}
.band p { flex: 1 1 360px; margin: 0; font-size: 20px; line-height: 1.45; max-width: 40rem; }
.band a { text-decoration: none; padding: 10px 0; }
.logo-slot { max-height: 80px; width: auto; }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }

/* ---------- About ---------- */
.about-grid { display: flex; flex-wrap: wrap; gap: 40px; }
.about-photo { flex: 1 1 280px; aspect-ratio: 4 / 5; background: var(--soft); overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-text { flex: 1 1 300px; display: flex; flex-direction: column; gap: 20px; }
.about-text .big { margin: 0; font-size: 24px; line-height: 1.4; letter-spacing: -0.01em; }
.about-text .small { margin: 0; font-size: 16px; line-height: 1.65; color: var(--body); }

/* ---------- Press rows ---------- */
.press-row {
	display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: baseline;
	border-top: 1px solid var(--line); padding: 22px 0; text-decoration: none;
}
.press-row:last-child { border-bottom: 1px solid var(--line); }
.press-row .src { font-family: var(--mono); font-size: 13px; width: 140px; text-transform: uppercase; }
.press-row .t { flex: 1 1 360px; font-size: 18px; }

/* ---------- Footer ---------- */
.site-footer { padding-top: 160px; padding-bottom: 40px; }
.big-mail {
	display: inline-block; font-size: clamp(2rem, 6.5vw, 6rem); font-weight: 500;
	letter-spacing: -0.04em; line-height: 1; text-decoration: none; word-break: break-word;
}
.footer-bar {
	margin-top: 96px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
	border-top: 1px solid var(--line); padding-top: 20px; font-family: var(--mono); font-size: 12px;
	letter-spacing: 0.06em; text-transform: uppercase;
}
.footer-bar a { text-decoration: none; padding: 10px 0; }
.footer-bar .links { display: flex; flex-wrap: wrap; gap: 4px 28px; }

/* ---------- Page heading (inner pages) ---------- */
.page-hero { padding-top: 72px; padding-bottom: 40px; }
.page-title {
	margin: 0; font-weight: 500; font-size: clamp(3rem, 9vw, 8rem); line-height: 0.9;
	letter-spacing: -0.045em;
}
.page-sub {
	margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px 64px;
	border-top: 1px solid var(--line); padding-top: 20px;
}
.page-sub .label { flex: 1 1 260px; line-height: 1.8; }
.page-sub p { flex: 2 1 420px; margin: 0; max-width: 38rem; font-size: 18px; line-height: 1.55; color: var(--body); }

/* ---------- Filter pills ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 0 40px; list-style: none; margin: 0; }
.filters a {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
	border: 1px solid var(--ink); border-radius: 999px; text-decoration: none;
	font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
}
.filters a.is-active, .filters a:hover { background: var(--ink); color: #FFF; }

/* ---------- Single product ---------- */
.crumbs { padding-top: 24px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.product-wrap { padding-top: 40px; display: flex; flex-wrap: wrap; gap: 48px 80px; align-items: flex-start; }
.product-media { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.product-media .main-img { background: var(--soft); }
.product-media .gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.product-media .gallery img { aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.product-info { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 32px; position: sticky; top: 24px; }
.product-info h1 { margin: 0; font-weight: 500; font-size: clamp(2.25rem, 4vw, 3.5rem); line-height: 1; letter-spacing: -0.035em; }
.product-info .desc { font-size: 17px; line-height: 1.6; color: var(--body); }
.product-info .desc p { margin: 0 0 1em; }
.sizes { list-style: none; margin: 0; padding: 0; }
.sizes li {
	display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line);
	padding: 16px 0; font-size: 16px;
}
.sizes li:last-child { border-bottom: 1px solid var(--line); }
.sizes .p { font-family: var(--mono); font-size: 14px; }
.inquire {
	display: flex; align-items: center; justify-content: space-between; min-height: 60px;
	padding: 0 24px; background: var(--ink); color: #FFF; text-decoration: none;
	font-size: 16px; font-weight: 500;
}
.inquire:hover { color: #FFF; background: #2A2A2A; }
.inquire-note { margin: -16px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.licence-note { display: flex; align-items: center; gap: 20px; border-top: 1px solid #E2E2E2; padding-top: 24px; font-size: 14px; color: var(--body); }
.licence-note img { max-height: 52px; width: auto; }

/* ---------- Stage list (Grand Départ) ---------- */
.stage {
	display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 32px;
	border-top: 1px solid var(--line); padding: 24px 0;
}
.stage:last-child { border-bottom: 1px solid var(--line); }
.stage .no { font-family: var(--mono); font-size: 13px; width: 96px; color: var(--muted); }
.stage .route { flex: 1 1 360px; font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 500; letter-spacing: -0.03em; }
.stage .date { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }

/* ---------- Generic page content ---------- */
.entry { max-width: 46rem; font-size: 18px; line-height: 1.65; }
.entry h2, .entry h3 { letter-spacing: -0.02em; font-weight: 500; }
.wide-img { aspect-ratio: 16 / 7; background: var(--soft); overflow: hidden; }
.wide-img img { width: 100%; height: 100%; object-fit: cover; }

.woocommerce-pagination ul { display: flex; gap: 8px; list-style: none; padding: 0; margin: 48px 0 0; font-family: var(--mono); }
.woocommerce-pagination a, .woocommerce-pagination span { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; border: 1px solid var(--ink); text-decoration: none; }
.woocommerce-pagination .current { background: var(--ink); color: #FFF; }

@media (max-width: 720px) {
	.hero { min-height: 0; }
	.hero-body { padding-top: 48px; }
	.hero-top nav { gap: 0 18px; }
	.section { padding-top: 88px; }
	.product-info { position: static; }
}
