/* ============================================================
   ALEXANDER GARDNER — MECHANICAL / MECHATRONICS PORTFOLIO
   Design system: technical drafting sheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders:wght@500;600;700;800;900&family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

:root {
  /* --- Color tokens --- */
  --paper:      #EEF1E8;   /* engineering paper */
  --paper-2:    #E6EADD;   /* slightly deeper panel */
  --white:      #FBFAF5;   /* card / callout white */
  --grid-line:  rgba(27, 75, 66, 0.09);
  --grid-line-strong: rgba(27, 75, 66, 0.18);
  --ink:        #1E2420;   /* primary text */
  --ink-soft:   #4B554E;   /* secondary text */
  --blue:       #1B4B66;   /* structural / linework */
  --blue-deep:  #123244;
  --orange:     #D65F2B;   /* accent / CTA */
  --orange-deep:#B34A1E;
  --brass:      #8A7B4F;   /* metadata / tags */
  --steel:      #6B7570;   /* muted */
  --line:       #B9C2B4;   /* hairline rules */

  /* --- Type --- */
  --f-display: 'Big Shoulders', sans-serif;
  --f-mono: 'IBM Plex Mono', monospace;
  --f-body: 'IBM Plex Sans', sans-serif;

  /* --- Layout --- */
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

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

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

.mono { font-family: var(--f-mono); }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--orange-deep);
  display: inline-block;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(238, 241, 232, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.brand .mark {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 0.01em;
  color: var(--blue-deep);
}
.brand .role {
  color: var(--steel);
  display: none;
}
@media (min-width: 640px) {
  .brand .role { display: inline; }
}

.nav-links {
  display: flex;
  gap: clamp(14px, 2.5vw, 30px);
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-links a {
  position: relative;
  padding: 4px 2px;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--blue-deep); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--orange);
  transition: right 0.18s ease;
}
.nav-links a:hover::after { right: 0; }
.nav-links a[aria-current="page"] {
  color: var(--blue-deep);
  font-weight: 600;
}
.nav-links a[aria-current="page"]::after { right: 0; background: var(--blue-deep); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 3px;
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: '';
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 68px 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 18px var(--gutter) 26px;
    gap: 16px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
  }
  .nav-links.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* ============================================================
   DIMENSION-LINE DIVIDER (signature motif)
   ============================================================ */
.dim-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 40px;
}
.dim-divider .seg {
  flex: 1;
  height: 1px;
  background: var(--line);
  position: relative;
}
.dim-divider .seg::before, .dim-divider .seg::after {
  content: '';
  position: absolute;
  top: -4px;
  width: 1px; height: 9px;
  background: var(--line);
}
.dim-divider .seg::before { left: 0; }
.dim-divider .seg::after { right: 0; }
.dim-divider .label {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  white-space: nowrap;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: 76px 0 60px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero h1 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  margin: 14px 0 22px;
  color: var(--blue-deep);
}
.hero h1 em {
  font-style: normal;
  color: var(--orange);
}
.hero p.lede {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 28px;
}
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 22px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.btn.primary {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  color: var(--white);
}
.btn.primary:hover { background: var(--orange-deep); border-color: var(--orange-deep); transform: translateY(-1px); }
.btn.ghost { color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--white); transform: translateY(-1px); }

.hero-figure {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 18px;
  position: relative;
}
.hero-figure .tag {
  position: absolute;
  top: -1px; left: -1px;
  background: var(--blue-deep);
  color: var(--white);
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  padding: 5px 10px;
}

/* ============================================================
   TITLE BLOCK (signature motif — every page footer)
   ============================================================ */
.title-block {
  border-top: 2px solid var(--ink);
  margin-top: 80px;
}
.title-block-inner {
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  border: 1px solid var(--line);
  border-top: none;
  font-family: var(--f-mono);
  font-size: 11.5px;
}
.title-block-inner > div {
  padding: 12px 16px;
  border-right: 1px solid var(--line);
}
.title-block-inner > div:last-child { border-right: none; }
.title-block-inner .k {
  display: block;
  color: var(--steel);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-size: 9.5px;
  margin-bottom: 5px;
}
.title-block-inner .v { color: var(--ink); font-weight: 500; }
@media (max-width: 720px) {
  .title-block-inner { grid-template-columns: 1fr 1fr; }
  .title-block-inner > div { border-bottom: 1px solid var(--line); }
}

/* ============================================================
   SECTIONS / GENERAL
   ============================================================ */
section { padding: 64px 0; }
.section-head { max-width: 62ch; margin-bottom: 44px; }
.section-head h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 46px);
  color: var(--blue-deep);
  margin: 10px 0 12px;
  line-height: 1.02;
}
.section-head p { color: var(--ink-soft); font-size: 16.5px; }

/* Project cards */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 760px) { .project-grid { grid-template-columns: 1fr; } }

.project-card {
  background: var(--white);
  padding: 30px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.15s ease;
}
.project-card:hover { background: var(--paper-2); }
.project-card .num {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--brass);
  letter-spacing: 0.1em;
}
.project-card .icon { width: 100%; height: 150px; }
.project-card h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 25px;
  color: var(--blue-deep);
  margin: 0;
  line-height: 1.05;
}
.project-card .spec {
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--steel);
  letter-spacing: 0.03em;
}
.project-card p.desc { color: var(--ink-soft); font-size: 14.5px; margin: 0; }
.project-card .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.tag-pill {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
}
.project-card .go {
  margin-top: auto;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange-deep);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.project-card .go .arrow { transition: transform 0.15s ease; }
.project-card:hover .go .arrow { transform: translateX(4px); }

/* Timeline / ribbon */
.ribbon {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px 0;
}
.ribbon-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
}
.ribbon-item {
  padding: 0 22px;
  border-left: 1px solid var(--line);
}
.ribbon-item:first-child { border-left: none; padding-left: 0; }
.ribbon-item .yr { font-family: var(--f-mono); font-size: 11px; color: var(--orange-deep); letter-spacing: 0.08em; }
.ribbon-item h4 { font-family: var(--f-display); font-size: 19px; font-weight: 700; color: var(--blue-deep); margin: 6px 0 4px; }
.ribbon-item p { font-size: 13.5px; color: var(--ink-soft); margin: 0; }

/* Callout / stat strip */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  border: 1px solid var(--line);
  background: var(--white);
}
.stat-strip .stat {
  padding: 24px 20px;
  border-right: 1px solid var(--line);
}
.stat-strip .stat:last-child { border-right: none; }
.stat-strip .stat .n {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 34px;
  color: var(--blue-deep);
  line-height: 1;
}
.stat-strip .stat .l {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--steel);
  margin-top: 6px;
}

/* Buttons row bottom */
.cta-band {
  background: var(--blue-deep);
  color: var(--white);
  padding: 64px 0;
  text-align: left;
}
.cta-band h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 20px;
  max-width: 20ch;
}
.cta-band .btn.ghost { border-color: rgba(251,250,245,0.5); color: var(--white); }
.cta-band .btn.ghost:hover { background: var(--white); color: var(--blue-deep); }
.cta-band .btn.primary { background: var(--orange); border-color: var(--orange); }
.cta-band .btn.primary:hover { background: var(--white); color: var(--blue-deep); border-color: var(--white); }

/* Footer */
.site-footer {
  padding: 30px 0 50px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--steel);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.site-footer a { color: var(--steel); }
.site-footer a:hover { color: var(--orange-deep); }

/* ============================================================
   PROJECT / CASE STUDY PAGE
   ============================================================ */
.case-hero {
  padding: 48px 0 20px;
  border-bottom: 1px solid var(--line);
}
.case-hero .breadcrumb {
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--steel);
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}
.case-hero .breadcrumb a:hover { color: var(--orange-deep); }
.case-hero h1 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(34px, 5vw, 58px);
  color: var(--blue-deep);
  line-height: 1.0;
  margin: 6px 0 18px;
}
.case-hero .summary { font-size: 17px; color: var(--ink-soft); max-width: 66ch; margin-bottom: 26px; }

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0 10px;
  font-size: 14.5px;
}
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table td { padding: 11px 0; vertical-align: top; }
.spec-table td.k {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
  width: 200px;
  padding-right: 20px;
}

.case-body {
  padding: 10px 0 50px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
  gap: 56px;
}
@media (max-width: 900px) { .case-body { grid-template-columns: 1fr; } }

.case-content h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 27px;
  color: var(--blue-deep);
  margin: 40px 0 14px;
}
.case-content h2:first-child { margin-top: 0; }
.case-content p { color: var(--ink); font-size: 16px; margin: 0 0 16px; }
.case-content ul { margin: 0 0 16px; padding-left: 20px; color: var(--ink); }
.case-content li { margin-bottom: 8px; }
.case-content .figure {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 20px;
  margin: 26px 0;
}
.case-content .figure figcaption {
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--steel);
  margin-top: 12px;
  letter-spacing: 0.02em;
}

/* Photo grid — real project photography */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin: 26px 0;
}
.photo-grid.single { grid-template-columns: 1fr; }
.photo-grid figure {
  margin: 0;
  background: var(--white);
  display: flex;
  flex-direction: column;
}
.photo-grid img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  filter: grayscale(6%) contrast(1.02);
}
.photo-grid figcaption {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--steel);
  padding: 10px 14px;
  border-top: 1px solid var(--line);
}
@media (max-width: 640px) {
  .photo-grid { grid-template-columns: 1fr; }
  .photo-grid img { height: 260px; }
}

/* Video gallery — main player + selectable clips */
.video-gallery {
  border: 1px solid var(--line);
  background: var(--white);
  margin: 26px 0;
  padding: 20px;
}
.video-gallery .player-wrap {
  max-width: 340px;
  margin: 0 auto 16px;
  background: #000;
  border: 1px solid var(--ink);
}
.video-gallery video {
  width: 100%;
  display: block;
  max-height: 65vh;
}
.video-gallery .clip-select {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.video-gallery .clip-btn {
  width: 62px;
  height: 62px;
  padding: 0;
  border: 2px solid var(--line);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  position: relative;
  transition: border-color 0.15s ease;
}
.video-gallery .clip-btn span {
  position: absolute;
  bottom: 2px; right: 3px;
  font-family: var(--f-mono);
  font-size: 9px;
  color: var(--white);
  background: rgba(30,36,32,0.7);
  padding: 1px 4px;
}
.video-gallery .clip-btn[aria-current="true"] { border-color: var(--orange); }
.video-gallery .caption {
  text-align: center;
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--steel);
  margin-top: 12px;
}

/* Single embedded video (competition footage) */
.video-single {
  border: 1px solid var(--line);
  background: #000;
  margin: 26px 0;
}
.video-single video { width: 100%; display: block; }
.video-single figcaption {
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--steel);
  padding: 12px 16px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

/* Shop notes strip (About page) */
.shop-strip {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--white);
  margin-top: 20px;
}
.shop-strip img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}
.shop-strip .text { padding: 26px; }
.shop-strip h4 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 10px;
}
.shop-strip h3 {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--blue-deep);
  margin: 0 0 10px;
}
.shop-strip p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }
@media (max-width: 640px) {
  .shop-strip { grid-template-columns: 1fr; }
  .shop-strip img { min-height: 200px; }
}
.case-content blockquote {
  border-left: 2px solid var(--orange);
  margin: 26px 0;
  padding: 4px 0 4px 20px;
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--blue-deep);
  line-height: 1.3;
}

.case-aside {
  align-self: start;
  position: sticky;
  top: 90px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 22px;
}
.case-aside h4 {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 14px;
}
.case-aside .stack-list { list-style: none; margin: 0 0 22px; padding: 0; }
.case-aside .stack-list li {
  font-size: 13.5px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.case-aside .stack-list li:last-child { border-bottom: none; }
.case-aside .stack-list .tag { color: var(--steel); font-family: var(--f-mono); font-size: 11px; }

.case-nav {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding: 26px 0;
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.case-nav a { color: var(--ink-soft); }
.case-nav a:hover { color: var(--orange-deep); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  position: relative;
  padding: 0 0 34px 26px;
  border-left: 1px solid var(--line);
}
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: '';
  position: absolute;
  left: -5px; top: 3px;
  width: 9px; height: 9px;
  background: var(--paper);
  border: 2px solid var(--orange);
  border-radius: 50%;
}
.timeline .yr { font-family: var(--f-mono); font-size: 11.5px; color: var(--orange-deep); letter-spacing: 0.06em; }
.timeline h4 { font-family: var(--f-display); font-size: 20px; font-weight: 700; color: var(--blue-deep); margin: 5px 0 3px; }
.timeline .org { font-family: var(--f-mono); font-size: 12px; color: var(--steel); margin-bottom: 8px; display: block; }
.timeline p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }

.skills-panel { border: 1px solid var(--line); background: var(--white); padding: 26px; margin-bottom: 26px; }
.skills-panel h4 {
  font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brass); margin: 0 0 16px;
}
.skill-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.skill-row:last-child { border-bottom: none; }
.skill-row .lvl { font-family: var(--f-mono); font-size: 11px; color: var(--steel); letter-spacing: 0.04em; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { border-bottom: 1px solid var(--line); padding: 20px 0; }
.contact-list .k { font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel); display: block; margin-bottom: 6px; }
.contact-list .v { font-family: var(--f-display); font-size: 24px; font-weight: 700; color: var(--blue-deep); }
.contact-list a.v:hover { color: var(--orange-deep); }

.form-panel { border: 1px solid var(--line); background: var(--white); padding: 30px; }
.form-panel label {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 18px 0 8px;
}
.form-panel label:first-child { margin-top: 0; }
.form-panel input, .form-panel textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 12px 14px;
  font-family: var(--f-body);
  font-size: 14.5px;
  color: var(--ink);
  border-radius: 2px;
}
.form-panel input:focus, .form-panel textarea:focus {
  outline: none;
  border-color: var(--blue-deep);
  background: var(--white);
}
.form-panel textarea { resize: vertical; min-height: 120px; }
.form-panel .btn { margin-top: 22px; width: 100%; justify-content: center; border: none; cursor: pointer; }
.form-note { font-family: var(--f-mono); font-size: 11.5px; color: var(--steel); margin-top: 14px; }

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
