/*
Theme Name:   D Forma Studio
Theme URI:    https://dformax.com
Description:  Child theme of Hello Elementor for D Forma Studio — a boutique women's wellness studio. Contains the full one-page site (home + contact anchor), brand tokens, and the contact form handler. All custom code lives here, so parent theme and Elementor updates never overwrite it.
Author:       D Forma Studio
Author URI:   https://dformax.com
Template:     hello-elementor
Version:      1.0.0
Text Domain:  dforma
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:         one-page, elementor, wellness
*/

/* =========================================================================
   1. BRAND TOKENS
   The four Pantone values from the brand sheet, plus the working values
   derived from them. Change a colour here and it changes everywhere.
   ========================================================================= */

:root {
	/* Core palette — PANTONE P 11-2 U / P 42-1 U / P 23-4 U / P 17-2 U */
	--df-cream: #fff4eb;
	--df-sky: #b0cfeb;
	--df-blue: #81a2bc;
	--df-taupe: #6d665a;

	/* Working values — all four are the brand codes, unmodified. Only
	   transparency is used, never a different hue. Text is set in taupe on
	   cream or cream on taupe (both above 5:1); blue and sky do the graphic
	   work — rules, fields and panels — where contrast is not a factor. */
	--df-taupe-soft: rgba(109, 102, 90, 0.92);
	--df-line: rgba(109, 102, 90, 0.22);
	--df-line-strong: rgba(109, 102, 90, 0.6);
	--df-blue-rule: rgba(129, 162, 188, 0.85);
	--df-line-light: rgba(255, 244, 235, 0.28);
	--df-blue-wash: rgba(176, 207, 235, 0.28);

	/* Type */
	--df-display: "ogg", "Ogg Display", "Cormorant Garamond", "Times New Roman", serif;
	--df-body: "Jost", "Futura", "Helvetica Neue", Helvetica, Arial, sans-serif;

	--df-fs-hero: clamp(1.9rem, 4.6vw, 3.4rem);
	--df-fs-h2: clamp(2.2rem, 5.2vw, 4rem);
	--df-fs-h3: clamp(1.5rem, 2.6vw, 2.1rem);
	--df-fs-quote: clamp(1.8rem, 4.2vw, 3.2rem);
	--df-fs-body: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
	--df-fs-small: 0.8125rem;
	--df-fs-eyebrow: 0.6875rem;

	--df-track-eyebrow: 0.32em;
	--df-track-display: -0.015em;

	/* Layout */
	--df-max: 1240px;
	--df-gutter: clamp(1.25rem, 5vw, 4rem);
	--df-section-y: clamp(5rem, 11vw, 9rem);
	--df-header-h: 84px;

	/* Motion */
	--df-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--df-speed: 0.55s;
}

/* =========================================================================
   2. BASE
   ========================================================================= */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: var(--df-header-h);
}

body.dforma {
	margin: 0;
	background: var(--df-cream);
	color: var(--df-taupe);
	font-family: var(--df-body);
	font-size: var(--df-fs-body);
	font-weight: 300;
	line-height: 1.72;
	letter-spacing: 0.005em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

body.dforma.df-nav-open {
	overflow: hidden;
}

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

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

button {
	font: inherit;
	color: inherit;
	cursor: pointer;
}

/* Visible keyboard focus everywhere, never a mouse-only outline */
:where(a, button, input, textarea, select, [tabindex]):focus-visible {
	outline: 2px solid var(--df-taupe);
	outline-offset: 3px;
	/* Taupe, not blue: the brand blue sits at 2.5:1 on cream and would be an
	   invisible focus ring for anyone navigating by keyboard. */
	border-radius: 2px;
}

.df-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	padding: 0.9rem 1.4rem;
	background: var(--df-taupe);
	color: var(--df-cream);
	font-size: var(--df-fs-small);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.df-skip:focus {
	left: 1rem;
	top: 1rem;
}

.df-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* =========================================================================
   3. TYPE ROLES
   Ogg is a high-contrast display face. It is used large and sparingly;
   Jost carries every functional word on the page.
   ========================================================================= */

.df-display,
.df-h1,
.df-h2,
.df-h3,
.df-quote {
	font-family: var(--df-display);
	font-weight: 300;
	letter-spacing: var(--df-track-display);
	line-height: 1.02;
	margin: 0;
}

.df-h1 {
	font-size: var(--df-fs-hero);
}

.df-h2 {
	font-size: var(--df-fs-h2);
	line-height: 1.06;
}

.df-h3 {
	font-size: var(--df-fs-h3);
	line-height: 1.15;
}

.df-quote {
	font-size: var(--df-fs-quote);
	line-height: 1.16;
	font-style: italic;
}

.df-eyebrow {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-family: var(--df-body);
	font-size: var(--df-fs-eyebrow);
	font-weight: 400;
	letter-spacing: var(--df-track-eyebrow);
	text-transform: uppercase;
	color: var(--df-taupe);
	margin: 0 0 1.6rem;
}

/* The blue accent moves from the letterforms to a rule beside them, where it
   carries colour without having to carry legibility. */
.df-eyebrow::before {
	content: "";
	flex: 0 0 auto;
	width: 28px;
	height: 1px;
	background: var(--df-blue);
}

.df-community .df-eyebrow,
.df-soon__eyebrow {
	justify-content: center;
}

.df-lede {
	font-size: clamp(1.1rem, 1rem + 0.6vw, 1.4rem);
	line-height: 1.62;
	font-weight: 300;
}

.df-body p {
	margin: 0 0 1.35em;
}

.df-body p:last-child {
	margin-bottom: 0;
}

/* =========================================================================
   4. LAYOUT PRIMITIVES
   ========================================================================= */

.df-wrap {
	width: 100%;
	max-width: var(--df-max);
	margin-inline: auto;
	padding-inline: var(--df-gutter);
}

.df-section {
	position: relative;
	padding-block: var(--df-section-y);
}

/* Only the one-page layout opens with a full-height hero. Everywhere else
   the content needs clearing for the fixed header. */
body:not(.df-page) .df-main {
	padding-top: var(--df-header-h);
}

.df-section--cream {
	background: var(--df-cream);
}

/* The page is one unbroken beige field, so a hairline marks where each
   section begins. Without it the sections dissolve into each other. */
.df-section + .df-section {
	border-top: 1px solid var(--df-line);
}

.df-rule {
	height: 1px;
	background: var(--df-line);
	border: 0;
	margin: 0;
}

/* =========================================================================
   5. BUTTONS
   ========================================================================= */

.df-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	padding: 1.05rem 2.1rem;
	font-size: var(--df-fs-small);
	font-weight: 400;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	border: 1px solid var(--df-taupe);
	background: var(--df-taupe);
	color: var(--df-cream);
	border-radius: 999px;
	transition: background var(--df-speed) var(--df-ease),
		color var(--df-speed) var(--df-ease),
		border-color var(--df-speed) var(--df-ease),
		transform 0.3s var(--df-ease);
	will-change: transform;
}

.df-btn:hover {
	background: var(--df-cream);
	border-color: var(--df-taupe);
	color: var(--df-taupe);
	transform: translateY(-2px);
}

.df-btn--ghost {
	background: transparent;
	color: var(--df-taupe);
	border-color: var(--df-line);
}

.df-btn--ghost:hover {
	background: var(--df-taupe);
	border-color: var(--df-taupe);
	color: var(--df-cream);
}

.df-btn--cream {
	background: var(--df-cream);
	border-color: var(--df-cream);
	color: var(--df-taupe);
}

.df-btn--cream:hover {
	background: transparent;
	border-color: var(--df-cream);
	color: var(--df-cream);
}

.df-btn[disabled] {
	opacity: 0.55;
	pointer-events: none;
}

/* =========================================================================
   6. HEADER
   ========================================================================= */

.df-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	height: var(--df-header-h);
	display: flex;
	align-items: center;
	background: transparent;
	transition: background 0.45s var(--df-ease), height 0.45s var(--df-ease),
		box-shadow 0.45s var(--df-ease);
}

.admin-bar .df-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .df-header {
		top: 46px;
	}
}

.df-header.is-stuck {
	height: 68px;
	background: var(--df-cream);
	box-shadow: 0 1px 0 var(--df-line);
}

.df-header__inner {
	width: 100%;
	max-width: var(--df-max);
	margin-inline: auto;
	padding-inline: var(--df-gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.df-brand {
	display: block;
	flex: 0 0 auto;
	line-height: 0;
}

.df-brand img {
	width: auto;
	height: clamp(30px, 3.4vw, 42px);
	transition: height 0.45s var(--df-ease);
}

.df-header.is-stuck .df-brand img {
	height: 30px;
}

.df-nav {
	display: flex;
	align-items: center;
	gap: clamp(1.4rem, 2.6vw, 2.6rem);
}

.df-nav__list {
	display: flex;
	align-items: center;
	gap: clamp(1.4rem, 2.4vw, 2.4rem);
	list-style: none;
	margin: 0;
	padding: 0;
}

.df-nav__link {
	position: relative;
	font-size: var(--df-fs-small);
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--df-taupe);
	padding-block: 0.35rem;
}

.df-nav__link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 1px;
	background: var(--df-taupe);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s var(--df-ease);
}

.df-nav__link:hover::after,
.df-nav__link.is-active::after {
	transform: scaleX(1);
}

.df-header__cta {
	padding: 0.78rem 1.5rem;
	font-size: 0.75rem;
}

/* Mobile toggle — two rules that cross into an X */
.df-burger {
	display: none;
	position: relative;
	z-index: 2;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	position: relative;
}

.df-burger span {
	position: absolute;
	left: 11px;
	width: 22px;
	height: 1px;
	background: var(--df-taupe);
	transition: transform 0.4s var(--df-ease), opacity 0.25s linear;
}

.df-burger span:nth-child(1) {
	top: 18px;
}

.df-burger span:nth-child(2) {
	top: 25px;
}

.df-nav-open .df-burger span:nth-child(1) {
	transform: translateY(3.5px) rotate(45deg);
}

.df-nav-open .df-burger span:nth-child(2) {
	transform: translateY(-3.5px) rotate(-45deg);
}

/* =========================================================================
   7. HERO
   ========================================================================= */

.df-hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	align-items: center;
	isolation: isolate;
	padding-top: calc(var(--df-header-h) + 3rem);
	padding-bottom: clamp(4rem, 9vw, 7rem);
	overflow: hidden;
	background: var(--df-cream);
}

/* The soft field behind the wordmark: a wide, low arc that echoes the O
   of FORMA. Sits under the type, never competes with it. */
.df-hero__field {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -46%);
	width: min(112vw, 1500px);
	aspect-ratio: 1 / 1;
	max-height: 128vh;
	border-radius: 50%;
	background: radial-gradient(
		circle at 50% 45%,
		var(--df-blue-wash) 0%,
		rgba(176, 207, 235, 0.14) 46%,
		rgba(176, 207, 235, 0) 68%
	);
	pointer-events: none;
}

.df-hero__inner {
	position: relative;
	z-index: 2;
	width: 100%;
}

.df-hero__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}

/* Four photographs, two columns, the right column dropped so the cluster
   reads as a spread rather than a tile pattern. */
.df-hero__gallery {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(0.5rem, 1.1vw, 0.9rem);
	align-items: start;
	width: 100%;
	max-width: 560px;
	margin-inline-start: auto;
}

.df-hero__gallery .df-frame:nth-child(2),
.df-hero__gallery .df-frame:nth-child(4) {
	transform: translateY(clamp(1.2rem, 3.5vw, 3rem));
}

.df-hero__mark {
	width: min(74vw, 520px);
	margin: 0 0 clamp(1.8rem, 3.5vw, 2.6rem);
}

.df-hero__title {
	line-height: 1.12;
	color: var(--df-taupe);
}

.df-hero__title em {
	font-style: italic;
	color: var(--df-taupe);
}

.df-hero__lede {
	max-width: 40ch;
	margin: clamp(1.4rem, 2.6vw, 2rem) 0 0;
	color: var(--df-taupe);
}

.df-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem;
	margin-top: clamp(2.2rem, 4vw, 3.2rem);
}

.df-hero__meta {
	position: absolute;
	left: var(--df-gutter);
	right: var(--df-gutter);
	bottom: clamp(1.5rem, 3vw, 2.4rem);
	z-index: 2;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 1rem;
	font-size: var(--df-fs-eyebrow);
	letter-spacing: var(--df-track-eyebrow);
	text-transform: uppercase;
	color: var(--df-taupe-soft);
}

.df-hero__scroll {
	display: inline-flex;
	align-items: center;
	gap: 0.7rem;
}

.df-hero__scroll::after {
	content: "";
	width: 46px;
	height: 1px;
	background: var(--df-taupe);
	transform-origin: left;
	animation: df-draw 2.6s var(--df-ease) infinite;
}

@keyframes df-draw {
	0%,
	100% {
		transform: scaleX(0.25);
		opacity: 0.5;
	}
	50% {
		transform: scaleX(1);
		opacity: 1;
	}
}


/* =========================================================================
   7b. IMAGE FRAMES
   One frame component for every photograph on the page. Images fill their
   frame and lift very slightly on hover; the ratio is set per modifier so
   the layout reserves space before the image loads.
   ========================================================================= */

.df-frame {
	position: relative;
	margin: 0;
	overflow: hidden;
	background: var(--df-blue-wash);
}

.df-frame__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 1.4s var(--df-ease);
}

.df-frame:hover .df-frame__img {
	transform: scale(1.035);
}

.df-frame--portrait .df-frame__img {
	aspect-ratio: 3 / 4;
}

.df-frame--tall .df-frame__img {
	aspect-ratio: 4 / 5;
}


/* Shown only to logged-in editors, so visitors never see scaffolding. */
.df-frame__hint {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 0.5rem 0.7rem;
	background: rgba(52, 48, 42, 0.78);
	color: var(--df-cream);
	font-size: 0.625rem;
	line-height: 1.35;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-align: center;
}

@media (prefers-reduced-motion: reduce) {
	.df-frame:hover .df-frame__img {
		transform: none;
	}
}

/* =========================================================================
   8. SIGNATURE — THE THREAD
   A single hairline drawn from the loop in the studio wordmark. It runs
   between sections and draws itself as you scroll. This is the one piece
   of ornament on the page; everything else stays quiet.
   ========================================================================= */

.df-thread {
	display: block;
	width: min(100%, 620px);
	margin-inline: auto;
	height: auto;
	overflow: visible;
}

.df-thread path {
	fill: none;
	stroke: var(--df-blue);
	stroke-width: 1.75;
	stroke-linecap: round;
	stroke-dasharray: var(--df-thread-len, 1400);
	stroke-dashoffset: var(--df-thread-len, 1400);
	transition: stroke-dashoffset 2.4s var(--df-ease);
}

.df-thread.is-drawn path {
	stroke-dashoffset: 0;
}

/* =========================================================================
   9. ABOUT
   ========================================================================= */

.df-about__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(2.5rem, 7vw, 6rem);
	align-items: center;
}

.df-about__media {
	position: sticky;
	top: calc(var(--df-header-h) + 2rem);
}

.df-about__body .df-h2 {
	margin-bottom: clamp(1.4rem, 3vw, 2rem);
}

.df-about__body .df-h2 em {
	font-style: italic;
	color: var(--df-taupe);
}

.df-about__body {
	max-width: 68ch;
}

.df-about__body .df-lede {
	margin: 0 0 1.6em;
}

.df-signoff {
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
	padding-top: 1.8rem;
	border-top: 1px solid var(--df-line);
	font-family: var(--df-display);
	font-size: clamp(1.25rem, 2.2vw, 1.7rem);
	font-style: italic;
	line-height: 1.3;
	color: var(--df-taupe);
}

/* =========================================================================
   10. THE SIGNATURE CLASS
   Four panels, no gaps, alternating cream and taupe: one object made of four
   equal parts, which is what the class actually is. The sky field behind
   holds them together. All copy sits on cream or taupe, never on the mid
   blues, so every line clears contrast without touching the palette.
   ========================================================================= */

.df-experience__head {
	margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.df-experience__intro {
	margin: clamp(1.2rem, 2.5vw, 1.8rem) 0 0;
	max-width: 48ch;
	color: var(--df-taupe);
}

/* Four tiles across, one row, equal height. A thin hairline border, square
   corners, no fill — the beige field shows through. The icon carries no frame
   of its own: inside an already-ruled tile a second border is a box in a box,
   and the inner one always loses.

   Proportioned to read as a square: about 263 wide by 283 tall at full width,
   with every title reserving two lines so the four descriptions start level. */
.df-options {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(0.75rem, 1.5vw, 1.25rem);
	list-style: none;
	margin: 0;
	padding: 0;
}

.df-option {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	list-style: none;
	padding: clamp(1.4rem, 2.4vw, 1.9rem);
	border: 1px solid var(--df-blue-rule);
	transition: border-color 0.5s var(--df-ease);
}

.df-option:hover {
	border-color: var(--df-taupe);
}

.df-option__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: clamp(34px, 3.2vw, 42px);
	aspect-ratio: 1 / 1;
	margin-bottom: clamp(0.9rem, 1.6vw, 1.2rem);
	color: var(--df-taupe);
}

.df-option__icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

/* Two lines reserved for every title. "TRX" is one line and "Holistic
   movement" is two — without this the four descriptions start on different
   baselines and the row looks careless. */
.df-option__name {
	font-family: var(--df-display);
	font-weight: 300;
	font-size: clamp(1.2rem, 1.7vw, 1.55rem);
	line-height: 1.14;
	letter-spacing: var(--df-track-display);
	min-height: 2.28em;
	margin: 0 0 0.6rem;
	color: var(--df-taupe);
}

.df-option__text {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.62;
	color: var(--df-taupe);
}

@media (max-width: 1024px) {
	.df-options {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.df-options {
		grid-template-columns: 1fr;
	}

	.df-option__name {
		min-height: 0;
	}
}

.df-experience__note {
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
	max-width: 52ch;
	color: var(--df-taupe);
}

/* =========================================================================
   11. COMMUNITY
   ========================================================================= */

.df-community {
	text-align: center;
}


.df-community__quote {
	max-width: 30ch;
	margin-inline: auto;
	color: var(--df-taupe);
}

.df-community__quote span {
	color: var(--df-sky);
}

.df-community__body {
	max-width: 56ch;
	margin: clamp(2rem, 4vw, 3rem) auto 0;
	color: var(--df-taupe);
}

.df-community__thread {
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

/* =========================================================================
   12. CONTACT
   ========================================================================= */

.df-contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: clamp(3rem, 7vw, 6rem);
	align-items: start;
}

.df-contact__head {
	margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

/* --- Form --- */
.df-form {
	display: grid;
	gap: 1.6rem;
}

.df-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.6rem;
}

.df-field {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.df-field label {
	font-size: var(--df-fs-eyebrow);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--df-taupe-soft);
}

.df-field input,
.df-field textarea,
.df-field select {
	width: 100%;
	padding: 0.85rem 0;
	font-family: var(--df-body);
	font-size: 1rem;
	font-weight: 300;
	color: var(--df-taupe);
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--df-line-strong);
	border-radius: 0;
	transition: border-color 0.4s var(--df-ease);
	appearance: none;
}

.df-field select {
	cursor: pointer;
	background-image: linear-gradient(45deg, transparent 50%, var(--df-blue) 50%),
		linear-gradient(135deg, var(--df-blue) 50%, transparent 50%);
	background-position: calc(100% - 9px) center, calc(100% - 4px) center;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	padding-right: 1.8rem;
}

.df-field textarea {
	min-height: 118px;
	resize: vertical;
	line-height: 1.6;
}

.df-field input:focus,
.df-field textarea:focus,
.df-field select:focus {
	outline: none;
	border-bottom-color: var(--df-taupe);
}

.df-field input:focus-visible,
.df-field textarea:focus-visible,
.df-field select:focus-visible {
	outline: 2px solid var(--df-taupe);
	outline-offset: 4px;
}

.df-field input::placeholder,
.df-field textarea::placeholder {
	color: rgba(109, 102, 90, 0.6);
}

.df-field.has-error input,
.df-field.has-error textarea {
	border-bottom-color: #b4553f;
}

.df-field__error {
	font-size: 0.75rem;
	letter-spacing: 0.04em;
	color: #b4553f;
	min-height: 0;
}

/* Honeypot — hidden from people, visible to bots */
.df-hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.df-form__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.2rem;
	margin-top: 0.4rem;
}

.df-form__consent {
	font-size: 0.75rem;
	line-height: 1.5;
	color: var(--df-taupe-soft);
	max-width: 34ch;
}

.df-form__status {
	margin: 0;
	padding: 0.95rem 1.15rem;
	font-size: 0.875rem;
	line-height: 1.5;
	border-left: 2px solid var(--df-blue);
	background: var(--df-blue-wash);
	color: var(--df-taupe);
}

.df-form__status[hidden] {
	display: none;
}

.df-form__status.is-error {
	border-left-color: #b4553f;
	background: rgba(180, 85, 63, 0.09);
}

/* --- Details column --- */
.df-details {
	display: grid;
	gap: 2.2rem;
}

.df-detail__label {
	display: block;
	font-size: var(--df-fs-eyebrow);
	letter-spacing: var(--df-track-eyebrow);
	text-transform: uppercase;
	color: var(--df-taupe);
	margin-bottom: 0.6rem;
}

.df-detail__value {
	font-family: var(--df-display);
	font-size: clamp(1.25rem, 2.2vw, 1.65rem);
	font-weight: 300;
	line-height: 1.35;
	letter-spacing: var(--df-track-display);
	color: var(--df-taupe);
	margin: 0;
}

.df-detail__value a:hover {
	color: var(--df-taupe);
}

.df-detail__note {
	margin: 0.5rem 0 0;
	font-size: 0.875rem;
	color: var(--df-taupe-soft);
}

.df-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.df-social {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.6rem 1.1rem 0.6rem 0.9rem;
	border: 1px solid var(--df-line);
	border-radius: 999px;
	font-size: var(--df-fs-small);
	letter-spacing: 0.1em;
	transition: background 0.4s var(--df-ease), border-color 0.4s var(--df-ease),
		color 0.4s var(--df-ease);
}

.df-social svg {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
	fill: currentColor;
}

.df-social:hover {
	background: var(--df-taupe);
	border-color: var(--df-taupe);
	color: var(--df-cream);
}

/* --- Map --- */
.df-map {
	margin-top: clamp(3.5rem, 7vw, 5.5rem);
	border: 1px solid var(--df-line);
	background: var(--df-sky);
	overflow: hidden;
}

.df-map iframe {
	display: block;
	width: 100%;
	height: clamp(280px, 42vw, 460px);
	border: 0;
	filter: saturate(0.72) contrast(0.95);
}

/* =========================================================================
   13. FOOTER
   ========================================================================= */

.df-footer {
	background: var(--df-taupe);
	color: var(--df-cream);
	padding-block: clamp(3.5rem, 7vw, 5rem) clamp(2rem, 4vw, 2.5rem);
}

.df-footer__top {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 2.5rem;
	padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
	border-bottom: 1px solid var(--df-line-light);
}

.df-footer__mark {
	width: min(60vw, 320px);
}

.df-footer__tag {
	font-family: var(--df-display);
	font-style: italic;
	font-size: clamp(1.1rem, 2vw, 1.5rem);
	line-height: 1.3;
	max-width: 20ch;
	margin: 0;
	color: var(--df-cream);
}

.df-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 1.8rem;
	font-size: 0.75rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(255, 244, 235, 0.9);
}

.df-footer__bottom a:hover {
	color: var(--df-cream);
}

.df-footer__links {
	display: flex;
	flex-wrap: wrap;
	gap: 1.4rem;
}

.df-footer__credit {
	white-space: nowrap;
}

.df-footer__credit:hover {
	color: var(--df-sky);
}


/* =========================================================================
   13b. COMING SOON
   A standalone screen. No header, no footer — the wordmark carries it, and
   the only thing the page asks for is an email address.
   ========================================================================= */

.df-soon-page {
	min-height: 100svh;
	display: flex;
}

.df-soon {
	position: relative;
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	padding: clamp(3rem, 9vw, 6rem) var(--df-gutter);
	background: var(--df-cream);
}

.df-soon__inner {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 620px;
	text-align: center;
}

.df-soon__mark {
	width: min(82vw, 460px);
	margin: 0 auto clamp(2rem, 4.5vw, 3rem);
}

.df-soon__eyebrow {
	margin-bottom: 1rem;
}

.df-soon__title {
	font-family: var(--df-display);
	font-weight: 300;
	font-size: clamp(1.8rem, 5.4vw, 2.9rem);
	line-height: 1.14;
	letter-spacing: var(--df-track-display);
	margin: 0;
	color: var(--df-taupe);
}

.df-soon__title em {
	font-style: italic;
	color: var(--df-taupe);
}

.df-soon__date {
	margin: 1.4rem 0 0;
	font-size: var(--df-fs-small);
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--df-taupe);
}

.df-soon__message {
	margin: clamp(1.4rem, 3vw, 2rem) auto 0;
	max-width: 46ch;
	color: var(--df-taupe);
}

.df-soon__status {
	margin-top: clamp(1.6rem, 3vw, 2.2rem);
	text-align: left;
}

.df-soon__form {
	margin-top: clamp(1.8rem, 4vw, 2.6rem);
}

.df-soon__field {
	text-align: left;
}

/* Field and button share one baseline rule, so the pair reads as one control. */
.df-soon__inline {
	display: flex;
	align-items: flex-end;
	gap: 0.9rem;
}

.df-soon__inline input {
	flex: 1 1 auto;
	min-width: 0;
}

.df-soon__inline .df-btn {
	flex: 0 0 auto;
	white-space: nowrap;
}

.df-soon__foot {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.6rem;
	margin-top: clamp(2.2rem, 5vw, 3rem);
}

.df-soon__thread {
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.df-soon__thread .df-thread {
	width: min(100%, 400px);
}

@media (max-width: 520px) {
	.df-soon__inline {
		flex-direction: column;
		align-items: stretch;
		gap: 1.2rem;
	}

	.df-soon__inline .df-btn {
		width: 100%;
	}
}

/* =========================================================================
   14. SCROLL REVEAL
   ========================================================================= */

.df-reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity 0.9s var(--df-ease), transform 0.9s var(--df-ease);
}

.df-reveal.is-in {
	opacity: 1;
	transform: none;
}

.df-reveal[data-delay="1"] {
	transition-delay: 0.09s;
}

.df-reveal[data-delay="2"] {
	transition-delay: 0.18s;
}

.df-reveal[data-delay="3"] {
	transition-delay: 0.27s;
}

/* =========================================================================
   15. RESPONSIVE
   ========================================================================= */

@media (max-width: 1024px) {
	/* .df-hero is a flex row on desktop. Below this width .df-hero__meta
	   returns to the flow, and as a flex item it lined up beside the copy
	   instead of under it — which is what squeezed the text into half the
	   screen. Block layout stacks them correctly. */
	.df-hero {
		display: block;
	}

	.df-hero__layout,
	.df-about__grid,
	.df-contact__grid {
		grid-template-columns: 1fr;
	}

	.df-about__media {
		position: static;
		max-width: 520px;
	}

	.df-hero {
		min-height: 0;
	}

	.df-hero__gallery {
		margin-top: clamp(2.5rem, 6vw, 4rem);
		max-width: none;
		margin-inline: 0;
	}

	.df-hero__meta {
		position: static;
		margin-top: clamp(2.5rem, 5vw, 3.5rem);
		padding-inline: var(--df-gutter);
	}

	/* The dropped column is a desktop refinement; on one column it just
	   creates a gap at the end. */
	.df-hero__gallery .df-frame:nth-child(2),
	.df-hero__gallery .df-frame:nth-child(4) {
		transform: translateY(clamp(0.8rem, 2.5vw, 1.6rem));
	}
}

@media (max-width: 860px) {
	:root {
		--df-header-h: 68px;
	}

	.df-burger {
		display: block;
	}

	.df-header__cta {
		display: none;
	}

	.df-nav {
		position: fixed;
		inset: 0;
		z-index: 1;
		flex-direction: column;
		align-items: flex-start;
		justify-content: center;
		gap: 2rem;
		padding: var(--df-header-h) var(--df-gutter) 3rem;
		background: var(--df-cream);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-12px);
		transition: opacity 0.45s var(--df-ease), transform 0.45s var(--df-ease),
			visibility 0.45s;
	}

	.df-nav-open .df-nav {
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.df-nav__list {
		flex-direction: column;
		align-items: flex-start;
		gap: 1.5rem;
	}

	.df-nav__link {
		font-family: var(--df-display);
		font-size: clamp(2rem, 9vw, 3rem);
		letter-spacing: var(--df-track-display);
		text-transform: none;
	}

	.df-nav__link::after {
		display: none;
	}

	.df-nav .df-btn {
		margin-top: 0.5rem;
	}

	.df-form__row {
		grid-template-columns: 1fr;
	}

	.df-hero__meta {
		font-size: 0.625rem;
	}

	.df-footer__top {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (max-width: 520px) {
	.df-hero__mark {
		width: 86vw;
	}

	.df-hero__actions .df-btn {
		width: 100%;
	}

	.df-hero__meta {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.4rem;
	}
}

/* =========================================================================
   16. MOTION PREFERENCES & PRINT
   ========================================================================= */

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

	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
	}

	.df-reveal {
		opacity: 1;
		transform: none;
	}

	.df-thread path {
		stroke-dashoffset: 0;
	}
}

@media print {
	.df-header,
	.df-map,
	.df-form {
		display: none;
	}

	body.dforma {
		background: #fff;
		color: #000;
	}
}

/* =========================================================================
   17. ELEMENTOR BRIDGE
   Brand tokens are exposed to any Elementor section built later, so
   widgets dropped onto the page inherit the same palette and type.
   ========================================================================= */

.elementor-widget-container h1,
.elementor-widget-container h2,
.elementor-widget-container h3,
.elementor-widget-container h4 {
	font-family: var(--df-display);
	font-weight: 300;
	letter-spacing: var(--df-track-display);
}

.elementor-button {
	font-family: var(--df-body);
	letter-spacing: 0.2em;
	text-transform: uppercase;
	border-radius: 999px;
}

.elementor-section.df-section {
	padding-block: var(--df-section-y);
}

/* The four brand codes, exposed under names Elementor and the block editor
   can reach, so anything built later starts from the same palette. */
.has-df-cream-color { color: #fff4eb; }
.has-df-sky-color { color: #b0cfeb; }
.has-df-blue-color { color: #81a2bc; }
.has-df-taupe-color { color: #6d665a; }
.has-df-cream-background-color { background-color: #fff4eb; }
.has-df-sky-background-color { background-color: #b0cfeb; }
.has-df-blue-background-color { background-color: #81a2bc; }
.has-df-taupe-background-color { background-color: #6d665a; }
