/* ==========================================================================
   FUTURE FIT IT — bold, modern, colourful technology & business consultancy.
   A deliberately lean one-page placeholder: immersive gradient hero, concise
   contact panel, Space Grotesk display type and Plus Jakarta Sans body copy.
   ========================================================================== */

:root {
  /* — neutrals — */
  --white:  #ffffff;
  --tint:   #fff4ee;   /* warm peach band             */
  --ink:    #2a1522;   /* warm near-black headings     */
  --body:   #6b5560;   /* warm grey body               */
  --muted:  #9a8992;   /* captions                     */
  --line:   #f2e7ec;   /* light warm borders           */
  --dark:   #2a0f1e;   /* footer / dark surfaces       */

  /* — brand colour (warm & punchy) — */
  --brand:       #f5344f;  /* punchy coral-red — decorative accent      */
  --brand-ink:   #cf1f5c;  /* deep rose — text/links on white (AA 5.2:1)*/
  --field-border:#9b8a82;  /* warm accessible input boundary (3.3:1 on white) */
  /* UI gradient — legible for white text on buttons & as text on white */
  --grad:      linear-gradient(120deg, #d81b73, #dd1c50 48%, #e5203f);
  /* immersive sunny hero gradient — the amber/gold shows here */
  --grad-hero: linear-gradient(150deg, #e11d74 0%, #f5344f 30%, #ff5a3c 58%, #ff8f2c 86%, #ffb43d 120%);

  /* — type — */
  --display: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font:    "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* — rhythm — */
  --maxw: 75rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 8vw, 7rem);
  --radius: 16px;
  --radius-lg: 20px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-md: 0 8px 24px -8px rgba(42, 21, 34, 0.10), 0 40px 60px -34px rgba(216, 27, 115, 0.38);
  --shadow-brand: 0 12px 28px -10px rgba(229, 32, 63, 0.50);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--body);
  font-family: var(--font);
  font-size: clamp(1rem, 0.97rem + 0.2vw, 1.12rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

svg { display: block; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(245, 52, 79, 0.16); }

h1, h2, h3 { font-family: var(--display); color: var(--ink); font-weight: 700; margin: 0; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }

.skip-link {
  position: fixed; top: 0; left: 50%; transform: translate(-50%, -130%);
  z-index: 300; padding: 0.65rem 1.1rem; background: var(--ink); color: #fff;
  font-weight: 600; border-radius: 0 0 12px 12px; transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }
:focus-visible { outline: 3px solid var(--brand-ink); outline-offset: 3px; border-radius: 6px; }

/* keyword emphasis — a solid coral underline (the page's one signature motif) */
.mark { position: relative; white-space: nowrap; color: var(--ink); }
.mark::after {
  content: ""; position: absolute; left: -0.03em; right: -0.03em; bottom: 0.04em;
  height: 0.15em; background: var(--brand); border-radius: 2px; z-index: -1;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.65rem; font-weight: 800; font-size: 0.8rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-ink);
  margin: 0 0 1.1rem;
}
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: var(--brand); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font); font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 0.95rem 1.7rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background-color 0.2s var(--ease), color 0.2s var(--ease), filter 0.2s var(--ease);
}
.btn--brand { background: var(--grad); color: #fff; box-shadow: var(--shadow-brand); background-size: 140% 140%; }
.btn--brand:hover { transform: translateY(-2px); filter: saturate(1.08) brightness(1.03); box-shadow: 0 18px 34px -10px rgba(229, 32, 63, 0.55); }
.btn--light { background: #fff; color: var(--ink); box-shadow: 0 12px 30px -12px rgba(24, 15, 51, 0.5); }
.btn--light:hover { transform: translateY(-2px); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--line); box-shadow: 0 8px 30px -22px rgba(24, 15, 51, 0.5); }
.nav__inner { max-width: var(--maxw); margin-inline: auto; padding: 0.75rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; color: var(--ink); }
.brand__mark { width: 34px; height: 34px; flex: none; border-radius: 10px; box-shadow: var(--shadow-brand); }
.brand__it {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: var(--grad-hero); color: #fff; isolation: isolate;
  display: flex; align-items: center; min-height: 90vh; }
.hero__aurora { position: absolute; inset: -20% -10% 0; z-index: -1; filter: blur(60px); opacity: 0.8; }
.hero__aurora span { position: absolute; border-radius: 50%; }
.hero__aurora span:nth-child(1) { width: 46vw; height: 46vw; left: -8%; top: -6%; background: #ff4d8d; animation: drift1 22s var(--ease) infinite alternate; }
.hero__aurora span:nth-child(2) { width: 42vw; height: 42vw; right: -6%; top: 8%; background: #ffb43d; animation: drift2 26s var(--ease) infinite alternate; }
.hero__aurora span:nth-child(3) { width: 38vw; height: 38vw; left: 30%; bottom: -18%; background: #ff5a3c; animation: drift3 20s var(--ease) infinite alternate; }
/* legibility scrim: keeps white text AA over the bright sunny gradient */
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(70% 62% at 50% 50%, rgba(45, 6, 30, 0.36), rgba(45, 6, 30, 0) 72%); }
.hero :focus-visible { outline-color: #fff; }
@keyframes drift1 { to { transform: translate(12%, 10%) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-14%, 12%) scale(1.1); } }
@keyframes drift3 { to { transform: translate(10%, -12%) scale(1.2); } }

.hero__inner {
  max-width: 60rem; margin-inline: auto; width: 100%; text-align: center;
  padding: clamp(4rem, 8vw, 6.5rem) var(--gutter);
  position: relative; z-index: 1;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-weight: 800; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9); margin: 0 0 1.7rem;
}
.hero__eyebrow::before { content: ""; width: 1.8rem; height: 2px; background: rgba(255, 255, 255, 0.75); }
.hero__title {
  font-size: clamp(2.9rem, 1.7rem + 5.4vw, 5.75rem); line-height: 1.02; letter-spacing: -0.03em;
  color: #fff; margin: 0 0 1.5rem; text-wrap: balance;
}
.hero__title .u { position: relative; white-space: nowrap; }
.hero__title .u::after {
  content: ""; position: absolute; left: -0.02em; right: -0.02em; bottom: 0.06em; height: 0.16em;
  background: rgba(255, 255, 255, 0.9); border-radius: 999px; z-index: -1;
  transform: scaleX(0); transform-origin: left; animation: underline 0.9s var(--ease) 0.5s forwards;
}
@keyframes underline { to { transform: scaleX(1); } }
.hero__sub { font-size: clamp(1.12rem, 1rem + 0.55vw, 1.4rem); line-height: 1.55; color: rgba(255, 255, 255, 0.92);
  max-width: 40rem; margin: 0 auto 2.4rem; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; justify-content: center; }
.hero__meta { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; justify-content: center;
  font-weight: 700; font-size: 0.95rem; color: #fff; }
.hero__meta span { display: inline-flex; align-items: center; gap: 0.55rem; }
.hero__meta span:not(:last-child)::after { content: "•"; color: rgba(255, 255, 255, 0.72); margin-left: 1rem; }

/* ==========================================================================
   SECTION HEAD
   ========================================================================== */
.head { max-width: 44rem; margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.head__title { font-size: clamp(1.9rem, 1.4rem + 2.4vw, 3rem); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 1rem; text-wrap: balance; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { background: var(--tint); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__intro .head__title { margin-bottom: 1rem; }
.contact__alt { margin: 1.75rem 0 0; font-size: 1rem; color: var(--body); }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.6rem, 3vw, 2.5rem); box-shadow: var(--shadow-md); }
.form { display: flex; flex-direction: column; gap: 1.2rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field__label { font-weight: 700; font-size: 0.92rem; color: var(--ink); }
.field__input {
  font-family: var(--font); font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid var(--field-border); border-radius: 14px; padding: 0.85rem 1rem; width: 100%;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.field__input::placeholder { color: var(--muted); }
.field__input:hover { border-color: #6b5a54; }
.field__input:focus { border-color: var(--brand-ink); box-shadow: 0 0 0 4px rgba(245, 52, 79, 0.16); }
.field__input:focus-visible { outline: 3px solid var(--brand-ink); outline-offset: 2px; }
.field__input--area { resize: vertical; min-height: 6.5rem; line-height: 1.55; }
.field.is-invalid .field__input { border-color: var(--brand); }
.field__error { font-size: 0.82rem; font-weight: 600; color: var(--brand-ink); min-height: 1em; }

.form__foot { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; margin-top: 0.2rem; }
.form__status { margin: 0; font-size: 0.92rem; color: var(--body); min-height: 1em; }
.form__status.is-error { color: var(--brand-ink); }
.form__status.is-ok { color: var(--brand-ink); }

.form.is-sent { align-items: center; text-align: center; gap: 0.85rem; padding: 1.25rem 0; }
.form.is-sent > *:not(.form__done) { display: none; }
.form__done { display: none; flex-direction: column; align-items: center; gap: 0.7rem; }
.form.is-sent .form__done { display: flex; }
.form__done:focus { outline: none; }
.form__done-mark { width: 52px; height: 52px; border-radius: 50%; background: var(--grad); color: #fff;
  display: grid; place-items: center; font-size: 1.5rem; box-shadow: var(--shadow-brand); }
.form__done-title { font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: var(--ink); margin: 0; }
.form__done-body { margin: 0; color: var(--body); font-size: 1rem; max-width: 24rem; }

@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--dark); color: rgba(255, 255, 255, 0.72); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer__bottom .wrap { padding-block: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between;
  color: rgba(255, 255, 255, 0.5); font-size: 0.9rem; }

/* ==========================================================================
   REVEALS + REDUCED MOTION
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero__aurora span { animation: none; }
  .hero__title .u::after { animation: none; transform: scaleX(1); }
}
