/* Forma Home Remodeling — interim site styles.
   Interim brand: wide squared wordmark on blush, taken from the reference logo until
   Pedro's brand identity lands. Tokens below are the only place colours/fonts live. */

@font-face {
  font-family: "Michroma";
  src: url("/fonts/michroma-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --blush: #f6d9e3;
  --blush-deep: #eec3d2;
  --ink: #111111;
  --ink-soft: #3a3a3a;
  --stone: #f4f1ec;
  --paper: #ffffff;
  --line: rgba(17, 17, 17, 0.14);
  --muted: #5c5c5c;

  --font-display: "Michroma", "Eurostile", "Arial Black", sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 136px);
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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;
}

h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

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

.skip {
  position: absolute; left: 16px; top: -48px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 16px; text-decoration: none;
}
.skip:focus { top: 16px; }

/* ---------- Wordmark ---------- */
.wordmark {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.32em;
  text-decoration: none;
  line-height: 1;
  /* compensate trailing letter-spacing so the mark stays optically centred */
  margin-right: -0.32em;
}
.wordmark-sm { font-size: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 217, 227, 0.92);
  backdrop-filter: saturate(1.2) blur(10px);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.header-inner nav { margin-left: auto; }
.nav { display: flex; gap: 28px; }
.nav a {
  font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; color: var(--ink-soft);
}
.nav a:hover { color: var(--ink); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  background: var(--ink); color: var(--paper);
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; border-radius: var(--radius);
  transition: background-color 0.2s ease;
}
.btn:hover { background: #2b2b2b; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 12px; white-space: nowrap; }
.show-sm { display: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; padding: 14px 0;
  border-bottom: 1px solid currentColor;
}
.link-arrow::after { content: "→"; transition: transform 0.2s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px;
}

/* ---------- Hero ---------- */
.hero { background: var(--blush); padding-top: clamp(64px, 10vw, 128px); overflow: hidden; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 7.2vw, 96px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  max-width: 14ch;
}
.lede { margin-top: 32px; max-width: 56ch; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; margin-top: 44px; }

.hero-band {
  margin-top: clamp(64px, 9vw, 112px);
  border-top: 1px solid var(--line);
  padding: clamp(24px, 4vw, 48px) var(--gutter);
  text-align: center;
  white-space: nowrap;
}
.hero-mark {
  font-family: var(--font-display);
  font-size: clamp(40px, 12vw, 176px);
  line-height: 1;
  letter-spacing: 0.26em;
  margin-right: -0.26em;
  color: var(--blush-deep);
  user-select: none;
}
/* Ornamental only: generated content so it is not page text (the band is aria-hidden). */
.hero-mark::before { content: "FORMA"; }

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section-stone { background: var(--stone); }
.section-blush { background: var(--blush); }
.section-ink { background: var(--ink); color: var(--paper); }
.section-ink .eyebrow { color: rgba(255, 255, 255, 0.6); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.22;
  text-transform: uppercase;
}
.section h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.005em; margin-bottom: 10px; }
.section p { color: var(--ink-soft); }
.section-ink p { color: rgba(255, 255, 255, 0.78); }

.grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.services { grid-template-columns: repeat(3, 1fr); }
.services li { background: var(--paper); padding: clamp(28px, 3vw, 40px); }
.services .num {
  display: block; font-family: var(--font-display); font-size: 13px;
  color: var(--muted); margin-bottom: 36px; letter-spacing: 0.1em;
}

.pillars { grid-template-columns: repeat(4, 1fr); }
.pillars > div { background: var(--stone); padding: 32px 28px 36px; }

.steps {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px;
  margin-top: clamp(48px, 6vw, 80px);
  counter-reset: step;
}
.steps li { border-top: 2px solid var(--ink); padding-top: 18px; color: var(--ink-soft); font-size: 15px; }
.steps span { display: block; font-family: var(--font-display); font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.steps strong { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }

.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.split p + .link-arrow { margin-top: 28px; }

.areas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; }
.areas li {
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-size: 19px; font-weight: 600;
}
.areas li:last-child { color: var(--muted); font-weight: 500; }

.contact-card {
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: clamp(28px, 4vw, 48px);
}
.contact-label {
  font-size: 12px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6) !important;
}
.contact-soon {
  font-family: var(--font-display); font-size: clamp(24px, 3vw, 34px);
  color: var(--paper) !important; margin: 18px 0 14px; text-transform: uppercase;
}
.contact-line a { color: var(--paper); text-underline-offset: 4px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.62); border-top: 1px solid rgba(255, 255, 255, 0.12); }
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px;
  padding-top: 32px; padding-bottom: 32px; font-size: 14px;
}
.footer-inner .wordmark { color: var(--paper); margin-right: auto; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; background: var(--blush); padding: 96px var(--gutter); }
.notfound h1 { font-family: var(--font-display); font-size: clamp(32px, 5vw, 56px); text-transform: uppercase; margin-bottom: 20px; }
.notfound p { margin-bottom: 36px; color: var(--ink-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .header-inner { height: 64px; gap: 16px; }
  .header-inner nav { display: none; }
  .header-inner .btn { margin-left: auto; }
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  .wordmark { font-size: 18px; }
  .services, .pillars { grid-template-columns: 1fr; }
  .services .num { margin-bottom: 20px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .areas { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 400px) {
  .steps { grid-template-columns: 1fr; }
}
