/* ==========================================================================
   First Tile Pro — main stylesheet
   Design direction: the page is set like a tile floor. Sections sit on a
   grout grid; the gaps between panels are the grout lines.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Palette — drawn from a wet-slate tile, porcelain body, grout, glaze */
  --slate:        #16232e;
  --slate-deep:   #0d171f;
  --slate-mid:    #24394b;
  --porcelain:    #f2f4f4;
  --porcelain-hi: #fbfcfc;
  --grout:        #c7d0d4;
  --grout-dark:   #97a5ac;
  --glaze:        #0e7c74;
  --glaze-bright: #14a396;
  --kiln:         #c98a3f;

  --ink:          var(--slate);
  --ink-soft:     #46596a;

  /* Type */
  --display: "Bricolage Grotesque", "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body:    "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* The grout line. Every gap on the page is a multiple of this. */
  --grout-w: 3px;

  --shell: 1200px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --radius: 3px;

  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: var(--glaze); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--slate); }

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

.ftp-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  padding: 0.9rem 1.4rem;
  background: var(--slate);
  color: var(--porcelain);
  font-family: var(--mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.ftp-skip:focus { left: 0; color: var(--porcelain); }

.screen-reader-text {
  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 scale
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 6.4vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); letter-spacing: -0.015em; }
h4 { font-size: 1.05rem; letter-spacing: -0.01em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* Utility face — used for eyebrows, labels, coordinates, spec data */
.ftp-eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--glaze);
  margin: 0 0 1.1rem;
  display: block;
}
.ftp-eyebrow--light { color: var(--glaze-bright); }

.ftp-lede {
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 56ch;
}

/* Tile coordinate marks — like a tile layout plan */
.ftp-coord {
  position: absolute;
  top: 0.85rem;
  right: 1rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--grout-dark);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   4. Layout shell
   -------------------------------------------------------------------------- */
.ftp-shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.ftp-section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.ftp-section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.ftp-section--dark { background: var(--slate); color: var(--porcelain); }
.ftp-section--dark .ftp-lede { color: #a9bcca; }
.ftp-section--dark a { color: var(--glaze-bright); }

.ftp-section-head { max-width: 62ch; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.ftp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.7rem;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s var(--ease), background-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

.ftp-btn--primary {
  background: var(--glaze);
  color: #fff;
  box-shadow: 0 2px 0 0 #0a5b55;
}
.ftp-btn--primary:hover {
  background: var(--glaze-bright);
  color: #fff;
  transform: translateY(1px);
  box-shadow: 0 1px 0 0 #0a5b55;
}

.ftp-btn--ghost {
  background: transparent;
  color: var(--slate);
  box-shadow: inset 0 0 0 2px var(--grout);
}
.ftp-btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--slate); color: var(--slate); }

.ftp-section--dark .ftp-btn--ghost { color: var(--porcelain); box-shadow: inset 0 0 0 2px #3c5568; }
.ftp-section--dark .ftp-btn--ghost:hover { color: var(--porcelain); box-shadow: inset 0 0 0 2px var(--porcelain); }

.ftp-btn--block { width: 100%; }

.ftp-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.ftp-topbar {
  background: var(--slate-deep);
  color: #9fb3c1;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}
.ftp-topbar .ftp-shell {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.55rem;
}
.ftp-topbar a { color: #cfe0ea; text-decoration: none; }
.ftp-topbar a:hover { color: #fff; text-decoration: underline; }
.ftp-topbar__area { display: none; }

.ftp-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(242, 244, 244, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: var(--grout-w) solid var(--slate);
}
.ftp-header .ftp-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
}

.ftp-brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: inherit; }
.ftp-brand:hover { color: inherit; }
.ftp-brand__mark { width: 44px; height: 44px; flex: none; }
.ftp-brand__name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--slate);
  text-transform: uppercase;
}
.ftp-brand__name em { font-style: normal; color: var(--glaze); }
.ftp-brand__tag {
  display: block;
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--grout-dark);
  margin-top: 0.3rem;
}
.ftp-brand__logo-img { max-height: 52px; width: auto; }

.ftp-nav { display: flex; align-items: center; gap: 1.75rem; }
.ftp-nav__list {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ftp-nav__list a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--slate);
  text-decoration: none;
  padding-block: 0.35rem;
  border-bottom: 2px solid transparent;
}
.ftp-nav__list a:hover { border-bottom-color: var(--glaze); }

.ftp-nav__toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  background: var(--slate);
  color: var(--porcelain);
  border: 0;
  border-radius: var(--radius);
  padding: 0.7rem 0.95rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}
.ftp-nav__toggle-bars { display: grid; gap: 3px; }
.ftp-nav__toggle-bars span {
  display: block;
  width: 16px; height: 2px;
  background: currentColor;
}

/* --------------------------------------------------------------------------
   7. Hero — the signature. Content is set in a running-bond tile field.
   -------------------------------------------------------------------------- */
.ftp-hero {
  background: var(--slate);
  padding-block: clamp(2.5rem, 5vw, 4rem) clamp(3rem, 6vw, 5rem);
}

.ftp-tilefield {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--grout-w);
  background: var(--slate);
}

/* Each panel is a tile: porcelain body, grout showing through the gaps */
.ftp-tile {
  position: relative;
  background: var(--porcelain-hi);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  transition: transform 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

/* Hover = the gesture of pressing a tile into thinset */
.ftp-tile--press:hover,
.ftp-tile--press:focus-within {
  transform: translateY(2px);
  box-shadow: inset 0 2px 10px rgba(13, 23, 31, 0.1);
}

.ftp-tile--headline {
  grid-column: span 8;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.75rem, 4vw, 3.25rem);
}
.ftp-tile--headline h1 { margin-bottom: 0.45em; }

.ftp-tile--call {
  grid-column: span 4;
  background: var(--glaze);
  color: #fff;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ftp-tile--call:hover { color: #fff; background: var(--glaze-bright); }
.ftp-tile--call .ftp-tile__label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 0.45rem;
}
.ftp-tile--call .ftp-tile__value {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.ftp-tile--call .ftp-coord { color: rgba(255,255,255,0.5); }

.ftp-tile--quote {
  grid-column: span 4;
  background: var(--kiln);
  color: var(--slate-deep);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ftp-tile--quote:hover { color: var(--slate-deep); background: #d99b52; }
.ftp-tile--quote .ftp-tile__label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.45rem;
  opacity: 0.75;
}
.ftp-tile--quote .ftp-tile__value {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.ftp-tile--quote .ftp-coord { color: rgba(13,23,31,0.4); }

/* The offset row — running bond: 3 / 6 / 3 */
.ftp-tile--proof-a { grid-column: span 3; }
.ftp-tile--proof-b { grid-column: span 6; }
.ftp-tile--proof-c { grid-column: span 3; }

.ftp-tile__stat {
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--slate);
  margin-bottom: 0.35rem;
}
.ftp-tile__stat-label {
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--ink-soft);
  margin: 0;
}

.ftp-tile--proof-b { display: flex; align-items: center; }
.ftp-tile--proof-b p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }

.ftp-hero__note {
  margin-top: 1.5rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  color: #90a6b5;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   8. Trust strip
   -------------------------------------------------------------------------- */
.ftp-strip {
  background: var(--slate-deep);
  border-top: var(--grout-w) solid var(--slate-mid);
  padding-block: 1.15rem;
}
.ftp-strip__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 2.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: var(--mono);
  font-size: 0.73rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #8ea4b3;
}
.ftp-strip__list li { display: flex; align-items: center; gap: 0.55rem; }
.ftp-strip__list li::before {
  content: "";
  width: 7px; height: 7px;
  background: var(--glaze-bright);
  border-radius: 1px;
  flex: none;
}

/* --------------------------------------------------------------------------
   9. Services — laid in a running bond of cards
   -------------------------------------------------------------------------- */
.ftp-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--grout-w);
  background: var(--grout);
  border: var(--grout-w) solid var(--grout);
  border-radius: var(--radius);
}

.ftp-service {
  position: relative;
  background: var(--porcelain-hi);
  padding: clamp(1.6rem, 3vw, 2.1rem);
  transition: background-color 0.18s var(--ease), transform 0.16s var(--ease);
}
.ftp-service:hover { background: #fff; transform: translateY(2px); }

.ftp-service__num {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: var(--grout-dark);
  display: block;
  margin-bottom: 1rem;
}
.ftp-service h3 { margin-bottom: 0.55rem; }
.ftp-service p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }

.ftp-service__list {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.ftp-service__list li {
  padding-left: 1.1rem;
  position: relative;
  margin-bottom: 0.3rem;
}
.ftp-service__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 6px; height: 6px;
  background: var(--glaze);
  border-radius: 1px;
}

/* --------------------------------------------------------------------------
   10. Process — a real sequence, so it earns its numbering
   -------------------------------------------------------------------------- */
.ftp-process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: clamp(1.75rem, 3vw, 2.5rem);
  counter-reset: step;
}
.ftp-step { position: relative; padding-top: 2.5rem; }
.ftp-step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: 0; left: 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--glaze-bright);
  padding-bottom: 0.55rem;
  border-bottom: 2px solid var(--slate-mid);
  width: 100%;
}
.ftp-step h3 { color: var(--porcelain); font-size: 1.15rem; margin-bottom: 0.4rem; }
.ftp-step p { font-size: 0.93rem; color: #a9bcca; margin: 0; }

/* --------------------------------------------------------------------------
   11. Materials / substrate note
   -------------------------------------------------------------------------- */
.ftp-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (min-width: 900px) {
  .ftp-split { grid-template-columns: 1.05fr 0.95fr; }
}

.ftp-spec {
  border: var(--grout-w) solid var(--grout);
  border-radius: var(--radius);
  background: var(--porcelain-hi);
  overflow: hidden;
}
.ftp-spec__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  justify-content: space-between;
  padding: 0.95rem 1.25rem;
  border-bottom: 1px solid var(--grout);
  font-size: 0.93rem;
}
.ftp-spec__row:last-child { border-bottom: 0; }
.ftp-spec__key {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--grout-dark);
}
.ftp-spec__val { font-weight: 600; color: var(--slate); text-align: right; }

/* --------------------------------------------------------------------------
   12. Service area
   -------------------------------------------------------------------------- */
.ftp-areas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--grout-w);
  list-style: none;
  margin: 0;
  padding: 0;
}
.ftp-areas li {
  background: var(--porcelain-hi);
  border: 1px solid var(--grout);
  border-radius: var(--radius);
  padding: 0.6rem 1.05rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--slate);
}

/* --------------------------------------------------------------------------
   13. FAQ
   -------------------------------------------------------------------------- */
.ftp-faq { border-top: 1px solid var(--grout); max-width: 820px; }
.ftp-faq__item { border-bottom: 1px solid var(--grout); }
.ftp-faq__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.02rem, 1.9vw, 1.18rem);
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--slate);
}
.ftp-faq__icon {
  flex: none;
  width: 22px; height: 22px;
  position: relative;
  margin-top: 0.15rem;
}
.ftp-faq__icon::before,
.ftp-faq__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  background: var(--glaze);
  transform: translate(-50%, -50%);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
}
.ftp-faq__icon::before { width: 14px; height: 2px; }
.ftp-faq__icon::after  { width: 2px; height: 14px; }
.ftp-faq__q[aria-expanded="true"] .ftp-faq__icon::after { opacity: 0; transform: translate(-50%, -50%) rotate(90deg); }

/* Answers are open by default so they work — and index — without JavaScript.
   Only once JS confirms it is running do we collapse them. */
.ftp-faq__a {
  display: block;
  padding: 0 0 1.5rem;
  max-width: 68ch;
  color: var(--ink-soft);
  font-size: 0.98rem;
}
.ftp-js .ftp-faq__a { display: none; }
.ftp-js .ftp-faq__a.is-open { display: block; }

/* Without JS the toggle is not interactive, so it should not look it. */
html:not(.ftp-js) .ftp-faq__q { cursor: default; }
html:not(.ftp-js) .ftp-faq__icon { display: none; }

/* --------------------------------------------------------------------------
   14. Quote form
   -------------------------------------------------------------------------- */
.ftp-quote { background: var(--slate); color: var(--porcelain); }
.ftp-quote__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.25rem, 5vw, 4rem);
  align-items: start;
}
@media (min-width: 980px) {
  .ftp-quote__grid { grid-template-columns: 0.85fr 1.15fr; }
}

.ftp-quote__aside h2 { color: var(--porcelain); }
.ftp-quote__contact {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: var(--grout-w);
}
.ftp-quote__contact li {
  background: var(--slate-mid);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}
.ftp-quote__contact .ftp-spec__key { color: #8ea4b3; display: block; margin-bottom: 0.25rem; }
.ftp-quote__contact a,
.ftp-quote__contact span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--porcelain);
  text-decoration: none;
  word-break: break-word;
}
.ftp-quote__contact a:hover { color: var(--glaze-bright); }

.ftp-form {
  background: var(--porcelain-hi);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  color: var(--ink);
}
.ftp-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
@media (min-width: 620px) {
  .ftp-form__grid { grid-template-columns: 1fr 1fr; }
  .ftp-field--wide { grid-column: 1 / -1; }
}

.ftp-field label {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.45rem;
}
.ftp-field .req { color: var(--kiln); }

.ftp-form input[type="text"],
.ftp-form input[type="email"],
.ftp-form input[type="tel"],
.ftp-form select,
.ftp-form textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 2px solid var(--grout);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.ftp-form textarea { min-height: 130px; resize: vertical; }
.ftp-form select { appearance: none; background-image: none; cursor: pointer; }

.ftp-form input:focus,
.ftp-form select:focus,
.ftp-form textarea:focus {
  outline: none;
  border-color: var(--glaze);
  box-shadow: 0 0 0 3px rgba(14, 124, 116, 0.16);
}

.ftp-form__consent {
  grid-column: 1 / -1;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0;
}

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

.ftp-notice {
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  border-left: 5px solid;
}
.ftp-notice--ok    { background: #e4f4f1; border-color: var(--glaze); color: #0a4f4a; }
.ftp-notice--error { background: #fbeee0; border-color: var(--kiln); color: #7a4a12; }
.ftp-notice p { margin: 0; }
.ftp-notice strong { font-family: var(--display); }

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.ftp-footer {
  background: var(--slate-deep);
  color: #8ea4b3;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: 0.92rem;
}
.ftp-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--slate-mid);
}
@media (min-width: 760px) {
  .ftp-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.ftp-footer h4 {
  color: var(--porcelain);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.ftp-footer ul { list-style: none; margin: 0; padding: 0; }
.ftp-footer li { margin-bottom: 0.55rem; }
.ftp-footer a { color: #b8cad6; text-decoration: none; }
.ftp-footer a:hover { color: #fff; text-decoration: underline; }
.ftp-footer__brand .ftp-brand__name { color: var(--porcelain); }
.ftp-footer__blurb { margin-top: 1.1rem; max-width: 42ch; line-height: 1.6; }

.ftp-footer__base {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  padding-top: 1.75rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6e8595;
}

/* Sticky mobile call bar */
.ftp-callbar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 70;
  display: none;
  gap: var(--grout-w);
  padding: var(--grout-w);
  background: var(--slate);
}
.ftp-callbar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 0.5rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  border-radius: var(--radius);
}
.ftp-callbar__call  { background: var(--glaze); color: #fff; }
.ftp-callbar__quote { background: var(--kiln); color: var(--slate-deep); }
.ftp-callbar a:hover { color: inherit; }

/* --------------------------------------------------------------------------
   16. Generic page / post content (for About, Privacy, blog posts)
   -------------------------------------------------------------------------- */
.ftp-entry { max-width: 72ch; }
.ftp-entry h2 { margin-top: 2em; }
.ftp-entry h3 { margin-top: 1.6em; }
.ftp-entry ul, .ftp-entry ol { padding-left: 1.25rem; }
.ftp-entry li { margin-bottom: 0.4rem; }
.ftp-entry img { border-radius: var(--radius); margin-block: 1.5rem; }
.ftp-entry blockquote {
  margin: 1.75rem 0;
  padding-left: 1.35rem;
  border-left: 4px solid var(--glaze);
  font-size: 1.1rem;
  color: var(--ink-soft);
}
.ftp-entry table { width: 100%; border-collapse: collapse; }
.ftp-entry th, .ftp-entry td { border: 1px solid var(--grout); padding: 0.6rem 0.8rem; text-align: left; }

.ftp-pagination { display: flex; gap: 0.75rem; margin-top: 3rem; flex-wrap: wrap; }
.ftp-pagination .page-numbers {
  padding: 0.55rem 0.95rem;
  border: 1px solid var(--grout);
  border-radius: var(--radius);
  text-decoration: none;
  font-family: var(--mono);
  font-size: 0.85rem;
}
.ftp-pagination .current { background: var(--slate); color: var(--porcelain); border-color: var(--slate); }

/* --------------------------------------------------------------------------
   17. Responsive — the field re-lays itself at each breakpoint
   -------------------------------------------------------------------------- */
@media (min-width: 700px) {
  .ftp-topbar__area { display: block; }
}

@media (max-width: 1023px) {
  .ftp-tile--headline { grid-column: span 12; grid-row: auto; }
  .ftp-tile--call  { grid-column: span 6; }
  .ftp-tile--quote { grid-column: span 6; }
  .ftp-tile--proof-a { grid-column: span 6; }
  .ftp-tile--proof-c { grid-column: span 6; }
  .ftp-tile--proof-b { grid-column: span 12; }
}

@media (max-width: 860px) {
  html { scroll-padding-top: 70px; }

  .ftp-nav__toggle { display: inline-flex; }

  .ftp-nav__list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--slate);
    padding: 0.5rem 0 1rem;
    border-bottom: var(--grout-w) solid var(--glaze);
    display: none;
  }
  .ftp-nav__list.is-open { display: flex; }
  .ftp-nav__list li { border-bottom: 1px solid var(--slate-mid); }
  .ftp-nav__list li:last-child { border-bottom: 0; }
  .ftp-nav__list a {
    display: block;
    padding: 0.95rem var(--pad);
    color: var(--porcelain);
    border-bottom: 0;
    font-size: 1rem;
  }
  .ftp-nav__list a:hover { color: var(--glaze-bright); border-bottom: 0; }

  .ftp-header { position: sticky; }
  .ftp-header .ftp-shell { position: relative; }

  /* No JavaScript? Show the links stacked rather than behind a dead button. */
  html:not(.ftp-js) .ftp-nav__toggle { display: none; }
  html:not(.ftp-js) .ftp-nav__list {
    display: flex;
    position: static;
    background: none;
    border-bottom: 0;
    padding: 0;
  }
  html:not(.ftp-js) .ftp-nav__list a { color: var(--slate); padding: 0.4rem 0; }

  .ftp-callbar { display: flex; }
  body { padding-bottom: 68px; }
}

@media (max-width: 620px) {
  .ftp-tile--call,
  .ftp-tile--quote,
  .ftp-tile--proof-a,
  .ftp-tile--proof-c { grid-column: span 12; }

  .ftp-brand__mark { width: 38px; height: 38px; }
  .ftp-brand__name { font-size: 1.02rem; }
  .ftp-cta-row .ftp-btn { width: 100%; }
  .ftp-spec__row { flex-direction: column; }
  .ftp-spec__val { text-align: left; }
}

/* --------------------------------------------------------------------------
   18. Motion & 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;
  }
  .ftp-tile--press:hover { transform: none; }
}

@media print {
  .ftp-header, .ftp-topbar, .ftp-callbar, .ftp-nav, .ftp-form { display: none; }
  body { background: #fff; color: #000; }
  .ftp-hero, .ftp-section--dark, .ftp-quote { background: #fff !important; color: #000 !important; }
}
