/*
Theme Name: Hiroko Konishi Office Hub 2.4
Theme URI: https://hirokokonishi.co.jp/
Description: Euphony Blocks child theme for the official Office Squirrel / Hiroko Konishi hub. Front and profile backgrounds are editable Cover blocks and profile content is rendered through a dedicated page template. Includes LITTLE CURE, Wolfgang Label releases, and an editable image/video Cover. Parent JSON-LD remains untouched.
Author: Office Squirrel LLC
Author URI: https://hirokokonishi.co.jp/
Template: euphony-blocks
Version: 2.4.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: hk-office-hub-v24
*/

/* --------------------------------------------------------------
   Official office hub
   -------------------------------------------------------------- */

:root {
	--hk-ink: #12131a;
	--hk-paper: #f7f4ee;
	--hk-white: #ffffff;
	--hk-violet: #6d36d8;
	--hk-cyan: #008f9e;
	--hk-coral: #d85a45;
	--hk-gold: #ae7414;
	--hk-line: rgba(18, 19, 26, 0.14);
	--hk-muted: #5a5d68;
	--hk-radius: 24px;
	--hk-shadow: 0 20px 60px rgba(20, 20, 35, 0.12);
}

body {
	background: var(--hk-paper);
	color: var(--hk-ink);
}

.hk-office-main {
	overflow: hidden;
	background: var(--hk-paper);
	color: var(--hk-ink);
}

.hk-office-shell {
	width: min(1240px, calc(100% - 40px));
	margin-inline: auto;
}

.hk-office-section {
	padding: clamp(72px, 9vw, 132px) 0;
}

.hk-office-section--compact {
	padding: clamp(52px, 7vw, 92px) 0;
}

.hk-office-hero {
	position: relative;
	isolation: isolate;
	padding: clamp(72px, 10vw, 148px) 0 clamp(86px, 12vw, 170px);
	background:
		radial-gradient(circle at 14% 18%, rgba(114, 80, 255, 0.36), transparent 34%),
		radial-gradient(circle at 85% 15%, rgba(0, 188, 201, 0.24), transparent 31%),
		linear-gradient(135deg, #11121b 0%, #1b1831 46%, #102b31 100%);
	color: #fff;
}

.hk-office-hero::after {
	content: "";
	position: absolute;
	inset: auto -8% -220px 28%;
	z-index: -1;
	height: 420px;
	border-radius: 50%;
	background: linear-gradient(110deg, rgba(216, 90, 69, .24), rgba(109, 54, 216, .28));
	filter: blur(80px);
	transform: rotate(-8deg);
}

.hk-eyebrow {
	margin: 0 0 20px;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #83e7ef;
}

.hk-office-hero h1 {
	max-width: 940px;
	margin: 0;
	font-size: clamp(3.1rem, 8vw, 7.4rem);
	line-height: 0.92;
	letter-spacing: -0.055em;
	color: #fff;
}

.hk-office-hero h1 em {
	display: block;
	margin-top: 0.18em;
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 400;
	letter-spacing: -0.025em;
	color: #eadfff;
}

.hk-hero-lead {
	max-width: 760px;
	margin: 34px 0 0;
	font-size: clamp(1.08rem, 1.7vw, 1.35rem);
	line-height: 1.9;
	color: rgba(255, 255, 255, 0.83);
}

.hk-hero-grid {
	align-items: end;
	gap: clamp(38px, 7vw, 90px);
}

.hk-role-card {
	padding: 28px;
	border: 1px solid rgba(255,255,255,.16);
	border-radius: var(--hk-radius);
	background: rgba(255,255,255,.08);
	box-shadow: 0 24px 70px rgba(0,0,0,.24);
	backdrop-filter: blur(12px);
}

.hk-role-card p {
	margin: 0;
	padding: 15px 0;
	border-bottom: 1px solid rgba(255,255,255,.13);
	font-weight: 700;
	line-height: 1.45;
	color: #fff;
}

.hk-role-card p:last-child {
	border-bottom: 0;
}

.hk-role-card small {
	display: block;
	margin-top: 5px;
	font-size: .74em;
	font-weight: 500;
	letter-spacing: .04em;
	color: rgba(255,255,255,.63);
}

.hk-office-main .wp-block-button__link {
	border-radius: 999px;
	padding: .9em 1.5em;
	font-weight: 750;
	text-decoration: none;
	transition: transform .18s ease, box-shadow .18s ease;
}

.hk-office-main .wp-block-button__link:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 24px rgba(0,0,0,.18);
}

.hk-button-outline .wp-block-button__link {
	border: 1px solid rgba(255,255,255,.46);
	background: transparent;
	color: #fff;
}

.hk-section-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(260px, .75fr);
	gap: 42px;
	align-items: end;
	margin-bottom: 48px;
}

.hk-section-head h2 {
	margin: 0;
	font-size: clamp(2.2rem, 5vw, 4.7rem);
	line-height: 1;
	letter-spacing: -0.045em;
	color: var(--hk-ink);
}

.hk-section-head p {
	margin: 0;
	font-size: 1.02rem;
	line-height: 1.8;
	color: var(--hk-muted);
}

.hk-network-grid,
.hk-authority-grid,
.hk-business-grid,
.hk-feed-grid {
	gap: 22px;
}

.hk-network-card,
.hk-authority-card,
.hk-business-card,
.hk-feed-card {
	height: 100%;
	box-sizing: border-box;
	padding: clamp(25px, 3vw, 38px);
	border: 1px solid var(--hk-line);
	border-radius: var(--hk-radius);
	background: rgba(255,255,255,.86);
	box-shadow: 0 10px 34px rgba(22, 23, 35, 0.06);
}

.hk-network-card {
	position: relative;
	overflow: hidden;
	min-height: 310px;
}

.hk-network-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 6px;
	background: var(--hk-violet);
}

.hk-network-card.is-analog::before { background: var(--hk-coral); }
.hk-network-card.is-lab::before { background: var(--hk-cyan); }
.hk-network-card.is-map::before { background: var(--hk-gold); }

.hk-card-number {
	margin: 0 0 44px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.15rem;
	color: var(--hk-muted);
}

.hk-network-card h3,
.hk-authority-card h3,
.hk-business-card h3,
.hk-feed-card h3 {
	margin: 0 0 14px;
	font-size: clamp(1.3rem, 2.4vw, 1.8rem);
	line-height: 1.18;
	color: var(--hk-ink);
}

.hk-network-card p,
.hk-authority-card p,
.hk-business-card p,
.hk-feed-card p,
.hk-feed-card li {
	color: var(--hk-muted);
	line-height: 1.75;
}

.hk-text-link a {
	font-weight: 800;
	text-decoration-thickness: 1px;
	text-underline-offset: 5px;
	color: var(--hk-ink);
}

.hk-authority-band {
	background: #fff;
}

.hk-authority-card {
	box-shadow: none;
	border-top-width: 5px;
}

.hk-authority-card:nth-child(1) { border-top-color: var(--hk-violet); }
.hk-authority-card:nth-child(2) { border-top-color: var(--hk-coral); }
.hk-authority-card:nth-child(3) { border-top-color: var(--hk-gold); }
.hk-authority-card:nth-child(4) { border-top-color: var(--hk-cyan); }

.hk-authority-card .hk-card-kicker,
.hk-business-card .hk-card-kicker {
	margin: 0 0 20px;
	font-size: .76rem;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--hk-violet);
}

.hk-profile-statement {
	padding: clamp(32px, 5vw, 68px);
	border-radius: calc(var(--hk-radius) + 8px);
	background:
		linear-gradient(120deg, rgba(109,54,216,.10), rgba(0,143,158,.09)),
		#fff;
	border: 1px solid rgba(109,54,216,.16);
}

.hk-profile-statement blockquote {
	margin: 0;
	padding: 0;
	border: 0;
}

.hk-profile-statement blockquote p {
	margin: 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.8rem, 4vw, 3.6rem);
	line-height: 1.28;
	letter-spacing: -.025em;
	color: var(--hk-ink);
}

.hk-business-band {
	background: #151620;
	color: #fff;
}

.hk-business-band .hk-section-head h2,
.hk-business-band .hk-business-card h3 {
	color: #fff;
}

.hk-business-band .hk-section-head p,
.hk-business-band .hk-business-card p {
	color: rgba(255,255,255,.68);
}

.hk-business-card {
	border-color: rgba(255,255,255,.14);
	background: rgba(255,255,255,.06);
	box-shadow: none;
}

.hk-business-card .hk-card-kicker {
	color: #82e6ef;
}

.hk-feed-card .wp-block-rss {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hk-feed-card .wp-block-rss li {
	margin: 0;
	padding: 18px 0;
	border-bottom: 1px solid var(--hk-line);
}

.hk-feed-card .wp-block-rss li:last-child {
	border-bottom: 0;
}

.hk-feed-card .wp-block-rss__item-title a {
	font-weight: 760;
	line-height: 1.45;
	color: var(--hk-ink);
	text-decoration: none;
}

.hk-feed-card .wp-block-rss__item-publish-date {
	margin-top: 8px;
	font-size: .82rem;
	color: var(--hk-muted);
}

.hk-contact {
	padding: clamp(60px, 9vw, 118px);
	border-radius: 34px;
	background:
		radial-gradient(circle at 88% 20%, rgba(0,180,190,.25), transparent 30%),
		linear-gradient(135deg, #6d36d8, #342168 58%, #173942);
	color: #fff;
}

.hk-contact h2 {
	margin: 0;
	font-size: clamp(2.5rem, 6vw, 5.4rem);
	line-height: .98;
	letter-spacing: -.05em;
	color: #fff;
}

.hk-contact p {
	max-width: 760px;
	margin: 24px 0 0;
	font-size: 1.08rem;
	line-height: 1.85;
	color: rgba(255,255,255,.79);
}

.hk-contact .wp-block-button__link {
	background: #fff;
	color: #241944;
}

.hk-small-note {
	font-size: .82rem;
	color: var(--hk-muted);
}

@media (max-width: 900px) {
	.hk-section-head {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.hk-hero-grid {
		align-items: stretch;
	}

	.hk-office-shell {
		width: min(100% - 28px, 1240px);
	}
}

@media (max-width: 640px) {
	.hk-office-hero {
		padding-top: 56px;
	}

	.hk-office-hero h1 {
		font-size: clamp(2.75rem, 16vw, 4.6rem);
	}

	.hk-contact {
		padding: 44px 25px;
		border-radius: 24px;
	}

	.hk-network-card {
		min-height: 0;
	}
}


/* --------------------------------------------------------------
   V2.1: editable background Cover blocks
   -------------------------------------------------------------- */

.wp-block-cover.hk-office-hero,
.wp-block-cover.hk-profile-hero {
	position: relative;
	isolation: isolate;
	box-sizing: border-box;
	padding: 0;
	background:
		radial-gradient(circle at 14% 18%, rgba(114, 80, 255, 0.42), transparent 34%),
		radial-gradient(circle at 85% 15%, rgba(0, 188, 201, 0.30), transparent 31%),
		linear-gradient(135deg, #11121b 0%, #1b1831 46%, #102b31 100%);
	color: #fff;
}

.wp-block-cover.hk-office-hero {
	min-height: clamp(620px, 82vh, 860px) !important;
}

.wp-block-cover.hk-office-hero .wp-block-cover__inner-container {
	width: 100%;
	padding: clamp(72px, 10vw, 148px) 0 clamp(86px, 12vw, 170px);
}

.wp-block-cover.hk-office-hero .wp-block-cover__background,
.wp-block-cover.hk-profile-hero .wp-block-cover__background {
	background: linear-gradient(115deg, rgba(10, 11, 18, .91) 0%, rgba(22, 19, 42, .70) 52%, rgba(7, 38, 43, .60) 100%) !important;
	opacity: 1 !important;
}

.wp-block-cover.hk-office-hero .wp-block-cover__image-background,
.wp-block-cover.hk-profile-hero .wp-block-cover__image-background {
	object-fit: cover;
	object-position: center center;
}

/* WordPress editor: keep the selectable Cover boundary visible. */
.editor-styles-wrapper .wp-block-cover.hk-office-hero,
.editor-styles-wrapper .wp-block-cover.hk-profile-hero {
	outline: 1px dashed rgba(109, 54, 216, .35);
}

.hk-profile-main,
.hk-standard-page {
	background: var(--hk-paper);
	color: var(--hk-ink);
}

.wp-block-cover.hk-profile-hero {
	min-height: clamp(420px, 58vh, 620px) !important;
}

.wp-block-cover.hk-profile-hero .wp-block-cover__inner-container {
	width: 100%;
	padding: clamp(80px, 11vw, 150px) 0 clamp(62px, 8vw, 105px);
}

.hk-profile-title {
	max-width: 1000px;
	margin: 0;
	font-size: clamp(2.5rem, 6vw, 5.8rem);
	line-height: 1.02;
	letter-spacing: -0.045em;
	color: #fff;
}

.hk-profile-subtitle {
	max-width: 850px;
	margin: 24px 0 0;
	font-size: clamp(.95rem, 1.6vw, 1.18rem);
	line-height: 1.8;
	letter-spacing: .025em;
	color: rgba(255,255,255,.78);
}

.hk-profile-content-band {
	padding: clamp(64px, 9vw, 124px) 0;
}

.hk-profile-content-shell {
	box-sizing: border-box;
	padding: clamp(28px, 5vw, 70px);
	border: 1px solid var(--hk-line);
	border-radius: var(--hk-radius);
	background: rgba(255,255,255,.92);
	box-shadow: var(--hk-shadow);
}

.hk-profile-content {
	font-size: clamp(1rem, 1.25vw, 1.075rem);
	line-height: 1.95;
}

.hk-profile-content > :first-child {
	margin-top: 0;
}

.hk-profile-content h2 {
	margin-top: 2.2em;
	font-size: clamp(1.7rem, 3.3vw, 2.7rem);
	line-height: 1.25;
	letter-spacing: -.025em;
}

.hk-profile-content h3 {
	margin-top: 1.9em;
	font-size: clamp(1.3rem, 2.4vw, 1.8rem);
	line-height: 1.35;
}

.hk-profile-content img {
	border-radius: 18px;
}

.hk-profile-content ul,
.hk-profile-content ol {
	padding-left: 1.35em;
}

.hk-profile-content a {
	text-decoration-thickness: 1px;
	text-underline-offset: .18em;
}

.hk-standard-page-head {
	padding: clamp(72px, 10vw, 130px) 0 clamp(44px, 6vw, 80px);
	background: linear-gradient(135deg, #151621, #272047 58%, #123b40);
	color: #fff;
}

.hk-standard-page-head h1 {
	margin: 0;
	font-size: clamp(2.4rem, 5.8vw, 5rem);
	line-height: 1.05;
	color: #fff;
}

.hk-standard-page-content {
	padding-top: clamp(60px, 8vw, 110px);
	padding-bottom: clamp(60px, 8vw, 110px);
}

@media (max-width: 781px) {
	.wp-block-cover.hk-office-hero .wp-block-cover__inner-container {
		padding-top: 72px;
		padding-bottom: 92px;
	}
	.hk-profile-content-shell {
		width: min(100% - 24px, 920px);
		padding: 24px 20px;
		border-radius: 18px;
	}
}


/* --------------------------------------------------------------
   LITTLE CURE / Wolfgang Label music sections (2.4)
   -------------------------------------------------------------- */
.hk-little-cure-band {
	background:
		linear-gradient(135deg, rgba(109,54,216,.08), rgba(216,90,69,.08)),
		#fff;
}

.hk-little-cure-grid {
	align-items: center;
	gap: clamp(34px, 7vw, 92px);
}

.hk-little-cure-photo {
	margin: 0;
}

.hk-little-cure-photo img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: calc(var(--hk-radius) + 8px);
	box-shadow: var(--hk-shadow);
}

.hk-music-kicker {
	margin: 0 0 14px;
	font-size: .76rem;
	font-weight: 850;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--hk-coral);
}

.hk-little-cure-copy h2,
.hk-label-band h2 {
	margin: 0 0 24px;
	font-size: clamp(2.4rem, 5vw, 5rem);
	line-height: .98;
	letter-spacing: -.045em;
	color: var(--hk-ink);
}

.hk-little-cure-copy > p:not(.hk-music-kicker) {
	font-size: 1.06rem;
	line-height: 1.88;
	color: var(--hk-muted);
}

.hk-little-cure-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 28px 0 0;
}

.hk-little-cure-facts p {
	margin: 0;
	padding: 16px;
	border: 1px solid rgba(109,54,216,.15);
	border-radius: 16px;
	background: rgba(255,255,255,.78);
	font-size: .87rem;
	font-weight: 750;
	line-height: 1.55;
	color: var(--hk-ink);
}

.hk-label-band {
	background: #ece7de;
}

.hk-label-intro {
	margin-bottom: 38px;
	padding: clamp(26px, 4vw, 46px);
	border-radius: calc(var(--hk-radius) + 4px);
	background: #151620;
	color: #fff;
}

.hk-label-intro h3 {
	margin: 0 0 12px;
	font-size: clamp(1.5rem, 2.7vw, 2.4rem);
	color: #fff;
}

.hk-label-intro p {
	max-width: 920px;
	margin: 0;
	line-height: 1.8;
	color: rgba(255,255,255,.78);
}

.hk-release-grid {
	gap: 22px;
}

.hk-release-card {
	height: 100%;
	overflow: hidden;
	border: 1px solid rgba(18,19,26,.12);
	border-radius: var(--hk-radius);
	background: #fff;
	box-shadow: 0 14px 40px rgba(22,23,35,.08);
}

.hk-release-card .wp-block-image {
	margin: 0;
}

.hk-release-card .wp-block-image img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.hk-release-card.is-wide .wp-block-image img {
	aspect-ratio: 16 / 10;
}

.hk-release-body {
	padding: 26px;
}

.hk-release-meta {
	margin: 0 0 10px;
	font-size: .72rem;
	font-weight: 850;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--hk-coral);
}

.hk-release-card h3 {
	margin: 0 0 12px;
	font-size: clamp(1.35rem, 2.2vw, 1.85rem);
	line-height: 1.18;
	color: var(--hk-ink);
}

.hk-release-card p {
	color: var(--hk-muted);
	line-height: 1.72;
}

.hk-current-production {
	margin-top: 24px;
	padding: clamp(24px, 4vw, 42px);
	border: 1px solid rgba(109,54,216,.16);
	border-radius: var(--hk-radius);
	background: linear-gradient(115deg, rgba(109,54,216,.09), rgba(255,255,255,.84));
}

.hk-current-production h3 {
	margin: 0 0 10px;
	font-size: clamp(1.4rem, 2.5vw, 2rem);
	color: var(--hk-ink);
}

.hk-current-production p {
	margin: 0;
	line-height: 1.8;
	color: var(--hk-muted);
}

.hk-video-cover {
	margin-top: 36px;
	border-radius: calc(var(--hk-radius) + 6px);
	overflow: hidden;
	box-shadow: var(--hk-shadow);
}

.hk-video-cover .wp-block-cover__inner-container {
	width: min(960px, calc(100% - 40px));
	margin-inline: auto;
	text-align: center;
}

.hk-video-cover h3 {
	margin: 0;
	font-size: clamp(2rem, 5vw, 4.7rem);
	line-height: 1;
	letter-spacing: -.04em;
	color: #fff;
}

.hk-video-cover p {
	max-width: 760px;
	margin: 18px auto 0;
	font-size: 1.04rem;
	line-height: 1.8;
	color: rgba(255,255,255,.82);
}

@media (max-width: 900px) {
	.hk-little-cure-facts {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 781px) {
	.hk-little-cure-grid {
		gap: 30px;
	}
	.hk-little-cure-photo img {
		aspect-ratio: 16 / 11;
	}
	.hk-release-card .wp-block-image img,
	.hk-release-card.is-wide .wp-block-image img {
		aspect-ratio: 16 / 10;
	}
}
