/*
 * Just Amy: brand tokens, header, footer and homepage.
 * Homepage rules are scoped to body.just-amy-home. Colour/type values mirror the Elementor kit globals.
 */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face { font-family: "Bodoni Moda"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/bodoni-moda-latin-normal.woff2") format("woff2"); }
@font-face { font-family: "Bodoni Moda"; font-style: italic; font-weight: 400 700; font-display: swap; src: url("../fonts/bodoni-moda-latin-italic.woff2") format("woff2"); }
@font-face { font-family: "Libre Baskerville"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/libre-baskerville-latin-normal.woff2") format("woff2"); }
@font-face { font-family: "Libre Baskerville"; font-style: italic; font-weight: 400 700; font-display: swap; src: url("../fonts/libre-baskerville-latin-italic.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
	--ja-cream: #FBF4E8;
	--ja-cream-deep: #F3E7D3;
	--ja-ink: #252525;
	--ja-ink-soft: #514B45;
	--ja-footer: #272729;
	--ja-line: #D9CDBE;
	--ja-on-dark: #FFF9EF;

	--ja-red: #E5162B;
	--ja-orange: #FB7B12;
	--ja-yellow: #F6C807;
	--ja-green: #2AA450;
	--ja-blue: #0B8BDE;
	--ja-purple: #6B3CB8;
	--ja-focus: #0A64A8;

	--ja-display: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif;
	--ja-body: "Libre Baskerville", Baskerville, Georgia, serif;

	--ja-gutter: clamp(20px, 5vw, 64px);
	--ja-edge: max(var(--ja-gutter), calc((100vw - 1280px) / 2));
	--ja-section: clamp(56px, 8vw, 96px);
	--ja-gap: 24px;
	--ja-header-h: 104px;

	/* Hand-painted button shapes: SVG with rough, displaced edges. */
	--ja-shape-solid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 64' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-12%25' width='110%25' height='124%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.035 .12' numOctaves='2' seed='5'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='5'/%3E%3C/filter%3E%3Crect x='5' y='6' width='210' height='52' rx='3' fill='%23252525' filter='url(%23f)'/%3E%3C/svg%3E");
	--ja-shape-outline: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 64' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-12%25' width='110%25' height='124%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.03 .1' numOctaves='2' seed='8'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='3'/%3E%3C/filter%3E%3Crect x='5' y='6' width='210' height='52' rx='4' fill='none' stroke='%23252525' stroke-width='1.6' filter='url(%23f)'/%3E%3C/svg%3E");
	--ja-shape-outline-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 64' preserveAspectRatio='none'%3E%3Cfilter id='f' x='-5%25' y='-12%25' width='110%25' height='124%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.03 .1' numOctaves='2' seed='8'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='3'/%3E%3C/filter%3E%3Crect x='5' y='6' width='210' height='52' rx='4' fill='none' stroke='%23FFF9EF' stroke-width='1.8' filter='url(%23f)'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
html { scroll-padding-top: 16px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
	background: var(--ja-cream);
	color: var(--ja-ink);
	font-family: var(--ja-body);
	font-size: 18px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

.ja-skip {
	position: absolute; left: 16px; top: -100px; z-index: 100;
	padding: 12px 20px; background: var(--ja-ink); color: var(--ja-on-dark);
}
.ja-skip:focus { top: 12px; }

:where(a, button, input, select, textarea):focus-visible {
	outline: 3px solid var(--ja-focus);
	outline-offset: 3px;
}

/* ---------- Buttons ---------- */
a.ja-btn,
button.ja-btn,
.elementor-widget-button.ja-btn .elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 12px 32px;
	border: 0;
	border-radius: 0;
	background-color: transparent;
	background-image: var(--ja-btn-shape);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 100%;
	color: var(--ja-btn-ink);
	fill: var(--ja-btn-ink);
	font-family: var(--ja-body);
	font-size: 17px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.25;
	letter-spacing: 0;
	text-align: center;
	text-decoration: none;
	text-shadow: none;
	box-shadow: none;
	cursor: pointer;
	transition: transform .18s ease;
}
a.ja-btn:hover, a.ja-btn:focus, button.ja-btn:hover, button.ja-btn:focus,
.elementor-widget-button.ja-btn .elementor-button:hover,
.elementor-widget-button.ja-btn .elementor-button:focus {
	background-color: transparent;
	color: var(--ja-btn-ink);
	fill: var(--ja-btn-ink);
	transform: translateY(-1px);
}
@media (prefers-reduced-motion: reduce) {
	a.ja-btn, button.ja-btn, .elementor-widget-button.ja-btn .elementor-button { transition: none; }
	a.ja-btn:hover, button.ja-btn:hover, .elementor-widget-button.ja-btn .elementor-button:hover { transform: none; }
}
.ja-btn--solid { --ja-btn-shape: var(--ja-shape-solid); --ja-btn-ink: var(--ja-on-dark); }
.ja-btn--outline { --ja-btn-shape: var(--ja-shape-outline); --ja-btn-ink: var(--ja-ink); }
.ja-btn--light { --ja-btn-shape: var(--ja-shape-outline-light); --ja-btn-ink: var(--ja-on-dark); }
.elementor-widget-button.ja-btn .elementor-button-text { white-space: normal; }
a.ja-btn--light:focus-visible,
.elementor-widget-button.ja-btn--light .elementor-button:focus-visible { outline-color: var(--ja-on-dark); }

/* ---------- Header ---------- */
.ja-header { position: relative; z-index: 20; background: var(--ja-cream); }
.ja-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	min-height: var(--ja-header-h);
	padding: 10px var(--ja-edge);
}
.ja-logo { display: block; flex: none; line-height: 0; }
.ja-logo img { display: block; width: 200px; height: auto; }

.ja-nav { display: flex; align-items: center; gap: clamp(28px, 3.4vw, 52px); }
.ja-nav__list { display: flex; gap: clamp(24px, 3vw, 44px); margin: 0; padding: 0; list-style: none; }
.ja-nav__list a {
	color: var(--ja-ink);
	font-size: 18px;
	line-height: 1.3;
	text-decoration: none;
	text-underline-offset: 8px;
	text-decoration-thickness: 1.5px;
}
.ja-nav__list a:hover { text-decoration-line: underline; }

.ja-nav-toggle {
	display: none;
	align-items: center;
	gap: 12px;
	min-height: 48px;
	padding: 8px 4px;
	border: 0;
	background: none;
	color: var(--ja-ink);
	font: inherit;
	font-size: 17px;
	cursor: pointer;
}
.ja-nav-toggle__bars { display: grid; gap: 6px; width: 26px; }
.ja-nav-toggle__bars span { display: block; height: 2px; background: currentColor; transition: transform .2s ease; }
.ja-nav-toggle[aria-expanded="true"] .ja-nav-toggle__bars span:first-child { transform: translateY(4px) rotate(45deg); }
.ja-nav-toggle[aria-expanded="true"] .ja-nav-toggle__bars span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 960px) {
	:root { --ja-header-h: 80px; }
	.ja-logo img { width: 136px; }
	.ja-nav-toggle { display: inline-flex; }
	.js .ja-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 28px;
		padding: 12px var(--ja-gutter) 36px;
		background: var(--ja-cream);
		border-top: 1px solid var(--ja-line);
		border-bottom: 1px solid var(--ja-line);
	}
	.js .ja-nav.is-open { display: flex; }
	.ja-nav__list { flex-direction: column; gap: 0; }
	.ja-nav__list a {
		display: block;
		padding: 14px 0;
		font-family: var(--ja-display);
		font-weight: 500;
		font-optical-sizing: none;
		font-variation-settings: "opsz" 6;
		font-size: 30px;
		line-height: 1.2;
		border-bottom: 1px solid var(--ja-line);
	}
	.ja-nav__cta { align-self: flex-start; }
}
@media (max-width: 960px) {
	.ja-nav:not(.is-open) { flex-wrap: wrap; }
}

/* ---------- Footer ---------- */
.ja-footer { background: var(--ja-footer); color: var(--ja-on-dark); }
.ja-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 32px 48px;
	padding: clamp(40px, 5vw, 64px) var(--ja-edge);
}
.ja-footer__logo { display: block; flex: none; padding: 14px 22px; background: var(--ja-cream); line-height: 0; }
.ja-footer__logo img { display: block; width: 168px; height: auto; }
.ja-footer__nav ul { display: flex; flex-wrap: wrap; gap: 12px clamp(24px, 3.5vw, 48px); margin: 0; padding: 0; list-style: none; }
.ja-footer__nav a { color: var(--ja-on-dark); font-size: 18px; text-decoration: none; text-underline-offset: 6px; }
.ja-footer__nav a:hover { text-decoration: underline; }
.ja-footer :where(a):focus-visible { outline-color: var(--ja-on-dark); }
.ja-footer__base {
	margin: 0;
	padding: 20px var(--ja-edge);
	border-top: 1px solid rgba(255, 249, 239, .16);
	color: rgba(255, 249, 239, .78);
	font-size: 14px;
	line-height: 1.5;
}
@media (max-width: 640px) {
	.ja-footer__inner { flex-direction: column; align-items: flex-start; }
	.ja-footer__nav ul { flex-direction: column; }
}

/* ---------- Homepage: shared ---------- */
body.just-amy-home .e-con,
body.just-amy-home .e-con > .e-con-inner { --widgets-spacing: 0px; }
body.just-amy-home .elementor-widget:not(:last-child) { margin-block-end: 0; }
body.just-amy-home .elementor-heading-title { text-wrap: balance; margin: 0; padding: 0; font-optical-sizing: none; font-variation-settings: "opsz" 6; font-weight: 500; }
body.just-amy-home .elementor-widget-text-editor p { margin: 0; }
body.just-amy-home .elementor-widget-text-editor p + p { margin-top: 1.1em; }
body.just-amy-home .ja-main { display: block; }

/* ---------- Homepage: hero ---------- */
body.just-amy-home .ja-hero {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 6fr);
	gap: 0;
	padding: 0;
	min-height: clamp(520px, 44vw, 660px);
	align-items: stretch;
}
body.just-amy-home .ja-hero__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 0;
	padding: clamp(40px, 5vw, 72px) clamp(24px, 4vw, 64px) clamp(40px, 5vw, 72px) var(--ja-edge);
}
body.just-amy-home .ja-hero__title .elementor-heading-title {
	font-family: var(--ja-display);
	font-weight: 500;
	font-size: clamp(56px, 7.2vw, 112px);
	line-height: .98;
	letter-spacing: -.02em;
	color: var(--ja-ink);
	font-optical-sizing: none;
	font-variation-settings: "opsz" 6;
}
body.just-amy-home .ja-hero__title .elementor-heading-title::after {
	content: "";
	display: block;
	width: min(280px, 72%);
	aspect-ratio: 16 / 1;
	margin-top: clamp(18px, 2vw, 28px);
	background: url("../img/stroke-horizontal.svg") no-repeat center / 100% 100%;
}
body.just-amy-home .ja-hero__lead {
	text-wrap: balance;
	max-width: 22em;
	margin-top: clamp(20px, 2.4vw, 32px);
	font-size: clamp(20px, 1.9vw, 26px);
	font-style: italic;
	line-height: 1.4;
	color: var(--ja-ink);
}
body.just-amy-home .ja-actions {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	padding: 0;
	margin-top: clamp(28px, 3.4vw, 44px);
}
body.just-amy-home .ja-actions > .elementor-widget { width: auto; flex: 0 0 auto; }
body.just-amy-home .ja-hero__media { position: relative; overflow: hidden; padding: 0; min-height: 340px; }
body.just-amy-home .ja-fill { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; }
body.just-amy-home .ja-fill .elementor-widget-container { height: 100%; }
body.just-amy-home .ja-fill img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.just-amy-home .ja-hero__media .ja-fill img { object-position: 50% 42%; }

@media (min-width: 1600px) {
	/* The text column keeps room for the headline once the page edge is far from the viewport edge. */
	body.just-amy-home .ja-hero { grid-template-columns: minmax(calc(var(--ja-edge) + 540px), 4fr) minmax(0, 6fr); }
}
@media (max-width: 900px) {
	body.just-amy-home .ja-hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	body.just-amy-home .ja-hero__copy { padding: 40px var(--ja-gutter) 44px; }
	body.just-amy-home .ja-hero__title .elementor-heading-title { font-size: clamp(56px, 16vw, 96px); }
	body.just-amy-home .ja-hero__media { aspect-ratio: 1 / 1.02; min-height: 0; }
}
@media (min-width: 601px) and (max-width: 900px) {
	body.just-amy-home .ja-hero__media { aspect-ratio: 16 / 10; }
}

/* ---------- Homepage: service panels ---------- */
body.just-amy-home .ja-choose {
	display: block;
	padding: clamp(32px, 4vw, 40px) var(--ja-edge) 0;
}
body.just-amy-home .ja-panels {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--ja-gap);
	padding: 0;
}
body.just-amy-home .ja-panel {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
	gap: 0;
	min-height: clamp(440px, 38vw, 540px);
	padding: clamp(28px, 3.4vw, 44px);
	scroll-margin-top: 24px;
}
body.just-amy-home .ja-panel .ja-fill { z-index: -2; }
body.just-amy-home .ja-panel::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
body.just-amy-home .ja-panel .elementor-widget-button { margin-top: auto; }
body.just-amy-home .ja-panel__title .elementor-heading-title {
	font-family: var(--ja-display);
	font-weight: 500;
	font-size: clamp(36px, 4vw, 56px);
	line-height: 1.05;
	letter-spacing: -.015em;
}
body.just-amy-home .ja-panel__line {
	margin-top: 10px;
	font-size: clamp(18px, 1.7vw, 22px);
	font-style: italic;
	line-height: 1.4;
	max-width: 19em;
}
body.just-amy-home .ja-panel__line::after {
	content: "";
	display: block;
	width: 190px;
	aspect-ratio: 16 / 1;
	margin-top: 18px;
	background: url("../img/stroke-horizontal.svg") no-repeat center / 100% 100%;
}

/* yoga: dark text over a soft cream veil on the sky and sea */
body.just-amy-home .ja-panel--yoga { color: var(--ja-ink); }
body.just-amy-home .ja-panel--yoga::after {
	background: linear-gradient(to bottom, rgba(251, 244, 232, .95) 0%, rgba(251, 244, 232, .86) 32%, rgba(251, 244, 232, 0) 64%);
}
body.just-amy-home .ja-panel--yoga .elementor-heading-title { color: var(--ja-ink); }
body.just-amy-home .ja-panel--yoga .ja-panel__line { color: var(--ja-ink); }
body.just-amy-home .ja-panel--yoga .ja-fill img { object-position: 50% 60%; }

/* hair: same light, photo-led treatment */
body.just-amy-home .ja-panel--hair { color: var(--ja-ink); }
body.just-amy-home .ja-panel--hair::after {
	background: linear-gradient(to bottom, rgba(251, 244, 232, .9) 0%, rgba(251, 244, 232, .74) 30%, rgba(251, 244, 232, 0) 60%);
}
body.just-amy-home .ja-panel--hair .elementor-heading-title,
body.just-amy-home .ja-panel--hair .ja-panel__line { color: var(--ja-ink); }
body.just-amy-home .ja-panel--hair .ja-fill img { object-position: 50% 78%; }

body.just-amy-home .ja-notes {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--ja-gap);
	padding: 28px 0 0;
}
body.just-amy-home .ja-note { max-width: 34em; color: var(--ja-ink-soft); font-size: 18px; line-height: 1.7; }

@media (max-width: 820px) {
	body.just-amy-home .ja-panels { grid-template-columns: minmax(0, 1fr); }
	body.just-amy-home .ja-panel { min-height: 440px; }
}
@media (max-width: 767px) {
	body.just-amy-home .ja-notes { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 24px; }
	body.just-amy-home .ja-panel { min-height: 420px; padding: 28px 24px; }
}

/* ---------- Homepage: community strip ---------- */
body.just-amy-home .ja-strip { display: block; padding: var(--ja-section) 0 0; }
body.just-amy-home .ja-strip img {
	display: block;
	width: 100%;
	height: clamp(200px, 22.6vw, 340px);
	object-fit: cover;
	object-position: 50% 72%;
}

/* ---------- Homepage: studio photos ---------- */
body.just-amy-home .ja-studio {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--ja-gap);
	padding: var(--ja-section) var(--ja-edge) 0;
}
body.just-amy-home .ja-studio img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
body.just-amy-home .ja-studio .elementor-widget:nth-child(1) img { object-position: 30% 50%; }
body.just-amy-home .ja-studio .elementor-widget:nth-child(3) img { object-position: 78% 50%; }
@media (max-width: 767px) {
	body.just-amy-home .ja-studio { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

/* ---------- Homepage: about ---------- */
body.just-amy-home .ja-about {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	align-items: center;
	column-gap: clamp(24px, 5vw, 80px);
	padding: var(--ja-section) var(--ja-edge);
	scroll-margin-top: 0;
}
body.just-amy-home .ja-about__title .elementor-heading-title {
	font-family: var(--ja-display);
	font-weight: 500;
	font-size: clamp(40px, 4.6vw, 62px);
	line-height: 1.05;
	letter-spacing: -.015em;
}
body.just-amy-home .ja-about__copy {
	position: relative;
	padding-left: clamp(32px, 4.4vw, 64px);
	max-width: 36em;
	font-size: clamp(18px, 1.6vw, 21px);
	line-height: 1.75;
}
body.just-amy-home .ja-about__copy::before {
	content: "";
	position: absolute;
	left: 0;
	top: -10px;
	bottom: -10px;
	width: 18px;
	background: url("../img/stroke-vertical.svg") no-repeat center / 100% 100%;
}
@media (max-width: 767px) {
	body.just-amy-home .ja-about { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
	body.just-amy-home .ja-about__copy { padding-left: 36px; }
}

/* ---------- Homepage: room to grow ---------- */
body.just-amy-home .ja-grow {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	column-gap: clamp(20px, 4vw, 56px);
	padding: 0 var(--ja-edge) var(--ja-section);
}
body.just-amy-home .ja-grow__stroke { width: 100%; }
body.just-amy-home .ja-grow__stroke .ja-stroke {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 1;
	background: url("../img/stroke-horizontal.svg") no-repeat center / 100% 100%;
}
body.just-amy-home .ja-grow__text { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 0; }
body.just-amy-home .ja-grow__title .elementor-heading-title {
	font-family: var(--ja-display);
	font-style: italic;
	font-weight: 500;
	font-size: clamp(34px, 3.6vw, 48px);
	line-height: 1.1;
}
body.just-amy-home .ja-grow__line { font-style: italic; font-size: 19px; color: var(--ja-ink-soft); }
@media (max-width: 767px) {
	body.just-amy-home .ja-grow { grid-template-columns: minmax(0, 1fr); row-gap: 20px; justify-items: center; }
	body.just-amy-home .ja-grow__stroke { width: min(220px, 60%); }
	body.just-amy-home .ja-grow__stroke--after { display: none; }
}

/* ---------- Homepage: contact ---------- */
body.just-amy-home .ja-contact {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	align-items: start;
	column-gap: clamp(32px, 6vw, 96px);
	padding: var(--ja-section) var(--ja-edge);
	background: var(--ja-cream-deep);
	scroll-margin-top: 0;
}
body.just-amy-home .ja-contact__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 0; }
body.just-amy-home .ja-contact__title .elementor-heading-title {
	font-family: var(--ja-display);
	font-weight: 500;
	font-size: clamp(38px, 4.2vw, 56px);
	line-height: 1.06;
	letter-spacing: -.015em;
}
body.just-amy-home .ja-contact__copy { margin-top: 20px; max-width: 26em; color: var(--ja-ink-soft); }
body.just-amy-home .ja-contact__intro::after {
	content: "";
	display: block;
	width: min(100%, 420px);
	aspect-ratio: 600 / 330;
	margin-top: clamp(28px, 4vw, 48px);
	background: url("../img/rainbow-arc.svg") no-repeat left bottom / 100% 100%;
}
@media (max-width: 900px) {
	body.just-amy-home .ja-contact { grid-template-columns: minmax(0, 1fr); row-gap: 36px; }
	body.just-amy-home .ja-contact__intro::after { display: none; }
}

/* ---------- Enquiry form ---------- */
.ja-form { display: grid; gap: 22px; max-width: 640px; }
.ja-form__field { display: grid; gap: 8px; }
.ja-form label { color: var(--ja-ink); font-size: 16px; line-height: 1.4; }
.ja-form input,
.ja-form select,
.ja-form textarea {
	width: 100%;
	min-height: 52px;
	padding: 13px 16px;
	border: 1px solid #8A7C6B;
	border-radius: 2px;
	background-color: #FFFCF6;
	color: var(--ja-ink);
	font-family: var(--ja-body);
	font-size: 17px;
	line-height: 1.5;
	box-shadow: none;
}
.ja-form textarea { min-height: 148px; resize: vertical; }
.ja-form select {
	appearance: none;
	padding-right: 48px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%23252525' stroke-width='1.8'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 18px center;
}
.ja-form input:focus,
.ja-form select:focus,
.ja-form textarea:focus { border-color: var(--ja-ink); outline: 3px solid var(--ja-focus); outline-offset: 2px; }
.ja-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ja-form__actions { padding-top: 6px; }
.ja-form__status {
	margin: 0;
	padding: 14px 18px;
	border-left: 4px solid var(--ja-green);
	background: #FFFCF6;
	color: var(--ja-ink);
	font-size: 17px;
	line-height: 1.55;
}
.ja-form__status--demo { border-left-color: var(--ja-blue); }
.ja-form__status--error { border-left-color: #B3261E; }

/* ---------- 404 ---------- */
.ja-404 { padding: var(--ja-section) var(--ja-edge); }
.ja-404 h1 {
	margin: 0 0 16px;
	font-family: var(--ja-display);
	font-weight: 500;
	font-optical-sizing: none;
	font-variation-settings: "opsz" 6;
	font-size: clamp(44px, 6vw, 80px);
	line-height: 1.02;
	letter-spacing: -.02em;
}
.ja-404 p { max-width: 30em; margin: 0 0 32px; color: var(--ja-ink-soft); }
