@font-face {
	font-family: Inter;
	src: url('../fonts/inter.woff2') format('woff2');
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'IBM Plex Mono';
	src: url('../fonts/ibm-plex-mono.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

:root {
	--color-bg: #FDFAF7;
	--color-text: #111;
	--color-muted: #444;
	--color-accent: #f5ef00;
	--color-border: #b8b8b3;
	--font-main: Inter, Arial, sans-serif;
	--font-mono: 'IBM Plex Mono', monospace;
	--font-copy: var(--font-mono);
	--page-padding: clamp(20px, 3.2vw, 60px);
	/* Visible content width, excluding the shared side padding. */
	--content-max-width: 1350px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 30px;
}

body {
	margin: 0;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--font-main);
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
}

/* Paragraphs use the same typeface as the product description by default. */
p {
	font-family: var(--font-copy);
	
}

a {
	color: inherit;
	text-decoration: none;
}

button,
input,
textarea,
select {
	font: inherit;
}

img {
	max-width: 100%;
	height: auto;
}

button,
a,
input,
select,
textarea {
	touch-action: manipulation;
}

button {
	cursor: pointer;
}

[hidden] {
	display: none !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 2px solid var(--color-text);
	outline-offset: 6px;
}

::selection {
	background: var(--color-accent);
	color: #111;
}

.container {
	width: 100%;
	max-width: calc(var(--content-max-width) + var(--page-padding) * 2);
	margin-inline: auto;
	padding-inline: var(--page-padding);
}

.skip-link {
	position: fixed;
	left: 20px;
	top: -100px;
	z-index: 1000;
	background: var(--color-bg);
	padding: 15px;
	border: 1px solid;
}

.skip-link:focus {
	top: 12px;
}

.header-inner {
	min-height: 86px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	border-bottom: 1px solid var(--color-border);
	position: relative;
}

.wordmark {
	display: inline-block;
	font-size: clamp(27px, 3.9vw, 43px);
	font-weight: 600;
	letter-spacing: -.085em;
	line-height: 1;
	white-space: nowrap;
}

.custom-logo-link {
	display: block;
	line-height: 0;
}

.custom-logo {
	width: auto;
	max-width: 230px;
	max-height: 48px;
}

.site-navigation {
	font-size: 14px;
	letter-spacing: .055em;
}

.site-navigation ul {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: clamp(22px, 4vw, 44px);
	padding: 0;
	list-style: none;
	margin: 0;
}

.site-navigation a {
	display: inline-block;
	padding: 14px 0;
	text-transform: uppercase;
}

.site-navigation a:hover,
.footer-links a:hover {
	text-decoration: underline;
	text-underline-offset: 7px;
}

.site-navigation li {
	position: relative;
}

.site-navigation .sub-menu {
	display: block;
	position: absolute;
	top: 100%;
	right: 0;
	min-width: 180px;
	padding: 12px 20px;
	background: var(--color-bg);
	border: 1px solid var(--color-border);
	z-index: 5;
	visibility: hidden;
}

.site-navigation li:hover>.sub-menu,
.site-navigation li:focus-within>.sub-menu {
	visibility: visible;
}

.menu-toggle {
	padding: 12px 0 12px 14px;
	background: none;
	border: 0;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: .08em;
}

.menu-toggle span {
	margin-left: 10px;
	font-size: 20px;
}

.intro-composition {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	max-width: calc(var(--content-max-width) + var(--page-padding) * 2);
	margin-inline: auto;
}

.hero:before {
	content: '';
	position: absolute;
	z-index: -1;
	inset-block: 0;
	inset-inline: var(--page-padding);
	/* Match the header separator edges, keeping the full SVG proportional. */
	background: url('../images/fondo-derivas.webp') center center/contain no-repeat;
	pointer-events: none;
	opacity: .70;
}

.hero {
	position: relative;
	isolation: isolate;
	padding-top: 62px;
	padding-bottom: 64px;
	padding-left: var(--page-padding);
}

.eyebrow {
	font-family: var(--font-mono);
	font-size: 14px;
	line-height: 1.65;
	letter-spacing: .18em;
	text-transform: uppercase;
	margin: 0 0 15px;
}

.accent-line {
	width: 39px;
	height: 5px;
	display: block;
	background: var(--color-accent);
}

.hero h1 {
	font-size: clamp(50px, 7vw, 80px);
	font-weight: 400;
	letter-spacing: -.078em;
	line-height: .9;
	margin: 36px 0 0;
	position: relative;
	z-index: 1;
	max-width: 100%;
	overflow-wrap: break-word;
}

.featured-product {
	display: grid;
	grid-template-columns: 32% 68%;
	padding-inline: var(--page-padding);
	min-height: 550px;
	padding-top: 45px;
}

.product-copy {
	position: relative;
	z-index: 2;
	padding: 0 14px 60px 0;
}

.section-number {
	font: 13px var(--font-mono);
	margin: 0 0 13px;
}

.accent-line--long {
	width: 132px;
	height: 13px;
}

.product-copy h2 {
	font-size: clamp(34.8px, 4.68vw, 60px);
	font-weight: 400;
	letter-spacing: -.065em;
	line-height: 1;
	margin: 33px 0 0;
	overflow-wrap: anywhere;
}

.product-subtitle {
	font-family: var(--font-mono);
	font-size: clamp(14px, 1.55vw, 20px);
	letter-spacing: -.07em;
	line-height: 1.6;
	margin: 0;
}

.product-description {
	font: 16px/1.6 var(--font-mono);
	letter-spacing: -.035em;
	color: var(--color-muted);
	margin: 36px 0 44px;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 8px 0;
	border-bottom: 1px solid var(--color-muted);
	font: 15px/1.4 var(--font-mono);
	font-weight: 600;
	letter-spacing: .11em;
	text-transform: uppercase;
	position: relative;
}

.text-link:after {
	content: '';
	position: absolute;
	height: 3px;
	bottom: -2px;
	left: 0;
	right: 0;
	background: var(--color-accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s;
}

.text-link:hover:after {
	transform: scaleX(1);
}

.product-visual {
	align-self: end;
	position: relative;
	margin-top: 0;
}

.product-photo {
	display: block;
	width: 100%;
	object-fit: contain;
}

.philosophy {
	padding-top: clamp(50px, 6vw, 85px);
	padding-bottom: clamp(60px, 7vw, 100px);
}

.philosophy-inner {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: 24px;
	row-gap: 40px;
	border-top: 1px solid var(--color-border);
	padding-top: clamp(36px, 4.5vw, 64px);
}

.philosophy-kicker {
	grid-column: 1 / 4;
	padding-top: 7px;
}

.philosophy-kicker p {
	font: 12px/1.6 var(--font-mono);
	letter-spacing: .08em;
	margin: 0 0 18px;
}

.philosophy-kicker p span {
	margin-right: 20px;
}

.philosophy h2 {
	grid-column: 4 / -1;
	font-size: clamp(40px, 6.2vw, 75px);
	font-weight: 400;
	letter-spacing: -.07em;
	line-height: .95;
	margin: 0;
}

.philosophy-copy {
	grid-column: 4 / 12;
}

.philosophy-copy p {
	font-family: var(--font-copy);
	font-size: clamp(16px, 1.4vw, 15px);
	font-weight: 400;
	letter-spacing: -.045em;
	line-height: 1.6;
	color: var(--color-muted);
	margin: 0;
}

.philosophy-link {
	grid-column: 4 / -1;
	align-self: end;
	justify-self: start;
}

.footer-inner {
	border-top: 1px solid var(--color-border);
	padding: 28px 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 100px;
}

.footer-brand {
	display: flex;
	align-items: center;
	gap: 24px;
	min-width: 0;
}

.footer-brand p {
	max-width: 440px;
}

.footer-copyright {
	font: 16px/1.6 var(--font-mono);
	white-space: nowrap;
}

.footer-symbol {
	display: block;
	flex-shrink: 0;
	line-height: 0;
}

.footer-symbol img {
	display: block;
	width: 44px;
	height: auto;
}

.site-footer p {
	font: 12px/1.6 var(--font-mono);
	color: var(--color-muted);
	margin: 0;
}

.footer-links {
	display: flex;
	align-items: center;
	gap: 28px;
	font: 12px var(--font-mono);
	white-space: normal;
}

.footer-links ul {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 28px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-links a {
	display: inline-block;
	padding: 12px 0;
	text-transform: uppercase;
}

.languages {
	padding-left: 28px;
	border-left: 1px solid var(--color-border);
}

.languages [aria-disabled] {
	color: #686862;
}

.editorial {
	padding-top: 65px;
	padding-bottom: 90px;
	min-height: 65vh;
}

.editorial h1 {
	font-size: clamp(42px, 6vw, 86px);
	font-weight: 400;
	letter-spacing: -.06em;
	line-height: 1.05;
	margin: 0 0 40px;
	overflow-wrap: anywhere;
}

.editorial h2 {
	font-size: clamp(27px, 3.5vw, 48px);
	font-weight: 400;
	letter-spacing: -.04em;
}

.entry {
	padding-block: 24px;
	border-bottom: 1px solid var(--color-border);
}

.entry-content {
	line-height: 1.7;
	max-width: 1000px;
}

.entry-content .wp-block-list {
	font-family: var(--font-copy);
	
}

.entry-content a,
.editorial p a {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.entry-content:after {
	content: '';
	display: table;
	clear: both;
}

.alignwide {
	max-width: 1200px;
}

.alignfull {
	max-width: 100%;
}

.alignleft {
	float: left;
	margin: 0 24px 24px 0;
}

.alignright {
	float: right;
	margin: 0 0 24px 24px;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.wp-caption-text {
	font: 12px/1.6 var(--font-mono);
}

.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	white-space: nowrap;
}

.post-navigation,
.pagination {
	margin-top: 40px;
}

.nav-links {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

.comments-area {
	margin-top: 60px;
}

.comments-area input:not([type=checkbox]),
.comments-area textarea {
	display: block;
	max-width: 100%;
	padding: 12px;
	border: 1px solid var(--color-border);
	background: transparent;
}

.comments-area textarea {
	width: 100%;
}

.comments-area input[type=submit] {
	cursor: pointer;
}

@media(min-width:768px) {
	.menu-toggle {
		display: none;
	}

	.hero h1 {
		max-width: 80%;
	}
}

@media(min-width:1280px) {
	.hero {
		padding-top: 85px;
		padding-bottom: 95px;
	}

	.featured-product {
		min-height: 650px;
	}

	.product-description {
		margin-block: 42px 48px;
	}
}

@media(min-width:1024px) {
	.hero {
		/* SVG ratio: 1983 × 793. Reserve enough height at full container width. */
		min-height: min(40vw, calc(var(--content-max-width) * .4));
	}

	.hero:before {
		background-size: 100% auto;
	}
}

@media(max-width:1023px) and (min-width:768px) {
	.hero {
		padding-left: var(--page-padding);
	}

	.featured-product {
		padding-left: var(--page-padding);
		min-height: 430px;
	}

	.product-copy h2 {
		font-size: 38.4px;
	}

	.product-description {
		
	}

	.philosophy-inner {
		column-gap: 16px;
	}

	.philosophy-kicker {
		grid-column: 1 / 4;
	}

	.philosophy-link {
		grid-column: 4 / -1;
	}

	.footer-inner {
		flex-wrap: wrap;
	}

}

@media(max-width:767px) {
	.header-inner {
		min-height: 76px;
		flex-wrap: wrap;
		gap: 0;
	}

	.brand {
		padding-block: 20px;
	}

	.wordmark {
		font-size: 29px;
	}

	.custom-logo {
		max-width: 180px;
		max-height: 40px;
	}

	.site-navigation {
		width: 100%;
		padding: 0 0 16px;
	}

	.site-navigation ul {
		gap: 5px;
		justify-content: space-between;
	}

	.has-js .site-navigation {
		display: none;
	}

	.has-js .site-navigation.is-open {
		display: block;
	}

	.site-navigation a {
		font-size: 14px;
		padding: 14px 0;
	}

	.site-navigation .sub-menu {
		position: static;
		visibility: visible;
		border: 0;
		padding: 0 0 0 12px;
	}

	.hero {
		padding: 48px var(--page-padding) 50px;
	}

	.eyebrow {
		font-size: 14px;
	}

	.hero h1 {
		
		letter-spacing: -.07em;
		line-height: .97;
		margin-top: 30px;
	}

	.hero:before {
		opacity: .34;
	}

	.featured-product {
		grid-template-columns: 1fr;
		padding: 24px var(--page-padding) 0;
		min-height: 0;
	}

	.product-copy {
		/* Expose the copy as grid items so the image can sit before the description. */
		display: contents;
		padding: 0;
	}

	.product-copy .product-description {
		order: 2;
	}

	.product-copy .text-link {
		order: 3;
		justify-self: start;
	}

	.section-number {
		font-size: 12px;
	}

	.accent-line--long {
		height: 8px;
		width: 94px;
	}

	.product-copy h2 {
		font-size: 36px;
		margin-top: 23px;
	}

	.product-subtitle {
		font-size: 16px;
		font-weight: 600;
	}

	.product-description {
		margin: 25px 0;
		font-size: 14px;
	}

	.product-visual {
		order: 1;
		margin: 28px 0 0;
		align-self: auto;
	}

	.philosophy {
		padding-block: 48px 60px;
	}

	.philosophy-inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
		padding-top: 32px;
	}

	.philosophy-kicker,
	.philosophy h2,
	.philosophy-copy,
	.philosophy-link {
		grid-column: 1 / -1;
	}

	.philosophy h2 {
		font-size: clamp(40px, 10.7vw, 65px);
	}

	.philosophy-copy p {
		font-size: 14px;
		letter-spacing: -.03em;
		line-height: 1.7;
	}

	.footer-inner {
		align-items: flex-start;
		flex-direction: column;
		padding: 25px 0;
		gap: 18px;
	}

	.site-footer p {
		font-size: 10px;
		max-width: 280px;
	}

	.footer-brand {
		flex-wrap: wrap;
		gap: 16px;
	}

	.footer-brand p {
		flex-basis: 100%;
	}

	.footer-links ul {
		column-gap: 24px;
		row-gap: 0;
	}

	.footer-links a {
		padding-block: 8px;
	}

	.languages {
		padding-left: 24px;
	}

	.editorial {
		padding-top: 40px;
	}

	.entry-content {
		font-size: 16px;
	}
}

@media(prefers-reduced-motion:reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*:before,
	*:after {
		animation: none !important;
		transition: none !important;
	}
}

/* Crawlable breadcrumbs without extra heading levels. */

.breadcrumbs {
	font: 12px/1.7 var(--font-mono);
	margin-bottom: 28px;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.breadcrumbs li+li:before {
	content: "/";
	margin-right: 8px;
	color: var(--color-muted);
}

.breadcrumbs a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.post-meta {
	font: 12px/1.8 var(--font-mono);
	margin-bottom: 20px;
}

.featured-image {
	display: block;
	margin-bottom: 35px;
}

.post-related {
	margin-top: 40px;
}

/* Product pages: native Gutenberg columns, editable from the page editor. */
.entry-content:has(> .ulula-columns) {
	max-width: none;
}

.entry-content .ulula-columns {
	gap: clamp(28px, 4vw, 60px);
}

.ulula-columns .wp-block-image {
	margin: 0 0 28px;
}

.ulula-columns .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
}

@media(max-width:781px) {
	/* Match the native Columns breakpoint; keep the desktop editor layout intact. */
	.entry-content .ulula-columns {
		flex-direction: column;
		gap: 0;
	}

	.ulula-columns > .wp-block-column {
		display: contents;
	}

	.ulula-columns > .wp-block-column > * {
		order: 1;
	}

	/* Keep galleries and standalone images in their original editorial order. */
	.ulula-columns > .wp-block-column > .wp-block-image,
	.ulula-columns > .wp-block-column > .wp-block-gallery {
		order: 0;
	}

	.ulula-columns > .wp-block-column > .stock-interest {
		order: 2;
	}
}

/* Availability form: typography, fine rules and a restrained yellow accent. */
.stock-interest {
	position: relative;
	border-top: 1px solid var(--color-border);
	margin-top: 36px;
	padding-top: 30px;
	scroll-margin-top: 70px;
}

.stock-interest__label {
	font: 14px/1.6 var(--font-mono);
	letter-spacing: .12em;
	margin: 0 0 14px;
}

.stock-interest h2 {
	font-size: clamp(30px, 2.5vw, 40px);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: -.045em;
	margin: 24px 0 18px;
}

.stock-interest__intro {
	font-size: 16px;
	line-height: 1.65;
	color: var(--color-muted);
	margin: 0 0 28px;
}

.stock-interest__email-label {
	display: block;
	font: 12px/1.6 var(--font-mono);
	margin-bottom: 6px;
}

.stock-interest__controls {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 16px;
	align-items: stretch;
}

.stock-interest__controls input,
.stock-interest__controls button {
	background: transparent;
	color: var(--color-text);
	border: 0;
	border-bottom: 1px solid var(--color-text);
	border-radius: 0;
	min-height: 48px;
	font: 15px/1.5 var(--font-mono);
}

.stock-interest__controls input {
	width: 100%;
	min-width: 0;
	padding: 12px 0;
	opacity: 0.5;
}

.stock-interest__controls input::placeholder {
	color: #686862;
	opacity: 1;
}

.stock-interest__controls button {
	padding: 12px 4px;
	letter-spacing: .06em;
	white-space: nowrap;
	transition: border-color .2s;
}

.stock-interest__controls button:hover {
	border-bottom-color: var(--color-accent);
}

.stock-interest__controls button span {
	margin-left: 12px;
}

.stock-interest__note {
	font: 12px/1.75 var(--font-mono);
	color: var(--color-muted);
	margin: 18px 0 0;
}

.stock-interest__consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 12px 0 20px;
	font: 12px/1.7 var(--font-copy);
	color: var(--color-muted);
}

.stock-interest__consent input {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 2px 0 0;
	accent-color: var(--color-text);
}

.stock-interest__privacy a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.stock-interest__controls button:disabled {
	opacity: .5;
	cursor: not-allowed;
}

.stock-interest__feedback {
	font: 14px/1.7 var(--font-mono);
	border-left: 3px solid var(--color-accent);
	padding-left: 14px;
	margin: 20px 0 26px;
}

.stock-interest__trap {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.newsletter-signup__unsubscribe {
	margin-top: 12px;
	padding: 4px 0;
	border: 0;
	background: transparent;
	color: var(--color-muted);
	font: 11px/1.6 var(--font-mono);
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media(max-width:480px) {
	.stock-interest__controls {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.stock-interest__controls button {
		justify-self: start;
	}
}

/* Language selector: compact, keyboard accessible and independent of the menu. */
.language-switcher {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: 24px;
	font: 12px/1.4 var(--font-mono);
	flex-shrink: 0;
}

.language-switcher a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding-inline: 4px;
}

.language-switcher a[aria-current="true"] {
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 5px;
}

@media(max-width:767px) {
	.language-switcher {
		order: 2;
		margin-left: 12px;
		gap: 8px;
	}

	.site-navigation {
		order: 3;
	}
}

@media(min-width:768px) {
	.header-inner > .site-navigation {
		margin-left: auto;
	}
}

@media(max-width:360px) {
	.custom-logo {
		max-width: 140px;
	}
}
