/*
Theme Name: Студия ТОН
Description: Дочерняя тема студии звукозаписи.
Template: twentytwentyfive
Version: 1.1.0
Text Domain: ton-studio
*/
.ton-layout {
	--base: #0e1116;
	--surface: #161a21;
	--line: #2b313c;
	--ink: #f0f1f4;
	--muted: #b6bac4;
	--accent: #bc1d3b;
	min-height: 100vh;
	background: var(--base);
	color: var(--ink);
	font: 400 1.0625rem/1.65 "Inter Tight", system-ui, sans-serif;
}
.ton-shell { width: min(75rem, calc(100% - 2.5rem)); margin-inline: auto; }
.ton-header, .ton-footer { padding-block: 1rem; }
.ton-header { border-bottom: 1px solid var(--line); }
.ton-footer { border-top: 1px solid var(--line); color: var(--muted); }
.ton-brand { width: 8rem; height: 2.2rem; background: url(assets/logo.svg) left center / contain no-repeat; }
.ton-page { padding-block: clamp(2rem, 7vw, 5rem); }
.ton-layout :is(h1,h2,h3,.wp-block-button__link) { font-family: Unbounded, system-ui, sans-serif; }
.ton-layout h1 { font-size: clamp(1.9rem, 6vw, 5rem); line-height: 1.08; letter-spacing: -.05em; }
.ton-layout h2 { font-size: clamp(1.45rem, 4vw, 3rem); line-height: 1.18; letter-spacing: -.04em; }
.ton-layout h3 { font-size: clamp(1rem, 2vw, 1.35rem); }
.ton-layout a { color: inherit; text-underline-offset: .2em; }
.ton-layout a:focus-visible { outline: 2px solid white; outline-offset: 4px; }
.ton-layout .wp-block-button__link {
	background: var(--accent);
	color: white;
	border-radius: 0;
	padding: .9rem 1.25rem;
	font-size: .8rem;
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%);
}
.ton-layout .wp-block-image img { display: block; width: 100%; height: auto; }
.ton-page .wp-block-post-content > .wp-block-image:first-child img {
	max-height: 34rem;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}
.ton-section { padding-block: clamp(2rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.ton-section > h2 { margin-top: 0; }
.ton-hero { padding-bottom: clamp(2rem, 5vw, 4rem); }
.ton-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit,minmax(min(100%,18rem),1fr)); }
.ton-section-services .ton-cards { grid-template-columns: repeat(auto-fit,minmax(min(100%,25rem),1fr)); }
.ton-card { min-width: 0; padding: 1.25rem; border: 1px solid var(--line); background: var(--surface); }
.ton-card h3 { margin-top: 0; }
.ton-card img { aspect-ratio: 16 / 10; object-fit: cover; }
.ton-card p, .ton-card li { color: var(--muted); }
.ton-section-x-pricing .ton-card:nth-child(2) { border-color: #e14f6b; }
