/* BlockFreedom LLC — company site
   Family of jontetreault.com's luxe system; steel-blue accent for the firm.
   Palette: ground #0F1316 · panel #141A1F · ivory #ECEAE3 · slate #96A1AB · steel #9DB4C9 */
* { box-sizing: border-box; }
:root {
  --ground: #0F1316;
  --panel: #141A1F;
  --ivory: #ECEAE3;
  --ivory-soft: #C4C3BA;
  --slate: #96A1AB;
  --steel: #9DB4C9;
  --steel-dim: #62798C;
  --hairline: #26303A;
  --display: "Marcellus", "Times New Roman", serif;
  --body: "Newsreader", Georgia, "Times New Roman", serif;
}
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ivory);
  font-family: var(--body);
  font-size: 1.08rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--steel); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--ivory); }
a:focus-visible, button:focus-visible { outline: 1px solid var(--steel); outline-offset: 4px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 28px; }

.label, .kicker, .eyebrow, nav.main a, .card .go, footer.site ul a, footer.site .fine,
.proj .tag, .btn {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 400;
}

/* header */
header.site { border-bottom: 1px solid var(--hairline); }
header.site .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 30px; padding-bottom: 30px; gap: 18px; flex-wrap: wrap;
}
.brand {
  font-family: var(--display); font-size: 1.02rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ivory); text-decoration: none;
}
.brand:hover { color: var(--steel); }
.brand .mark { color: var(--steel); }
nav.main { display: flex; gap: 30px; }
nav.main a { font-size: 0.7rem; color: var(--slate); text-decoration: none; }
nav.main a:hover { color: var(--ivory); }
nav.main a[aria-current="page"] { color: var(--steel); }

/* hero */
.hero { padding: 130px 0 110px; position: relative; overflow: hidden; }
.hero .kicker { font-size: 0.72rem; color: var(--steel); margin: 0 0 34px; }
.hero h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.5rem, 6.6vw, 4.6rem);
  line-height: 1.1; margin: 0 0 30px; text-wrap: balance; max-width: 20ch;
}
.hero h1 .accent { color: var(--steel); }
.hero .lede {
  font-size: clamp(1.1rem, 2vw, 1.28rem); line-height: 1.64;
  max-width: 44ch; margin: 0 0 44px; color: var(--ivory-soft);
}
.hero .lede strong { color: var(--ivory); font-weight: 500; }
.hero-split {
  display: grid; grid-template-columns: 1.05fr 0.8fr;
  gap: 70px; align-items: center;
}
.hero-photo { margin: 0; position: relative; }
.hero-photo img {
  display: block; width: 100%; height: auto;
  filter: grayscale(1) contrast(1.05);
  border: 1px solid var(--hairline);
}
.hero-photo::after {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--steel-dim); z-index: -1;
}
.hero-photo figcaption {
  font-family: var(--display); font-size: 0.64rem; text-transform: uppercase;
  letter-spacing: 0.22em; color: var(--slate); margin-top: 16px; text-align: right;
}
.founder-grid {
  display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 60px; align-items: center;
}
.founder-photo { margin: 0; position: relative; }
.founder-photo img {
  display: block; width: 100%; height: auto;
  border: 1px solid var(--hairline);
}
.founder-photo::after {
  content: ""; position: absolute; inset: -14px 14px 14px -14px;
  border: 1px solid var(--steel-dim); z-index: 0; pointer-events: none;
}
.cta-row { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-block; font-size: 0.74rem; text-decoration: none;
  padding: 16px 30px; border: 1px solid var(--steel); transition: all 0.25s ease;
}
.btn.solid { background: var(--steel); color: var(--ground); }
.btn.solid:hover { background: transparent; color: var(--steel); }
.btn.ghost { color: var(--ivory); border-color: var(--hairline); }
.btn.ghost:hover { border-color: var(--steel); color: var(--steel); }

/* sections */
.section { border-top: 1px solid var(--hairline); padding: 100px 0; }
.section .eyebrow { font-size: 0.7rem; color: var(--steel); margin: 0 0 18px; }
.section h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin: 0 0 60px; text-wrap: balance;
}
.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1px; background: var(--hairline); border: 1px solid var(--hairline);
}
.card {
  background: var(--panel); padding: 40px 36px;
  display: flex; flex-direction: column; gap: 14px; transition: background 0.3s ease;
}
.card:hover { background: #181F26; }
.card h3 { font-family: var(--display); font-weight: 400; font-size: 1.22rem; margin: 0; }
.card p { margin: 0; font-size: 0.98rem; color: var(--slate); flex: 1; line-height: 1.65; }
.card .go { font-size: 0.68rem; text-decoration: none; color: var(--steel); }
.card .go:hover { color: var(--ivory); }

/* founder band */
.founder { border-top: 1px solid var(--hairline); background: var(--panel); padding: 90px 0; }
.founder .inner { max-width: 62ch; }
.founder .eyebrow { font-size: 0.7rem; color: var(--steel); margin: 0 0 18px; }
.founder p { font-size: 1.18rem; line-height: 1.65; color: var(--ivory-soft); margin: 0 0 26px; }
.founder p strong { color: var(--ivory); font-weight: 500; }

/* prose pages */
.prose { padding: 100px 0 120px; }
.prose .inner { max-width: 64ch; }
.prose h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.2rem, 5.2vw, 3.4rem); line-height: 1.1; margin: 0 0 18px;
  text-wrap: balance;
}
.prose .standfirst { font-size: 1.22rem; color: var(--ivory-soft); margin: 0 0 64px; line-height: 1.6; }
.prose h2 { font-family: var(--display); font-weight: 400; font-size: 1.45rem; margin: 64px 0 16px; }
.prose p { margin: 0 0 20px; color: var(--ivory-soft); }
.prose p strong { color: var(--ivory); }
.kicker { font-size: 0.7rem; color: var(--steel); margin: 0 0 26px; }

/* projects */
.projects { display: flex; flex-direction: column; border-top: 1px solid var(--hairline); }
.proj {
  display: grid; grid-template-columns: 150px 1fr; gap: 26px;
  padding: 40px 0; border-bottom: 1px solid var(--hairline);
}
.proj .tag { font-size: 0.64rem; color: var(--steel); padding-top: 6px; }
.proj h3 { font-family: var(--display); font-weight: 400; font-size: 1.3rem; margin: 0 0 8px; }
.proj p { margin: 0; font-size: 1rem; color: var(--slate); line-height: 1.68; max-width: 60ch; }
.aside-note { margin-top: 40px; font-size: 0.92rem; color: var(--slate); font-style: italic; }
.projects-inner { max-width: 72ch; }

/* footer */
footer.site {
  border-top: 1px solid var(--hairline); background: var(--panel);
  padding: 64px 0 72px; margin-top: 60px;
}
footer.site .cols { display: flex; justify-content: space-between; gap: 36px; flex-wrap: wrap; }
footer.site .who { max-width: 44ch; }
footer.site .who .name {
  font-family: var(--display); letter-spacing: 0.2em; text-transform: uppercase;
  font-size: 0.92rem; margin: 0 0 12px;
}
footer.site .who p { margin: 0; font-size: 0.94rem; color: var(--slate); }
footer.site ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
footer.site ul a { font-size: 0.68rem; color: var(--slate); text-decoration: none; }
footer.site ul a:hover { color: var(--steel); }
footer.site .fine { margin-top: 56px; font-size: 0.62rem; color: var(--slate); opacity: 0.75; }

/* motion */
@media (prefers-reduced-motion: no-preference) {
  .hero .kicker, .hero h1, .hero .lede, .cta-row {
    animation: rise 0.9s cubic-bezier(0.19, 0.6, 0.22, 1) both;
  }
  .hero h1 { animation-delay: 0.1s; }
  .hero .lede { animation-delay: 0.2s; }
  .cta-row { animation-delay: 0.3s; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
  }
}
@media (max-width: 860px) {
  .hero-split { grid-template-columns: 1fr; gap: 44px; }
  .hero-photo { max-width: 420px; }
  .founder-grid { grid-template-columns: 1fr; gap: 44px; }
  .founder-photo { max-width: 380px; }
}
@media (max-width: 620px) {
  .hero { padding: 70px 0 60px; }
  .proj { grid-template-columns: 1fr; gap: 8px; }
  .section, .prose, .founder { padding: 64px 0; }
}
