/* ==========================================================================
   FhuluTech — warm editorial craft-studio design system
   Paper cream · forest ink · terracotta · gold
   ========================================================================== */

:root {
	--paper: #fbf6ec;
	--cream: #f3ead9;
	--ink: #1a2b22;
	--ink-soft: #41544a;
	--green: #1f5b41;
	--terra: #e4572e;
	--terra-deep: #c74420;
	--gold: #f4b942;
	--line: rgba(26, 43, 34, 0.92);
	--shadow: 7px 7px 0 rgba(26, 43, 34, 0.92);
	--shadow-sm: 4px 4px 0 rgba(26, 43, 34, 0.92);
	--radius: 20px;
	--font-display: "Fraunces", "Georgia", serif;
	--font-body: "Schibsted Grotesk", "Helvetica Neue", sans-serif;
	--wrap: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

/* Paper grain — gives the whole site a tactile, printed feel */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 4;
	opacity: 0.05;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a { color: var(--green); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }

:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; border-radius: 4px; }

.ft-wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.ft-skip {
	position: absolute; left: -999px; top: 8px; z-index: 100;
	background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: 8px;
}
.ft-skip:focus { left: 8px; }

/* ---------- Typography ---------- */

.ft-display {
	font-family: var(--font-display);
	font-weight: 640;
	font-variation-settings: "opsz" 110;
	font-size: clamp(2.6rem, 5.4vw, 4.4rem);
	line-height: 1.04;
	letter-spacing: -0.015em;
	margin: 0.3em 0 0.45em;
}

.ft-h2 {
	font-family: var(--font-display);
	font-weight: 600;
	font-variation-settings: "opsz" 80;
	font-size: clamp(1.9rem, 3.4vw, 2.8rem);
	line-height: 1.12;
	margin: 0.2em 0 0.9em;
	max-width: 21ch;
}

.ft-swash {
	font-style: italic;
	font-weight: 560;
	color: var(--terra);
}

.ft-eyebrow {
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--green);
	margin: 0 0 0.6em;
}
.ft-eyebrow--gold { color: var(--gold); }

.ft-lead { font-size: 1.18rem; max-width: 56ch; color: var(--ink-soft); }

/* ---------- Buttons ---------- */

.ft-btn {
	display: inline-block;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 1rem;
	color: var(--paper);
	background: var(--terra);
	border: 2px solid var(--line);
	border-radius: 999px;
	padding: 13px 26px;
	text-decoration: none;
	cursor: pointer;
	box-shadow: var(--shadow-sm);
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.ft-btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 rgba(26,43,34,.92); background: var(--terra-deep); }
.ft-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 rgba(26,43,34,.92); }

.ft-btn--big { font-size: 1.1rem; padding: 16px 32px; }
.ft-btn--small { font-size: 0.9rem; padding: 9px 20px; box-shadow: none; }
.ft-btn--ghost { background: transparent; color: var(--ink); }
.ft-btn--ghost:hover { background: var(--cream); }
.ft-btn--gold { background: var(--gold); color: var(--ink); }
.ft-btn--gold:hover { background: #ffca55; }
.ft-btn--card { background: var(--ink); width: 100%; text-align: center; margin-top: auto; }
.ft-btn--card:hover { background: var(--green); }

/* ---------- Nav ---------- */

.ft-nav {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--paper) 92%, transparent);
	backdrop-filter: blur(8px);
	border-bottom: 2px solid var(--line);
}
.ft-nav__inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }

.ft-brand {
	display: flex; align-items: center; gap: 10px;
	font-family: var(--font-display);
	font-size: 1.45rem; font-weight: 700;
	color: var(--ink); text-decoration: none; letter-spacing: -0.01em;
}
.ft-brand em { font-style: normal; color: var(--terra); }
.ft-brand__mark {
	display: grid; place-items: center;
	width: 38px; height: 38px;
	background: var(--green); color: var(--paper);
	font-size: 1.2rem;
	border: 2px solid var(--line); border-radius: 12px;
	box-shadow: 3px 3px 0 rgba(26,43,34,.92);
	transform: rotate(-6deg);
}
.ft-brand--light { color: var(--paper); }

.ft-nav__links { display: flex; align-items: center; gap: 26px; }
.ft-nav__links > a:not(.ft-btn) {
	color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.98rem;
	border-bottom: 2px solid transparent;
}
.ft-nav__links > a:not(.ft-btn):hover { border-bottom-color: var(--terra); }

.ft-burger { display: none; background: none; border: 2px solid var(--line); border-radius: 10px; padding: 9px 10px; cursor: pointer; }
.ft-burger span { display: block; width: 20px; height: 2.5px; background: var(--ink); margin: 4px 0; border-radius: 2px; transition: 0.2s; }

/* ---------- Hero ---------- */

.ft-hero { position: relative; overflow: hidden; padding: 72px 0 64px; }

.ft-hero__bg {
	position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(640px 420px at 86% 8%, rgba(244, 185, 66, 0.32), transparent 65%),
		radial-gradient(520px 420px at 6% 88%, rgba(31, 91, 65, 0.13), transparent 60%);
}
.ft-hero__bg::after {
	content: "✦";
	position: absolute; top: 10%; left: 46%;
	font-size: 1.6rem; color: var(--terra); opacity: 0.7;
}

.ft-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 56px;
	align-items: center;
}

.ft-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 26px 0 8px; }

.ft-trust {
	display: flex; flex-wrap: wrap; gap: 8px 26px;
	list-style: none; padding: 0; margin: 26px 0 0;
	font-size: 0.92rem; font-weight: 600; color: var(--ink-soft);
}
.ft-trust li::before { content: "✓ "; color: var(--green); font-weight: 800; }

.ft-assistant-frame {
	position: relative;
	background: var(--cream);
	border: 2px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	padding: 10px;
	transform: rotate(1.2deg);
}
.ft-assistant-frame__label {
	position: absolute; top: -16px; right: 26px;
	background: var(--gold); color: var(--ink);
	font-weight: 800; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase;
	border: 2px solid var(--line); border-radius: 999px;
	padding: 5px 14px;
	transform: rotate(2deg);
	box-shadow: 3px 3px 0 rgba(26,43,34,.92);
}

/* ---------- Marquee ---------- */

.ft-marquee {
	background: var(--ink); color: var(--gold);
	border-top: 2px solid var(--line); border-bottom: 2px solid var(--line);
	overflow: hidden; white-space: nowrap;
	padding: 13px 0;
	font-family: var(--font-display); font-style: italic; font-size: 1.05rem; letter-spacing: 0.04em;
}
.ft-marquee__track { display: inline-block; animation: ft-marquee 36s linear infinite; }
@keyframes ft-marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */

.ft-section { padding: 92px 0; }
.ft-section--tint { background: var(--cream); border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.ft-section--dark { background: var(--ink); color: var(--paper); }
.ft-section--dark .ft-h2 { color: var(--paper); max-width: 26ch; }
.ft-section--dark .ft-lead { color: rgba(251, 246, 236, 0.78); }

/* ---------- Grids & cards ---------- */

.ft-grid { display: grid; gap: 26px; margin-top: 44px; }
.ft-grid--4 { grid-template-columns: repeat(4, 1fr); }
.ft-grid--3 { grid-template-columns: repeat(3, 1fr); }

.ft-card {
	background: var(--paper);
	border: 2px solid var(--line);
	border-radius: var(--radius);
	padding: 26px 24px;
	box-shadow: var(--shadow-sm);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.ft-card:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow); }
.ft-card h3 { font-family: var(--font-display); font-size: 1.25rem; margin: 14px 0 8px; }
.ft-card p { margin: 0; color: var(--ink-soft); font-size: 0.98rem; }
.ft-card__icon {
	display: inline-grid; place-items: center;
	width: 54px; height: 54px;
	color: var(--terra);
	background: var(--cream);
	border: 1.5px solid var(--line);
	border-radius: 14px;
}
.ft-card__icon svg { display: block; }
.ft-card--link { text-decoration: none; color: inherit; display: block; }

.ft-section--tint .ft-card,
.ft-section--tint .ft-service:not(.ft-service--feature) { background: var(--paper); }

/* Services */

.ft-service {
	display: flex; flex-direction: column;
	background: var(--paper);
	border: 2px solid var(--line);
	border-radius: var(--radius);
	padding: 30px 26px;
	box-shadow: var(--shadow-sm);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.ft-service:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow); }
.ft-service.ft-service--feature { background: var(--green); color: var(--paper); }
.ft-service.ft-service--feature p, .ft-service.ft-service--feature li { color: rgba(251, 246, 236, 0.85); }
.ft-service.ft-service--feature h3 { color: var(--paper); }
.ft-service__icon {
	display: inline-grid; place-items: center;
	width: 60px; height: 60px;
	color: var(--green);
	background: var(--cream);
	border: 1.5px solid var(--line);
	border-radius: 16px;
}
.ft-service__icon svg { display: block; }
.ft-service.ft-service--feature .ft-service__icon { color: var(--gold); background: rgba(251, 246, 236, 0.12); border-color: rgba(251, 246, 236, 0.5); }
.ft-btn svg { vertical-align: -3.5px; margin-right: 7px; }
.ft-service h3 { font-family: var(--font-display); font-size: 1.5rem; margin: 14px 0 8px; }
.ft-service p { color: var(--ink-soft); }
.ft-service ul { padding: 0 0 0 2px; margin: 14px 0 24px; list-style: none; }
.ft-service li { padding: 5px 0 5px 26px; position: relative; font-size: 0.97rem; }
.ft-service li::before {
	content: "✦"; position: absolute; left: 0; top: 5px;
	color: var(--terra); font-size: 0.85rem;
}
.ft-service.ft-service--feature li::before { color: var(--gold); }

/* Steps */

.ft-steps {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
	list-style: none; padding: 0; margin: 44px 0 0;
	counter-reset: step;
}
.ft-step {
	position: relative;
	border-top: 2px solid var(--line);
	padding-top: 22px;
}
.ft-step__num {
	font-family: var(--font-display); font-style: italic; font-weight: 600;
	font-size: 3.2rem; line-height: 1; color: var(--terra);
}
.ft-step h3 { font-family: var(--font-display); font-size: 1.25rem; margin: 10px 0 8px; }
.ft-step p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }

/* About */

.ft-about { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: center; }

.ft-about__portrait { position: relative; }
.ft-portrait {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	background: var(--cream);
	border: 2px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	transform: rotate(-1.6deg);
}
.ft-about__badge {
	position: absolute; right: -14px; bottom: 26px;
	background: var(--gold);
	border: 2px solid var(--line); border-radius: 14px;
	padding: 10px 16px;
	font-weight: 800; font-size: 0.88rem; line-height: 1.3; text-align: center;
	box-shadow: var(--shadow-sm);
	transform: rotate(3deg);
}

.ft-stats { display: flex; gap: 38px; margin-top: 30px; flex-wrap: wrap; }
.ft-stats strong {
	display: block;
	font-family: var(--font-display); font-weight: 700;
	font-size: 2.3rem; color: var(--terra); line-height: 1.1;
}
.ft-stats span { font-size: 0.9rem; color: var(--ink-soft); font-weight: 600; }

/* Highlight */

.ft-highlight { text-align: center; max-width: 780px; }
.ft-highlight .ft-h2, .ft-highlight .ft-lead { margin-left: auto; margin-right: auto; }
.ft-highlight .ft-btn { margin-top: 28px; }

/* ---------- Footer ---------- */

.ft-footer { background: var(--ink); color: var(--paper); padding: 64px 0 28px; border-top: 2px solid var(--line); }
.ft-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.ft-footer__brand p { color: rgba(251, 246, 236, 0.7); margin-top: 16px; }
.ft-footer__col h4 {
	font-family: var(--font-display); font-style: italic;
	color: var(--gold); font-size: 1.05rem; margin: 0 0 14px;
}
.ft-footer__col a { display: block; color: rgba(251, 246, 236, 0.85); text-decoration: none; padding: 4px 0; }
.ft-footer__col a:hover { color: var(--gold); }
.ft-footer__legal {
	display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
	margin-top: 48px; padding-top: 20px;
	border-top: 1px solid rgba(251, 246, 236, 0.2);
	font-size: 0.88rem; color: rgba(251, 246, 236, 0.6);
}
.ft-footer__legal a { color: rgba(251, 246, 236, 0.75); }
.ft-footer__legal a:hover { color: var(--gold); }

/* Privacy/inner page prose */
.ft-prose h2 { font-family: var(--font-display); font-size: 1.5rem; margin: 1.6em 0 0.5em; }
.ft-prose li { margin: 4px 0; }

/* ---------- Inner pages ---------- */

.ft-page { padding: 72px 24px; min-height: 50vh; }
.ft-page h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); }
.ft-prose { max-width: 70ch; }

/* ---------- Reveal animation ---------- */

.ft-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.ft-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.ft-reveal { opacity: 1; transform: none; transition: none; }
	.ft-marquee__track { animation: none; }
	.ft-btn, .ft-card, .ft-service { transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
	.ft-hero__grid { grid-template-columns: 1fr; gap: 44px; }
	.ft-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.ft-grid--3 { grid-template-columns: 1fr; }
	.ft-steps { grid-template-columns: repeat(2, 1fr); }
	.ft-about { grid-template-columns: 1fr; gap: 44px; }
	.ft-about__portrait { max-width: 380px; }
	.ft-footer__inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 760px) {
	.ft-nav__links {
		display: none;
		position: absolute; top: 100%; left: 0; right: 0;
		flex-direction: column; align-items: flex-start;
		background: var(--paper);
		border-bottom: 2px solid var(--line);
		padding: 18px 24px 24px; gap: 16px;
	}
	.ft-nav__links.is-open { display: flex; }
	.ft-burger { display: block; }
	.ft-steps { grid-template-columns: 1fr; }
	.ft-grid--4 { grid-template-columns: 1fr; }
	.ft-section { padding: 64px 0; }
	.ft-hero { padding: 48px 0; }
	.ft-assistant-frame { transform: none; }
}
