/*
Theme Name: Ito Consultant Office
Theme URI: https://example.com/
Description: GeneratePress child theme for Ito Consultant Office. Block editor only, no plugins, no JavaScript.
Author: RESUNCE
Template: generatepress
Version: 2.0.0
Text Domain: ito-child
*/

/* ==========================================================================
   0. Design tokens
   navy / white / gold  +  system fonts only (no webfont request)
   ========================================================================== */
:root {
	--io-navy: #123055;
	--io-navy-900: #0d2340;
	--io-navy-700: #1b4270;
	--io-gold: #c9a45c;
	--io-gold-600: #b58f45;
	--io-ink: #1c2430;
	--io-body: #4a5361;
	--io-mute: #7c8593;
	--io-line: #e3e6ea;
	--io-bg: #ffffff;
	--io-bg-soft: #f6f7f9;
	--io-bg-cream: #f5f2ec;

	--io-s1: 8px;
	--io-s2: 16px;
	--io-s3: 24px;
	--io-s4: 32px;
	--io-s5: 48px;
	--io-s6: 64px;
	--io-s7: 88px;

	--io-max: 1120px;
	--io-radius: 6px;

	/* gothic = body / mincho = headings (Apple-like restraint, Japanese elegance) */
	--io-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue",
		"Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP",
		"Yu Gothic", Meiryo, sans-serif;
	--io-serif: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP",
		"Times New Roman", serif;
}

/* ==========================================================================
   1. Base
   ========================================================================== */
html {
	/* Smooth anchor scrolling. No JS. */
	scroll-behavior: smooth;
	/* Offset for the sticky header so headings are not hidden. */
	scroll-padding-top: 92px;
}

/* Respect prefers-reduced-motion: jump instantly. */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

body {
	position: relative; /* anchor for the scroll-to-top button */
	font-family: var(--io-sans);
	color: var(--io-body);
	background: var(--io-bg);
	-webkit-font-smoothing: antialiased;
	letter-spacing: 0.02em;
	font-size: 15px;
	line-height: 1.9;
}

h1, h2, h3 {
	color: var(--io-navy);
	font-family: var(--io-serif);
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.03em;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--io-navy);
}

/* ==========================================================================
   2. LP container reset (page-lp.php outputs .io-lp)
   ========================================================================== */
.io-lp .inside-article {
	padding: 0;
	background: none;
	box-shadow: none;
}

.io-lp .entry-content {
	margin: 0;
}

.io-lp .alignfull {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: 100vw;
}

/* Kill GeneratePress padding so content starts under the header. */
.site-content {
	padding: 0 !important;
}

/* Override GeneratePress default: .separate-containers .site-main { margin: 20px } */
.separate-containers .site-main {
	margin: 0 !important;
}

.separate-containers .inside-article,
.separate-containers .site-main > *:first-child {
	margin-top: 0 !important;
}

/* ==========================================================================
   2.5 Scroll to top (all pages, no JS)
   The wrapper starts one viewport down and stretches to the bottom of
   the page. The button is position:sticky inside it, so it only enters
   the viewport after the user scrolls past the first screen.
   ========================================================================== */
.io-totop-wrap {
	position: absolute;
	top: 100vh;      /* appears only after the first view */
	bottom: 0;
	right: var(--io-s3);
	width: 48px;
	z-index: 90;
	pointer-events: none; /* the strip must not swallow clicks */
}

.io-totop {
	position: sticky;
	top: calc(100vh - 76px);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: rgba(18, 48, 85, 0.9);
	backdrop-filter: blur(6px);
	box-shadow: 0 6px 20px rgba(18, 48, 85, 0.25);
	color: #fff;
	text-decoration: none;
	pointer-events: auto;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.io-totop:hover {
	background: var(--io-navy);
	transform: translateY(-2px);
}

.io-totop svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

/* ==========================================================================
   2.6 Breadcrumbs (output by io_breadcrumbs() in functions.php)
   Not shown on the front page. Quiet by design: this is a wayfinding
   aid and a signal to search engines, not a design element.
   ========================================================================== */
.io-crumbs {
	background: var(--io-bg-soft);
	border-bottom: 1px solid var(--io-line);
	font-size: 12px;
}

.io-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	list-style: none;
	margin: 0;
	padding: 12px 0;
}

.io-crumbs li {
	color: var(--io-mute);
	margin: 0;
}

/* separator */
.io-crumbs li + li::before {
	content: "/";
	margin-right: 8px;
	color: #c3cad3;
}

.io-crumbs a {
	color: var(--io-navy);
	text-decoration: none;
}

.io-crumbs a:hover {
	text-decoration: underline;
}

.io-crumbs li[aria-current="page"] {
	color: var(--io-body);
}

/* ==========================================================================
   3. Shared shell
   ========================================================================== */
.io-inner {
	max-width: var(--io-max);
	margin: 0 auto;
	padding: 0 var(--io-s3);
}

.io-section {
	padding: var(--io-s7) 0;
}

.io-section--soft { background: var(--io-bg-soft); }
.io-section--cream { background: var(--io-bg-cream); }
.io-section--navy { background: var(--io-navy); }

/* directly under a page head: the head already provides the top space */
.io-section--tight { padding-top: var(--io-s6); }

/* Section heading: centered with a gold underline. */
.io-title {
	text-align: center;
	font-size: clamp(22px, 2.6vw, 28px);
	margin: 0 0 var(--io-s6);
	position: relative;
	padding-bottom: var(--io-s3);
}

.io-title::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 44px;
	height: 2px;
	background: var(--io-gold);
}

/* ==========================================================================
   4. Header (custom, no JS. Mobile menu uses the checkbox hack.)
   ========================================================================== */
.io-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--io-line);
}

.io-header__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 var(--io-s3);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--io-s3);
	min-height: 72px;
}

.io-logo {
	text-decoration: none;
	line-height: 1.3;
}

.io-logo__ja {
	display: block;
	font-family: var(--io-serif);
	font-size: 19px;
	font-weight: 700;
	color: var(--io-navy);
	letter-spacing: 0.06em;
}

.io-logo__en {
	display: block;
	font-size: 10px;
	letter-spacing: 0.18em;
	color: var(--io-mute);
}

.io-nav {
	display: flex;
	align-items: center;
	gap: var(--io-s4);
}

.io-nav ul {
	display: flex;
	align-items: center;
	gap: var(--io-s4);
	list-style: none;
	margin: 0;
	padding: 0;
}

.io-nav a {
	font-size: 13.5px;
	font-weight: 500;
	color: var(--io-ink);
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s ease;
}

.io-nav a:hover {
	color: var(--io-gold-600);
}

/* current page: a gold rule under the label rather than a colour swap,
   so the nav stays quiet while still telling you where you are */
.io-nav .is-current > a {
	color: var(--io-navy);
	position: relative;
}

.io-nav .is-current > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -6px;
	height: 2px;
	background: var(--io-gold);
}

/* Classes emitted by WordPress menus (Appearance > Menus) */
.io-nav .current-menu-item > a,
.io-nav .current_page_item > a {
	color: var(--io-navy);
	position: relative;
}

.io-nav .current-menu-item > a::after,
.io-nav .current_page_item > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -6px;
	height: 2px;
	background: var(--io-gold);
}

/* Contact button on the right of the header */
.io-header__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--io-navy);
	color: #fff !important;
	text-decoration: none;
	font-size: 13.5px;
	font-weight: 700;
	padding: 14px 22px;
	border-radius: 3px;
	transition: background-color 0.2s ease;
}

.io-header__cta:hover { background: var(--io-navy-700); }
.io-header__cta svg { width: 16px; height: 16px; fill: currentColor; }

/* CSS only hamburger */
.io-menu-toggle,
.io-menu-check { display: none; }

/* ==========================================================================
   5. Hero
   Copy on the left, photo on the right.
   The photo fills the right column top to bottom and out to the screen
   edge (absolute + object-fit:cover). Its left edge fades into white.
   One image only.
   ========================================================================== */
.io-hero {
	position: relative;
	background: linear-gradient(180deg, #ffffff 0%, #eef1f5 100%);
	overflow: hidden;
	min-height: clamp(540px, 70vh, 740px);
	display: flex;
	align-items: center;
}

/* Image layer: top/bottom/right = 0 so it reaches the edges. */
.io-hero__media {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	/* Right column width. 48-54vw works well. */
	width: 52vw;
	z-index: 0;
}

.io-hero__photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* Tune how the person is framed (x% y%). */
	object-position: 60% center;
	display: block;
}

/* Left edge fade: hides the seam between photo and white. */
.io-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(
		90deg,
		#eef1f5 0%,
		rgba(238, 241, 245, 0.75) 8%,
		rgba(238, 241, 245, 0) 22%
	);
}

/* Copy layer */
.io-hero__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: var(--io-s7) var(--io-s3);
}

/* Fixed width so the copy never slides under the photo. */
.io-hero__copy {
	max-width: 560px;
}

.io-hero__title {
	font-size: clamp(28px, 3.4vw, 42px);
	line-height: 1.55;
	letter-spacing: 0.01em;
	margin: 0 0 var(--io-s3);
	color: var(--io-navy);
}

.io-hero__text {
	font-size: 15px;
	line-height: 2;
	margin: 0 0 var(--io-s4);
	color: var(--io-ink);
}

/* Three round badges */
.io-badges {
	display: flex;
	gap: var(--io-s2);
	margin-bottom: var(--io-s5);
}

.io-badge {
	width: 116px;
	height: 116px;
	border-radius: 50%;
	background: var(--io-navy);
	color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	text-align: center;
	font-size: 11px;
	line-height: 1.5;
	padding: 8px;
	flex: 0 0 auto;
}

.io-badge svg {
	width: 22px;
	height: 22px;
	flex: 0 0 auto;
	fill: var(--io-gold);
}

/* Main CTA button */
.io-cta-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--io-navy);
	color: #fff !important;
	text-decoration: none;
	font-size: 15px;
	font-weight: 700;
	padding: 18px 28px;
	border-radius: 3px;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.io-cta-btn:hover {
	background: var(--io-navy-700);
	transform: translateY(-1px);
}

.io-cta-btn svg {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	fill: currentColor;
}

.io-cta-btn .io-arrow {
	margin-left: auto;
	padding-left: var(--io-s3);
}

/* ==========================================================================
   6. Stats bar
   ========================================================================== */
.io-stats {
	background: #fff;
	border-bottom: 1px solid var(--io-line);
	padding: var(--io-s5) 0;
}

.io-stats__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--io-s2);
	text-align: center;
}

.io-stat {
	padding: var(--io-s2);
	border-left: 1px solid var(--io-line);
}

.io-stat:first-child { border-left: 0; }

.io-stat__num {
	font-family: var(--io-serif);
	font-size: clamp(30px, 3.6vw, 42px);
	font-weight: 700;
	color: var(--io-navy);
	line-height: 1.1;
	display: block;
	margin-bottom: 6px;
}

.io-stat__num small {
	font-size: 0.45em;
	margin-left: 2px;
}

.io-stat__label {
	font-size: 13px;
	color: var(--io-body);
	margin: 0;
	line-height: 1.7;
}

.io-stat svg {
	width: 30px;
	height: 30px;
	fill: var(--io-navy);
	margin-bottom: var(--io-s2);
}

/* ==========================================================================
   7. Card grids (services / strengths / works / flow)
   ========================================================================== */
.io-grid {
	display: grid;
	gap: var(--io-s3);
}

.io-grid--5 { grid-template-columns: repeat(5, 1fr); }
.io-grid--4 { grid-template-columns: repeat(4, 1fr); }
.io-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* Service card */
.io-card {
	background: #fff;
	border: 1px solid var(--io-line);
	border-radius: var(--io-radius);
	padding: var(--io-s4) var(--io-s3);
	text-align: center;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.io-card:hover {
	box-shadow: 0 12px 32px rgba(18, 48, 85, 0.08);
	transform: translateY(-2px);
}

.io-card__icon {
	display: block;
	width: 40px;
	height: 40px;
	margin: 0 auto var(--io-s3);
	fill: var(--io-navy);
}

.io-card h3 {
	font-size: 15px;
	margin: 0 0 var(--io-s2);
}

.io-card p {
	font-size: 13px;
	line-height: 1.9;
	margin: 0;
}

/* Strength item: no border, gold icon */
.io-strength {
	text-align: center;
	padding: 0 var(--io-s2);
}

.io-strength__icon {
	display: block;
	width: 38px;
	height: 38px;
	margin: 0 auto var(--io-s3);
	fill: var(--io-gold);
}

.io-strength h3 {
	font-size: 15px;
	margin: 0 0 var(--io-s2);
}

.io-strength p {
	font-size: 13px;
	line-height: 1.9;
	margin: 0;
}

/* ==========================================================================
   8. Client logos
   ========================================================================== */
.io-works__head {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	margin-bottom: var(--io-s6);
}

.io-works__more {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid var(--io-line);
	background: #fff;
	border-radius: 3px;
	padding: 12px 18px;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--io-navy);
	text-decoration: none;
	transition: border-color 0.2s ease;
}

.io-works__more:hover { border-color: var(--io-navy); }

/* --------------------------------------------------------------
   Client logo grid: 5 x 2, static.
   Ordered by brand recognition in the markup, so the strongest
   logos always land where the eye arrives first.
   Logos are shown in full colour: recognition has to be instant,
   and a hover-to-reveal treatment hides the proof on touch devices
   and from anyone who never happens to hover.
   -------------------------------------------------------------- */
.io-logos {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: var(--io-s2);
}

.io-logo-cell {
	border: 1px solid var(--io-line);
	border-radius: var(--io-radius);
	background: #fff;
	min-height: 132px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--io-s3);
	transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.io-logo-cell:hover {
	border-color: #d5dae1;
	box-shadow: 0 10px 26px rgba(18, 48, 85, 0.07);
	transform: translateY(-2px);
}

/* Logo files include the company name, so let them fill the cell. */
.io-logo-cell img {
	width: 100%;
	max-height: 96px;
	object-fit: contain;
}

/* Disclaimer under the logo grid.
   Quieter than the logos: small, grey, left-aligned, with a clear
   gap above so it reads as a footnote rather than a claim. */
.io-disclaimer {
	margin: var(--io-s4) auto 0;
	max-width: 960px;
	font-size: 12.5px;
	line-height: 1.85;
	color: #6d7379;
	text-align: left;
}

/* ==========================================================================
   9. Profile
   ========================================================================== */
.io-profile {
	display: grid;
	grid-template-columns: 300px 1fr;
	gap: var(--io-s5);
	align-items: start;
	background: var(--io-bg-soft);
	padding: var(--io-s5);
	border-radius: var(--io-radius);
}

.io-profile__photo {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	border-radius: var(--io-radius);
	background: #dfe3e8;
	display: block;
}

.io-profile h2 {
	font-size: 20px;
	margin: 0 0 var(--io-s3);
}

.io-profile__name {
	font-family: var(--io-serif);
	font-size: 22px;
	font-weight: 700;
	color: var(--io-navy);
	margin: 0 0 4px;
}

.io-profile__role {
	font-size: 13px;
	color: var(--io-mute);
	margin: 0 0 var(--io-s3);
}

.io-profile__text {
	font-size: 13.5px;
	line-height: 2;
	margin: 0 0 var(--io-s4);
}

.io-history {
	background: #fff;
	border: 1px solid var(--io-line);
	border-radius: var(--io-radius);
	padding: var(--io-s3);
}

.io-history h3 {
	font-size: 14px;
	margin: 0 0 var(--io-s2);
}

.io-history dl {
	display: grid;
	grid-template-columns: 110px 1fr;
	gap: 6px var(--io-s2);
	margin: 0;
	font-size: 12.5px;
}

.io-history dt {
	color: var(--io-navy);
	font-weight: 700;
	margin: 0;
}

.io-history dd { margin: 0; }

/* ==========================================================================
   9.5 Page head (lower pages)
   ========================================================================== */
.io-pagehead {
	background: linear-gradient(180deg, #ffffff 0%, var(--io-bg-soft) 100%);
	border-bottom: 1px solid var(--io-line);
	padding: var(--io-s6) 0;
	text-align: center;
}

.io-pagehead__title {
	font-size: clamp(24px, 3vw, 34px);
	margin: 0 0 var(--io-s1);
}

.io-pagehead__en {
	font-size: 11px;
	letter-spacing: 0.18em;
	color: var(--io-mute);
	margin: 0;
}

/* --------------------------------------------------------------
   Public appointments.
   Third-party endorsement is the strongest trust signal a
   consultant has, so it gets a gold marker rather than a bullet.
   -------------------------------------------------------------- */
.io-cred {
	list-style: none;
	margin: var(--io-s3) 0 0;
	padding: 0;
}

.io-cred li {
	position: relative;
	padding-left: 18px;
	font-size: 13px;
	line-height: 1.9;
	color: var(--io-body);
}

.io-cred li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.75em;
	width: 6px;
	height: 6px;
	background: var(--io-gold);
	transform: rotate(45deg);
}

.io-profile__more {
	margin: var(--io-s4) 0 0;
}

.io-profile__more a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid var(--io-line);
	background: #fff;
	border-radius: 3px;
	padding: 13px 22px;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--io-navy);
	text-decoration: none;
	transition: border-color 0.2s ease;
}

.io-profile__more a:hover {
	border-color: var(--io-navy);
}

.io-profile__more span {
	color: var(--io-gold);
	font-size: 15px;
}

.io-profile__sign {
	text-align: right;
	font-weight: 700;
	color: var(--io-navy);
	font-size: 14px;
	line-height: 1.8;
	margin: var(--io-s4) 0 0;
}

/* --------------------------------------------------------------
   Career / appointments, two columns
   -------------------------------------------------------------- */
.io-career {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: var(--io-s3);
	align-items: start;
	max-width: 960px;
	margin: 0 auto;
}

/* --------------------------------------------------------------
   Company info table
   -------------------------------------------------------------- */
.io-table {
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
	border-collapse: collapse;
	border: 1px solid var(--io-line);
	font-size: 14px;
}

.io-table th,
.io-table td {
	border: 1px solid var(--io-line);
	padding: var(--io-s3);
	text-align: left;
	vertical-align: top;
	line-height: 1.9;
}

.io-table th {
	width: 26%;
	background: var(--io-navy);
	color: #fff;
	font-weight: 700;
	white-space: nowrap;
}

.io-table td {
	background: #fff;
}

.io-table a {
	color: var(--io-navy);
	font-weight: 700;
}

/* --------------------------------------------------------------
   Partners
   -------------------------------------------------------------- */
.io-partners {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--io-s3);
}

.io-partner {
	background: #fff;
	border: 1px solid var(--io-line);
	border-radius: var(--io-radius);
	padding: var(--io-s4);
}

.io-partner__name {
	font-size: 18px;
	margin: 0 0 4px;
}

.io-partner__role {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--io-gold-600);
	margin: 0 0 var(--io-s3);
	padding-bottom: var(--io-s2);
	border-bottom: 1px solid var(--io-line);
}

.io-partner p {
	font-size: 13px;
	line-height: 1.9;
	margin: 0 0 var(--io-s2);
}

.io-partner p:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   9.7 Works page: business areas / issues / case studies
   ========================================================================== */

/* --------------------------------------------------------------
   Business areas. Numbered rows in two columns.
   Numbers imply a catalogue of capabilities rather than a ranking,
   which is what seven equal services need.
   -------------------------------------------------------------- */
.io-biz {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--io-s3);
	max-width: 960px;
	margin: 0 auto;
}

.io-biz__item {
	display: flex;
	gap: var(--io-s3);
	background: #fff;
	border: 1px solid var(--io-line);
	border-radius: var(--io-radius);
	padding: var(--io-s4);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.io-biz__item:hover {
	box-shadow: 0 12px 32px rgba(18, 48, 85, 0.07);
	transform: translateY(-2px);
}

.io-biz__no {
	flex: 0 0 auto;
	font-family: var(--io-serif);
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
	color: var(--io-gold);
	padding-top: 2px;
}

.io-biz__item h3 {
	font-size: 16px;
	margin: 0 0 var(--io-s2);
}

.io-biz__item p {
	font-size: 13px;
	line-height: 1.9;
	margin: 0;
}

/* --------------------------------------------------------------
   Issue checklist.
   This is where a visitor recognises themselves, so the items are
   set as statements with a check mark rather than sales copy.
   -------------------------------------------------------------- */
.io-issues {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--io-s2);
	max-width: 900px;
	margin: 0 auto;
	padding: 0;
}

.io-issues li {
	position: relative;
	background: #fff;
	border-radius: var(--io-radius);
	padding: var(--io-s3) var(--io-s3) var(--io-s3) 48px;
	font-size: 13.5px;
	line-height: 1.8;
	color: var(--io-ink);
}

/* check mark drawn in CSS: no icon font, no image.
   `top` on an absolutely positioned element is measured from the
   padding box, i.e. above the li's own padding. Adding that padding
   back, plus half a line, lands the mark on the first line's centre
   whether the item runs to one line or two. */
.io-issues li::before {
	content: "";
	position: absolute;
	left: 20px;
	top: calc(var(--io-s3) + 0.9em); /* 0.9em = half of line-height 1.8 */
	width: 11px;
	height: 6px;
	border-left: 2px solid var(--io-gold);
	border-bottom: 2px solid var(--io-gold);
	transform: translateY(-50%) rotate(-45deg);
}

.io-issues__note {
	text-align: center;
	font-size: 14px;
	margin: var(--io-s5) 0 0;
}

.io-issues__note strong {
	color: var(--io-navy);
}

.io-issues__cta {
	text-align: center;
	margin: var(--io-s4) 0 0;
}

/* --------------------------------------------------------------
   Case studies.
   Concrete project names are the strongest proof this business has,
   so they get room to breathe instead of being compressed.
   -------------------------------------------------------------- */
.io-case {
	max-width: 900px;
	margin: 0 auto var(--io-s5);
	border: 1px solid var(--io-line);
	border-radius: var(--io-radius);
	background: #fff;
	padding: var(--io-s5);
}

.io-case:last-child {
	margin-bottom: 0;
}

.io-case__head {
	border-bottom: 2px solid var(--io-navy);
	padding-bottom: var(--io-s2);
	margin-bottom: var(--io-s3);
}

.io-case__title {
	font-size: 20px;
	margin: 0;
	letter-spacing: 0.06em;
}

.io-case__lead {
	font-size: 13.5px;
	line-height: 1.9;
	margin: 0 0 var(--io-s4);
}

.io-case__list {
	list-style: none;
	margin: 0;
	padding: 0;
	columns: 2;
	column-gap: var(--io-s5);
}

.io-case__list li {
	position: relative;
	padding-left: 18px;
	margin-bottom: var(--io-s2);
	font-size: 13px;
	line-height: 1.8;
	break-inside: avoid;
}

.io-case__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.7em;
	width: 6px;
	height: 6px;
	background: var(--io-gold);
	transform: rotate(45deg);
}

/* ==========================================================================
   9.8 Method page: the 12 principles
   Long-form reading, so these are wide rows rather than cards.
   The gold number is the only ornament; everything else is typography.
   ========================================================================== */
.io-rule {
	max-width: 800px;
	margin: 0 auto var(--io-s5);
	background: #fff;
	border: 1px solid var(--io-line);
	border-radius: var(--io-radius);
	padding: var(--io-s5);
}

.io-rule:last-child {
	margin-bottom: 0;
}

.io-rule__head {
	display: flex;
	align-items: baseline;
	gap: var(--io-s3);
	border-bottom: 1px solid var(--io-line);
	padding-bottom: var(--io-s3);
	margin-bottom: var(--io-s3);
}

.io-rule__no {
	flex: 0 0 auto;
	font-family: var(--io-serif);
	font-size: 28px;
	font-weight: 700;
	line-height: 1;
	color: var(--io-gold);
}

.io-rule__title {
	flex: 1 1 auto;
	font-size: 18px;
	line-height: 1.6;
	margin: 0;
}

.io-rule p {
	font-size: 14px;
	line-height: 2;
	margin: 0 0 var(--io-s3);
}

.io-rule p:last-child {
	margin-bottom: 0;
}

/* worked example: set apart so the principle and the proof read separately */
.io-rule__case {
	background: var(--io-bg-soft);
	border-left: 3px solid var(--io-gold);
	border-radius: 0 4px 4px 0;
	padding: var(--io-s3);
	font-size: 13px !important;
	line-height: 1.9 !important;
}

.io-rule__case strong {
	color: var(--io-navy);
}

/* --------------------------------------------------------------
   Closing statement
   -------------------------------------------------------------- */
.io-closing {
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}

.io-closing p {
	font-size: 15px;
	line-height: 2.1;
	margin: 0 0 var(--io-s5);
}

.io-closing__creed {
	font-family: var(--io-serif);
	font-size: clamp(20px, 2.6vw, 26px) !important;
	font-weight: 700;
	color: var(--io-navy);
	line-height: 1.8 !important;
	padding: var(--io-s4) 0;
	border-top: 1px solid var(--io-line);
	border-bottom: 1px solid var(--io-line);
}

.io-closing__sign {
	font-size: 13px !important;
	font-weight: 700;
	color: var(--io-navy);
	margin-bottom: 0 !important;
}

/* --------------------------------------------------------------
   Promo band (navy). Used on the front page to lead into /method/.
   -------------------------------------------------------------- */
.io-promo {
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}

.io-promo__eyebrow {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.2em;
	color: var(--io-gold);
	margin: 0 0 var(--io-s2);
}

.io-promo__title {
	color: #fff;
	font-size: clamp(22px, 2.8vw, 30px);
	margin: 0 0 var(--io-s3);
}

.io-promo__text {
	color: rgba(255, 255, 255, 0.8);
	font-size: 14px;
	line-height: 2;
	margin: 0 0 var(--io-s5);
}

.io-promo__btn {
	margin: 0;
}

.io-promo__btn a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: #fff;
	color: var(--io-navy);
	text-decoration: none;
	font-size: 14px;
	font-weight: 700;
	padding: 16px 32px;
	border-radius: 3px;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.io-promo__btn a:hover {
	background: #eef1f5;
	transform: translateY(-1px);
}

.io-promo__btn span {
	color: var(--io-gold-600);
	font-size: 16px;
}

/* --------------------------------------------------------------
   YouTube embed. Lazy iframe, no JS.
   The width/height attributes on the iframe only set the intrinsic
   size; without this block it renders as a raw inline element and
   sits left, not centred.
   -------------------------------------------------------------- */
.io-video {
	max-width: 880px;
	margin: var(--io-s5) auto 0;
	border-radius: var(--io-radius);
	overflow: hidden;
	background: #000;
	box-shadow: 0 14px 40px rgba(18, 48, 85, 0.12);
}

.io-video iframe {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	border: 0;
}

/* --------------------------------------------------------------
   Singing consultant section (company page).
   Prose, centred, no ornament. The content is personal enough that
   any styling flourish would make it read as a gimmick.
   -------------------------------------------------------------- */
.io-song {
	max-width: 760px;
	margin: 0 auto;
}

.io-song p {
	font-size: 14.5px;
	line-height: 2.1;
	margin: 0 0 var(--io-s4);
}

.io-song p:last-child {
	margin-bottom: 0;
}

.io-song strong {
	color: var(--io-navy);
}

/* --------------------------------------------------------------
   Detailed case study blocks (works page)
   -------------------------------------------------------------- */
.io-detail {
	max-width: 860px;
	margin: 0 auto;
}

.io-detail__block {
	background: #fff;
	border: 1px solid var(--io-line);
	border-radius: var(--io-radius);
	padding: var(--io-s5);
	margin-bottom: var(--io-s3);
}

.io-detail__block:last-child {
	margin-bottom: 0;
}

.io-detail__title {
	font-size: 17px;
	margin: 0 0 var(--io-s3);
	padding-bottom: var(--io-s2);
	border-bottom: 2px solid var(--io-navy);
}

.io-detail__lead {
	font-size: 14px;
	line-height: 2;
	margin: 0 0 var(--io-s3);
}

.io-detail__list {
	margin: 0;
}

.io-detail__list dt {
	font-size: 14px;
	font-weight: 700;
	color: var(--io-navy);
	margin: var(--io-s3) 0 6px;
}

.io-detail__list dt:first-child {
	margin-top: 0;
}

.io-detail__list dd {
	margin: 0;
	font-size: 13px;
	line-height: 1.95;
	padding-left: var(--io-s2);
	border-left: 2px solid var(--io-line);
}

.io-detail__ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.io-detail__ul li {
	position: relative;
	padding-left: 18px;
	margin-bottom: var(--io-s2);
	font-size: 13px;
	line-height: 1.9;
}

.io-detail__ul li:last-child {
	margin-bottom: 0;
}

.io-detail__ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.7em;
	width: 6px;
	height: 6px;
	background: var(--io-gold);
	transform: rotate(45deg);
}

/* --------------------------------------------------------------
   Media coverage list.
   Text only: publication, date and headline are statements of fact
   and need no permission, unlike a scan of the article itself.
   -------------------------------------------------------------- */
.io-media {
	list-style: none;
	max-width: 860px;
	margin: 0 auto;
	padding: 0;
	border-top: 1px solid var(--io-line);
}

.io-media__item {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: var(--io-s2) var(--io-s3);
	padding: var(--io-s3) var(--io-s2);
	border-bottom: 1px solid var(--io-line);
}

.io-media__date {
	flex: 0 0 auto;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--io-mute);
	letter-spacing: 0.06em;
	font-variant-numeric: tabular-nums;
}

.io-media__name {
	flex: 0 0 auto;
	font-size: 12px;
	font-weight: 700;
	color: #fff;
	background: var(--io-navy);
	border-radius: 2px;
	padding: 4px 10px;
	white-space: nowrap;
}

.io-media__title {
	flex: 1 1 240px;
	font-size: 13.5px;
	line-height: 1.8;
	color: var(--io-ink);
}

/* ==========================================================================
   9.9 Contact page and Contact Form 7
   CF7 ships unstyled, so every control is restyled here. The markup
   hooks are the plugin's own class names (wpcf7-*) plus the io-form
   wrappers written in the form template.
   ========================================================================== */

/* --------------------------------------------------------------
   Phone block. Placed above the form because part of this
   audience will simply call rather than type.
   -------------------------------------------------------------- */
.io-contact-tel {
	max-width: 460px;
	margin: 0 auto;
	text-align: center;
	border: 1px solid var(--io-line);
	border-radius: var(--io-radius);
	background: #fff;
	padding: var(--io-s4);
}

.io-contact-tel__label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: var(--io-mute);
	margin: 0 0 var(--io-s1);
}

.io-contact-tel__num {
	display: inline-block;
	font-family: var(--io-serif);
	font-size: clamp(28px, 4vw, 36px);
	font-weight: 700;
	color: var(--io-navy);
	text-decoration: none;
	line-height: 1.2;
	letter-spacing: 0.02em;
}

.io-contact-tel__note {
	font-size: 12px;
	color: var(--io-mute);
	margin: var(--io-s1) 0 0;
}

/* --------------------------------------------------------------
   Form shell
   -------------------------------------------------------------- */
.io-form-wrap {
	max-width: 720px;
	margin: 0 auto;
	background: #fff;
	border: 1px solid var(--io-line);
	border-radius: var(--io-radius);
	padding: var(--io-s5);
}

/* CF7 runs wpautop over the form, which can leave stray paragraphs */
.io-form p {
	margin: 0;
}

.io-form__row {
	margin-bottom: var(--io-s4);
}

.io-form__cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--io-s3);
}

.io-form__label {
	display: flex;
	align-items: center;
	gap: var(--io-s2);
	font-size: 13.5px;
	font-weight: 700;
	color: var(--io-ink);
	margin-bottom: var(--io-s2);
}

.io-form__req {
	flex: 0 0 auto;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	color: #fff;
	background: var(--io-gold);
	border-radius: 2px;
	padding: 3px 7px;
}

/* --------------------------------------------------------------
   Controls
   -------------------------------------------------------------- */
.io-form input[type="text"],
.io-form input[type="email"],
.io-form input[type="tel"],
.io-form select,
.io-form textarea {
	width: 100%;
	font-family: inherit;
	font-size: 15px; /* keep close to 16px: iOS zooms in on smaller inputs */
	line-height: 1.7;
	color: var(--io-ink);
	background: #fff;
	border: 1px solid #d3d8de;
	border-radius: 4px;
	padding: 13px 14px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
}

.io-form textarea {
	resize: vertical;
	min-height: 160px;
}

/* native arrow is removed by appearance:none, so draw one */
.io-form select {
	background-image: linear-gradient(45deg, transparent 50%, var(--io-navy) 50%),
		linear-gradient(135deg, var(--io-navy) 50%, transparent 50%);
	background-position: calc(100% - 20px) 51%, calc(100% - 14px) 51%;
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
	padding-right: 40px;
	cursor: pointer;
}

.io-form input:focus,
.io-form select:focus,
.io-form textarea:focus {
	outline: 0;
	border-color: var(--io-navy);
	box-shadow: 0 0 0 3px rgba(18, 48, 85, 0.1);
}

.io-form ::placeholder {
	color: #a8b0ba;
}

.io-form__privacy {
	font-size: 12px;
	color: var(--io-mute);
	line-height: 1.8;
	text-align: center;
	margin: 0 0 var(--io-s4) !important;
	padding-top: var(--io-s3);
	border-top: 1px solid var(--io-line);
}

/* --------------------------------------------------------------
   Submit
   -------------------------------------------------------------- */
.io-form__submit {
	text-align: center;
}

.io-form input[type="submit"] {
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	color: #fff;
	background: var(--io-navy);
	border: 1px solid var(--io-navy);
	border-radius: 3px;
	padding: 18px 56px;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
}

.io-form input[type="submit"]:hover {
	background: var(--io-navy-700);
	transform: translateY(-1px);
}

.io-form input[type="submit"]:disabled {
	opacity: 0.55;
	cursor: default;
	transform: none;
}

/* --------------------------------------------------------------
   Validation and response messages
   -------------------------------------------------------------- */
.wpcf7 form .wpcf7-response-output {
	margin: var(--io-s4) 0 0;
	padding: var(--io-s3);
	border-width: 1px;
	border-radius: 4px;
	font-size: 13.5px;
	line-height: 1.8;
	text-align: center;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: var(--io-navy);
	background: rgba(18, 48, 85, 0.05);
	color: var(--io-navy);
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
	border-color: #c0392b;
	background: rgba(192, 57, 43, 0.05);
	color: #a5301f;
}

.wpcf7-not-valid-tip {
	display: block;
	font-size: 12px;
	font-weight: 700;
	color: #c0392b;
	margin-top: 6px;
}

.io-form .wpcf7-not-valid {
	border-color: #c0392b;
}

.wpcf7-spinner {
	margin: 0 0 0 12px;
}

/* --------------------------------------------------------------
   Partner photo. Fixed square box + object-fit:cover crops every
   supplied image to the same circle regardless of its original
   aspect ratio, so the four cards stay visually even.
   -------------------------------------------------------------- */
.io-partner__photo {
	width: 96px;
	height: 96px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--io-bg-soft);
	margin-bottom: var(--io-s3);
	border: 1px solid var(--io-line);
}

.io-partner__photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 20%; /* bias toward the face */
	display: block;
}

/* Arisaka's photo needs a lower crop point */
.io-partner__photo--arisaka img {
	object-position: center 70%;
}

/* no photo supplied: quiet monogram-less placeholder */
.io-partner__photo--none {
	position: relative;
}

.io-partner__photo--none::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 46%;
	transform: translate(-50%, -50%);
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #d8dde3;
	box-shadow: 0 22px 0 -4px #d8dde3;
}

/* --------------------------------------------------------------
   Partner website link
   -------------------------------------------------------------- */
.io-partner__link {
	margin: var(--io-s3) 0 0 !important;
	padding-top: var(--io-s3);
	border-top: 1px solid var(--io-line);
}

.io-partner__link a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--io-navy);
	text-decoration: none;
}

.io-partner__link a span {
	color: var(--io-gold);
	font-size: 15px;
	transition: transform 0.2s ease;
}

.io-partner__link a:hover span {
	transform: translateX(3px);
}

/* --------------------------------------------------------------
   Project cases (works page).
   Issue / proposal / result / role as a definition list.
   The result row is tinted so the outcome reads at a glance.
   -------------------------------------------------------------- */
.io-projects {
	max-width: 900px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: var(--io-s4);
}

.io-project {
	background: #fff;
	border: 1px solid var(--io-line);
	border-radius: var(--io-radius);
	overflow: hidden;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.io-project:hover {
	box-shadow: 0 12px 32px rgba(18, 48, 85, 0.08);
	transform: translateY(-2px);
}

.io-project__head {
	display: flex;
	align-items: center;
	gap: var(--io-s3);
	background: var(--io-navy);
	padding: var(--io-s3) var(--io-s4);
}

.io-project__no {
	flex: 0 0 auto;
	font-family: var(--io-serif);
	font-size: 26px;
	font-weight: 700;
	line-height: 1;
	color: var(--io-gold);
}

.io-project__title {
	color: #fff;
	font-size: 16px;
	line-height: 1.5;
	margin: 0 0 2px;
}

.io-project__client {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.7);
	margin: 0;
}

.io-project__body {
	display: grid;
	grid-template-columns: 84px 1fr;
	gap: 0;
	margin: 0;
	padding: var(--io-s3) var(--io-s4);
}

.io-project__body dt {
	grid-column: 1;
	font-size: 12px;
	font-weight: 700;
	color: var(--io-mute);
	padding: var(--io-s2) 0;
	border-top: 1px solid var(--io-line);
}

.io-project__body dd {
	grid-column: 2;
	font-size: 13.5px;
	line-height: 1.9;
	margin: 0;
	padding: var(--io-s2) 0 var(--io-s2) var(--io-s3);
	border-top: 1px solid var(--io-line);
}

/* first row has no top border */
.io-project__body dt:first-of-type,
.io-project__body dt:first-of-type + dd {
	border-top: 0;
}

/* result row tinted gold */
.io-project__result-dt {
	color: var(--io-gold-600) !important;
}

.io-project__result-dd {
	color: var(--io-ink);
	font-weight: 500;
}

/* ==========================================================================
   10. Consultation flow
   ========================================================================== */
.io-flow {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: var(--io-s2);
	align-items: start;
}

.io-step {
	position: relative;
	text-align: center;
	padding: 0 var(--io-s2);
}

/* Gold arrow drawn with a pseudo element. No image. */
.io-step:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 26px;
	right: -8px;
	width: 10px;
	height: 10px;
	border-top: 2px solid var(--io-gold);
	border-right: 2px solid var(--io-gold);
	transform: rotate(45deg);
}

.io-step__icon {
	display: block;
	width: 36px;
	height: 36px;
	margin: 0 auto var(--io-s3);
	fill: var(--io-navy);
}

.io-step h3 {
	font-size: 13.5px;
	margin: 0 0 6px;
}

.io-step p {
	font-size: 12px;
	line-height: 1.8;
	margin: 0;
	color: var(--io-mute);
}

/* ==========================================================================
   10.5 News list (rendered by the [io_news] shortcode)
   Date and title on one row, ruled like a document rather than boxed
   like a card. Keeps the section quiet so it does not compete with
   the CTA that follows it.
   ========================================================================== */
.io-news {
	list-style: none;
	margin: 0 auto;
	padding: 0;
	max-width: 860px;
	border-top: 1px solid var(--io-line);
}

.io-news__item {
	border-bottom: 1px solid var(--io-line);
}

.io-news__link {
	display: flex;
	align-items: center;
	gap: var(--io-s3);
	padding: var(--io-s3) var(--io-s2);
	text-decoration: none;
	color: var(--io-ink);
	transition: background-color 0.2s ease, padding-left 0.2s ease;
}

.io-news__link:hover {
	background: var(--io-bg-soft);
	padding-left: var(--io-s3);
}

.io-news__date {
	flex: 0 0 auto;
	font-size: 13px;
	font-weight: 700;
	color: var(--io-mute);
	letter-spacing: 0.06em;
	font-variant-numeric: tabular-nums;
}

.io-news__title {
	flex: 1 1 auto;
	font-size: 15px;
	line-height: 1.7;
}

.io-news__link:hover .io-news__title {
	color: var(--io-navy);
}

.io-news__arrow {
	flex: 0 0 auto;
	color: var(--io-gold);
	font-size: 18px;
	line-height: 1;
	transition: transform 0.2s ease;
}

.io-news__link:hover .io-news__arrow {
	transform: translateX(3px);
}

/* "no posts yet" fallback */
.io-news-empty {
	text-align: center;
	color: var(--io-mute);
	font-size: 14px;
	margin: 0;
}

/* archive link under the list */
.io-news-more {
	text-align: center;
	margin-top: var(--io-s5);
}

.io-news-more a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	border: 1px solid var(--io-line);
	background: #fff;
	border-radius: 3px;
	padding: 14px 26px;
	font-size: 13px;
	font-weight: 700;
	color: var(--io-navy);
	text-decoration: none;
	transition: border-color 0.2s ease;
}

.io-news-more a:hover {
	border-color: var(--io-navy);
}

/* ==========================================================================
   10.6 Archive list (home.php / archive.php via io_archive_list())
   One post per row: date, title, short excerpt, optional thumbnail.
   Rows rather than a grid, because a handful of news items in a
   3-column grid reads as empty. The whole row is the link target.
   ========================================================================== */
.io-archive .io-title {
	margin-bottom: var(--io-s6);
}

.io-posts {
	max-width: 900px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: var(--io-s3);
}

.io-post {
	border: 1px solid var(--io-line);
	border-radius: var(--io-radius);
	background: #fff;
	overflow: hidden;
	transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.io-post:hover {
	border-color: #d5dae1;
	box-shadow: 0 12px 32px rgba(18, 48, 85, 0.08);
	transform: translateY(-2px);
}

/* the entire row is clickable */
.io-post__link {
	display: flex;
	gap: var(--io-s4);
	text-decoration: none;
	color: inherit;
	padding: var(--io-s4);
}

.io-post__thumb {
	flex: 0 0 200px;
	border-radius: 4px;
	overflow: hidden;
	background: var(--io-bg-soft);
}

.io-post__thumb img {
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
}

.io-post__body {
	flex: 1 1 auto;
	min-width: 0;
}

.io-post__date {
	display: block;
	font-size: 12px;
	font-weight: 700;
	color: var(--io-mute);
	letter-spacing: 0.08em;
	font-variant-numeric: tabular-nums;
	margin-bottom: var(--io-s1);
}

.io-post__title {
	font-size: 19px;
	line-height: 1.6;
	margin: 0 0 var(--io-s2);
	transition: color 0.2s ease;
}

.io-post__excerpt {
	font-size: 13.5px;
	line-height: 1.9;
	color: var(--io-body);
	margin: 0 0 var(--io-s3);
}

.io-post__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	font-weight: 700;
	color: var(--io-navy);
}

.io-post__more span {
	color: var(--io-gold);
	font-size: 15px;
	transition: transform 0.2s ease;
}

.io-post__link:hover .io-post__more span {
	transform: translateX(3px);
}

/* --------------------------------------------------------------
   Pagination
   -------------------------------------------------------------- */
.io-archive .navigation.pagination {
	margin-top: var(--io-s6);
}

.io-archive .nav-links {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: var(--io-s1);
}

.io-archive .nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 var(--io-s2);
	border: 1px solid var(--io-line);
	border-radius: 3px;
	background: #fff;
	color: var(--io-navy);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.io-archive .nav-links .page-numbers:hover {
	border-color: var(--io-navy);
}

.io-archive .nav-links .page-numbers.current {
	background: var(--io-navy);
	border-color: var(--io-navy);
	color: #fff;
}

.io-archive .nav-links .page-numbers.dots {
	border-color: transparent;
	background: none;
}

/* screen-reader-only pagination heading */
.io-archive .pagination .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ==========================================================================
   10.7 Single post (news article)
   GeneratePress outputs the post inside .site-content with no width
   constraint here, so the article is centered and given breathing room,
   and the block-editor headings/lists are styled to read like an article.
   ========================================================================== */

/* center the article column and give it document-like width.
   !important is required on the padding because the base rule
   .site-content { padding:0 !important } (top-page layout) would
   otherwise win at equal specificity and flatten the side gutters. */
.single .site-content,
.blog .site-content,
.archive .site-content {
	padding: var(--io-s7) var(--io-s4) var(--io-s7) !important;
}

.single .content-area,
.single .site-main,
.blog .site-main,
.archive .site-main {
	max-width: 820px;
	margin: 0 auto !important;
}

.single .inside-article {
	padding: 0;
}

/* --- article header --- */
.single .entry-header {
	margin-bottom: var(--io-s5);
	padding-bottom: var(--io-s4);
	border-bottom: 1px solid var(--io-line);
}

.single .entry-title {
	font-size: clamp(24px, 3vw, 34px);
	line-height: 1.5;
	color: var(--io-navy);
	margin: 0 0 var(--io-s3);
}

.single .entry-meta {
	font-size: 13px;
	color: var(--io-mute);
}

.single .entry-meta .posted-on time {
	font-weight: 700;
	letter-spacing: 0.06em;
	font-variant-numeric: tabular-nums;
}

/* --- article body --- */
.single .entry-content {
	font-size: 15.5px;
	line-height: 2;
	color: var(--io-body);
}

.single .entry-content > * {
	margin-top: 0;
	margin-bottom: var(--io-s4);
}

.single .entry-content > *:last-child {
	margin-bottom: 0;
}

/* the editor sometimes wraps a lead image in an h1; neutralize that.
   only the FIRST h1 in the content is treated as a figure wrapper. */
.single .entry-content h1 {
	font-size: 24px;
	line-height: 1.5;
	color: var(--io-navy);
	margin: var(--io-s6) 0 var(--io-s3);
	font-family: var(--io-serif);
}

.single .entry-content h1 img {
	border-radius: var(--io-radius);
	display: block;
}

/* h2: section heading with a gold left rule */
.single .entry-content h2 {
	font-size: clamp(19px, 2.2vw, 23px);
	line-height: 1.55;
	color: var(--io-navy);
	margin: var(--io-s6) 0 var(--io-s3);
	padding-left: var(--io-s3);
	border-left: 4px solid var(--io-gold);
}

/* h3: quieter, underlined */
.single .entry-content h3 {
	font-size: 17px;
	line-height: 1.6;
	color: var(--io-ink);
	margin: var(--io-s5) 0 var(--io-s2);
	padding-bottom: var(--io-s1);
	border-bottom: 1px solid var(--io-line);
}

/* h4 */
.single .entry-content h4 {
	font-size: 15.5px;
	line-height: 1.6;
	color: var(--io-navy);
	margin: var(--io-s4) 0 var(--io-s2);
}

.single .entry-content p {
	margin: 0 0 var(--io-s4);
}

.single .entry-content a {
	color: var(--io-navy);
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: var(--io-gold);
}

.single .entry-content a:hover {
	color: var(--io-gold-600);
}

.single .entry-content strong {
	color: var(--io-ink);
	font-weight: 700;
}

/* lists */
.single .entry-content ul,
.single .entry-content ol {
	margin: 0 0 var(--io-s4);
	padding-left: 0;
	list-style: none;
}

.single .entry-content ul li,
.single .entry-content ol li {
	position: relative;
	padding-left: 28px;
	margin-bottom: var(--io-s2);
	line-height: 1.9;
}

/* ul: gold diamond marker */
.single .entry-content ul li::before {
	content: "";
	position: absolute;
	left: 6px;
	top: 0.85em;
	width: 7px;
	height: 7px;
	background: var(--io-gold);
	transform: rotate(45deg);
}

/* ol: gold numbers */
.single .entry-content ol {
	counter-reset: io-ol;
}

.single .entry-content ol li {
	counter-increment: io-ol;
}

.single .entry-content ol li::before {
	content: counter(io-ol);
	position: absolute;
	left: 0;
	top: 0.15em;
	width: 20px;
	height: 20px;
	background: var(--io-navy);
	color: #fff;
	border-radius: 50%;
	font-size: 12px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.single .entry-content li ul,
.single .entry-content li ol {
	margin: var(--io-s2) 0 0;
}

/* blockquote */
.single .entry-content blockquote {
	margin: 0 0 var(--io-s4);
	padding: var(--io-s3) var(--io-s4);
	background: var(--io-bg-soft);
	border-left: 4px solid var(--io-gold);
	border-radius: 0 4px 4px 0;
	color: var(--io-ink);
}

.single .entry-content blockquote p:last-child {
	margin-bottom: 0;
}

/* images in content */
.single .entry-content img {
	height: auto;
}

.single .entry-content figure {
	margin: 0 0 var(--io-s4);
}

.single .entry-content figure img {
	border-radius: var(--io-radius);
}

.single .entry-content figcaption {
	font-size: 12px;
	color: var(--io-mute);
	text-align: center;
	margin-top: var(--io-s1);
}

/* --- back to news list --- */
.single .entry-content + .io-back,
.io-back {
	margin-top: var(--io-s6);
	text-align: center;
}

/* ==========================================================================
   11. Footer CTA (navy band)
   ========================================================================== */
.io-footer-cta {
	background: var(--io-navy);

	color: #fff;
	padding: var(--io-s6) 0;
}

.io-footer-cta__grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: var(--io-s5);
	align-items: center;
}

.io-footer-cta h2 {
	color: #fff;
	font-size: clamp(20px, 2.4vw, 27px);
	margin: 0 0 var(--io-s2);
}

.io-footer-cta p {
	font-size: 13px;
	line-height: 1.9;
	margin: 0;
	color: rgba(255, 255, 255, 0.75);
}

.io-fc-col {
	border-left: 1px solid rgba(255, 255, 255, 0.16);
	padding-left: var(--io-s5);
}

.io-fc-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.75);
	margin: 0 0 6px;
}

.io-fc-label svg { width: 15px; height: 15px; fill: var(--io-gold); }

.io-tel {
	display: inline-block;
	font-family: var(--io-serif);
	font-size: clamp(24px, 2.8vw, 32px);
	font-weight: 700;
	color: #fff !important;
	text-decoration: none;
	line-height: 1.2;
	letter-spacing: 0.02em;
}

.io-tel-note {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.6);
	margin: 6px 0 0;
}

.io-gold-btn {
	display: block;
	text-align: center;
	background: var(--io-gold);
	color: #fff !important;
	text-decoration: none;
	font-size: 14px;
	font-weight: 700;
	padding: 16px 20px;
	border-radius: 3px;
	transition: background-color 0.2s ease;
}

.io-gold-btn:hover { background: var(--io-gold-600); }

.io-fc-note {
	text-align: center;
	font-size: 11px;
	color: rgba(255, 255, 255, 0.6);
	margin: var(--io-s2) 0 0;
}

/* ==========================================================================
   12. Footer bar (company info)
   ========================================================================== */
.io-footbar {
	background: var(--io-navy-900);
	color: rgba(255, 255, 255, 0.7);
	padding: var(--io-s3) 0;
	font-size: 12px;
}

.io-footbar__inner {
	max-width: var(--io-max);
	margin: 0 auto;
	padding: 0 var(--io-s3);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--io-s2);
}

.io-footbar__name {
	color: #fff;
	font-family: var(--io-serif);
	letter-spacing: 0.06em;
	margin: 0;
}

.io-footbar__addr { margin: 0; }
.io-footbar__copy { margin: 0; font-size: 11px; }

/* ==========================================================================
   13. Responsive
   ========================================================================== */
@media (max-width: 1080px) {
	.io-nav ul { gap: var(--io-s3); }
	.io-nav a { font-size: 12.5px; }
	/* Narrow the photo to give the copy more room. */
	.io-hero__media { width: 44vw; }
	.io-hero__copy { max-width: 460px; }
	.io-hero__title { font-size: clamp(26px, 3.2vw, 34px); }
	.io-badge { width: 104px; height: 104px; }
	.io-grid--5 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
	/* ---- Mobile nav (CSS only, no JS) ---- */
	.io-menu-toggle {
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 5px;
		width: 44px;
		height: 44px;
		cursor: pointer;
		padding: 10px;
	}

	.io-menu-toggle span {
		display: block;
		height: 2px;
		background: var(--io-navy);
		transition: transform 0.25s ease, opacity 0.25s ease;
	}

	.io-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		border-bottom: 1px solid var(--io-line);
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 0 var(--io-s3);
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease;
	}

	.io-nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.io-nav li { border-bottom: 1px solid var(--io-line); }
	.io-nav a { display: block; padding: 16px 0; font-size: 14px; }

	/* the underline marker does not read well in a stacked list */
	.io-nav .is-current > a::after,
	.io-nav .current-menu-item > a::after,
	.io-nav .current_page_item > a::after { display: none; }

	.io-nav .is-current > a,
	.io-nav .current-menu-item > a,
	.io-nav .current_page_item > a { color: var(--io-gold-600); }

	.io-menu-check:checked ~ .io-nav {
		max-height: 480px;
	}

	.io-menu-check:checked ~ .io-menu-toggle span:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}
	.io-menu-check:checked ~ .io-menu-toggle span:nth-child(2) { opacity: 0; }
	.io-menu-check:checked ~ .io-menu-toggle span:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	.io-header__cta { display: none; }
	.io-header__inner { min-height: 64px; position: relative; }

	/* ---- Layout ---- */
	/* Mobile: stack. Photo on top, copy below. */
	.io-hero {
		display: block;
		min-height: 0;
		background: #fff;
	}

	.io-hero__media {
		position: relative;
		top: auto;
		right: auto;
		bottom: auto;
		width: 100%;
	}

	.io-hero__photo {
		height: clamp(280px, 52vw, 400px);
		object-position: 50% 20%;
	}

	/* Fade the bottom into white to meet the copy block. */
	.io-hero__media::after {
		background: linear-gradient(
			0deg,
			#ffffff 0%,
			rgba(255, 255, 255, 0) 38%
		);
	}

	.io-hero__inner {
		padding: 0 var(--io-s3) var(--io-s6);
		margin-top: -24px;
	}

	.io-hero__copy { max-width: none; }
	.io-hero__title { font-size: clamp(24px, 6vw, 32px); }

	.io-badges { flex-wrap: wrap; justify-content: center; }
	.io-stats__grid { grid-template-columns: repeat(2, 1fr); }
	.io-stat:nth-child(odd) { border-left: 0; }
	.io-stat:nth-child(n+3) { border-top: 1px solid var(--io-line); padding-top: var(--io-s3); }
	.io-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.io-logos { grid-template-columns: repeat(3, 1fr); }
	.io-profile { grid-template-columns: 1fr; padding: var(--io-s3); }
	.io-profile__photo { max-width: 260px; }
	.io-career { grid-template-columns: 1fr; }
	.io-biz { grid-template-columns: 1fr; }
	.io-issues { grid-template-columns: 1fr; }
	.io-case { padding: var(--io-s4); }
	.io-rule { padding: var(--io-s4); }
	.io-detail__block { padding: var(--io-s4); }
	.io-partners { grid-template-columns: 1fr; }
	.io-table th { width: 30%; white-space: normal; }
	.io-flow { grid-template-columns: repeat(2, 1fr); gap: var(--io-s4) var(--io-s2); }
	.io-step:not(:last-child)::after { display: none; }
	.io-footer-cta__grid { grid-template-columns: 1fr; text-align: center; }
	.io-fc-col { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.16); padding-top: var(--io-s3); }
	.io-fc-label { justify-content: center; }
	.io-works__head { flex-direction: column; gap: var(--io-s3); }
	.io-works__more { position: static; transform: none; }
	.io-footbar__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
	html { scroll-padding-top: 76px; }
	.single .site-content, .blog .site-content, .archive .site-content { padding: var(--io-s5) var(--io-s3) var(--io-s6) !important; }
	.single .entry-content { font-size: 15px; }
	.single .entry-content h2 { padding-left: var(--io-s2); }
	.io-news__link { flex-wrap: wrap; gap: 4px var(--io-s2); padding: var(--io-s2); }
	.io-news__date { flex: 0 0 100%; }
	.io-news__title { flex: 1 1 auto; font-size: 14px; }
	.io-post__link { flex-direction: column; gap: var(--io-s3); padding: var(--io-s3); }
	.io-post__thumb { flex: 0 0 auto; }
	.io-post__title { font-size: 17px; }
	.io-totop-wrap { right: var(--io-s2); width: 44px; }
	.io-totop { width: 44px; height: 44px; top: calc(100vh - 64px); }
	.io-section { padding: var(--io-s6) 0; }
	.io-grid--5, .io-grid--4, .io-grid--3 { grid-template-columns: 1fr; }
	.io-logos { grid-template-columns: repeat(2, 1fr); gap: var(--io-s1); }
	.io-logo-cell { min-height: 104px; padding: var(--io-s2); }
	.io-logo-cell img { max-height: 74px; }
	.io-badge { width: 100px; height: 100px; font-size: 10px; }
	.io-history dl { grid-template-columns: 1fr; }
	.io-history dt { margin-top: var(--io-s1); }
	/* stack the table: th becomes a label row */
	.io-table, .io-table tbody, .io-table tr, .io-table th, .io-table td { display: block; width: auto; }
	.io-table tr { border-bottom: 1px solid var(--io-line); }
	.io-table th { border: 0; padding: var(--io-s2) var(--io-s3); }
	.io-table td { border: 0; padding: var(--io-s3); }
	.io-cta-btn { width: 100%; justify-content: center; }
	.io-case__list { columns: 1; }
	.io-case { padding: var(--io-s3); }
	.io-rule { padding: var(--io-s3); }
	.io-rule__head { flex-direction: column; gap: var(--io-s1); }
	.io-rule__title { font-size: 16px; }
	.io-detail__block { padding: var(--io-s3); }
	.io-form-wrap { padding: var(--io-s3); }
	.io-form__cols { grid-template-columns: 1fr; gap: 0; }
	.io-form input[type="submit"] { width: 100%; padding: 18px 20px; }
	.io-media__item { padding: var(--io-s2); gap: var(--io-s1) var(--io-s2); }
	.io-media__title { flex: 1 1 100%; font-size: 13px; }
	.io-project__body { grid-template-columns: 1fr; padding: var(--io-s3); }
	.io-project__body dt { border-top: 1px solid var(--io-line); padding-bottom: 2px; }
	.io-project__body dd { grid-column: 1; padding: 0 0 var(--io-s2); border-top: 0; }
	.io-project__body dt:first-of-type { border-top: 0; }
	.io-project__head { padding: var(--io-s3); }
	.io-biz__item { padding: var(--io-s3); }
}