/* Map Pack Desk - Daylight Trade
   Cool daylight paper, workshop teal, Bricolage + Plus Jakarta.
   Minimal CSS motion only. No pin stages, magnets, or boot veils. */

:root {
  --ink: #12181f;
  --ink-soft: #3d4854;
  --muted: #5d6976;
  --paper: #f3f6f8;
  --paper-deep: #e5ecf1;
  --white: #ffffff;
  --line: #c7d2dc;
  --accent: #0c6b5c;
  --accent-deep: #085448;
  --accent-soft: #d7efe9;
  --plumb: #1a4f6e;
  --elec: #2a3d55;
  --hvac: #3a5560;
  --land: #3d5a3a;
  --header-h: 4.25rem;
  --wrap: 72rem;
  --narrow: 40rem;
  --radius: 0.35rem;
  --shadow: 0 12px 40px rgba(18, 24, 31, 0.08);
  --font-display: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(12, 107, 92, 0.07), transparent 60%),
    radial-gradient(900px 420px at 100% 0%, rgba(26, 79, 110, 0.06), transparent 55%),
    var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent-deep);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--accent);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: var(--white);
  padding: 0.5rem 0.75rem;
  z-index: 100;
  border-radius: var(--radius);
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

.wrap.narrow {
  width: min(100% - 2rem, var(--narrow));
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 246, 248, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(255, 255, 255, 0.94);
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.logo:hover {
  color: var(--accent-deep);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1rem;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid var(--accent);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: var(--white);
}

.btn:active {
  transform: translateY(1px);
}

.btn-small {
  padding: 0.55rem 0.9rem;
  font-size: 0.88rem;
}

.btn-ghost {
  background: transparent;
  color: var(--accent-deep);
  border-color: var(--line);
}

.btn-ghost:hover {
  background: var(--accent-soft);
  color: var(--accent-deep);
  border-color: var(--accent);
}

.text-link {
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.1rem;
}

.text-link:hover {
  border-bottom-color: var(--accent);
  color: var(--accent-deep);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin: 1.25rem 0;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 52rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(12, 20, 28, 0.72) 0%, rgba(12, 20, 28, 0.48) 38%, rgba(12, 20, 28, 0.18) 68%, rgba(12, 20, 28, 0.05) 100%),
    linear-gradient(0deg, rgba(12, 20, 28, 0.42) 0%, transparent 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 6rem 0 4.5rem;
  max-width: 40rem;
  margin-left: max(1rem, calc((100% - var(--wrap)) / 2));
  margin-right: auto;
  width: min(100% - 2rem, 40rem);
}

.brand {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  max-width: 18ch;
}

.lede {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  max-width: 36ch;
}

.hero .btn {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.hero .btn:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
  color: var(--accent-deep);
}

.hero .text-link {
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.4);
}

.hero .text-link:hover {
  border-bottom-color: var(--white);
  color: var(--white);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--white);
  border-block: 1px solid var(--line);
}

.section h2,
.contact h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-lede {
  margin: 0 0 2rem;
  color: var(--ink-soft);
  max-width: 42rem;
}

.muted {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Templates */
.template-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
}

.template h3 {
  margin: 1rem 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.template > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.template-preview {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  overflow: hidden;
  background: var(--paper);
  min-height: 16.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.template:hover .template-preview {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px rgba(18, 24, 31, 0.12);
}

.tpl-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  background: rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
}

.tpl-bar strong {
  font-family: var(--font-display);
  font-weight: 700;
}

.tpl-body {
  padding: 1.1rem 0.95rem 1.2rem;
  color: #fff;
}

.tpl-name {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1;
}

.tpl-line {
  margin: 0 0 0.45rem;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  max-width: 28ch;
}

.tpl-sub {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  opacity: 0.88;
}

.tpl-btn {
  display: inline-block;
  padding: 0.4rem 0.7rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 700;
}

.tpl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.9rem;
}

.tpl-tags span {
  font-size: 0.72rem;
  padding: 0.25rem 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  opacity: 0.95;
}

.tpl-plumb {
  background:
    linear-gradient(145deg, rgba(10, 30, 45, 0.35), rgba(10, 30, 45, 0.7)),
    linear-gradient(160deg, #1a4f6e, #0f3145 60%, #1f6a5a);
}

.tpl-elec {
  background:
    linear-gradient(145deg, rgba(10, 18, 30, 0.3), rgba(10, 18, 30, 0.72)),
    linear-gradient(160deg, #2a3d55, #172533 55%, #3a5560);
}

.tpl-hvac {
  background:
    linear-gradient(145deg, rgba(12, 24, 28, 0.28), rgba(12, 24, 28, 0.7)),
    linear-gradient(160deg, #3a5560, #243840 50%, #0c6b5c);
}

.tpl-land {
  background:
    linear-gradient(145deg, rgba(16, 28, 14, 0.28), rgba(16, 28, 14, 0.68)),
    linear-gradient(160deg, #3d5a3a, #2a3f28 55%, #4d6b3f);
}

.addon-note {
  margin-top: 2rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.addon-note p {
  margin: 0;
  max-width: 46rem;
  color: var(--ink-soft);
}

/* Offer */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.offer {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.offer-primary {
  border-color: var(--accent);
  background: linear-gradient(180deg, #fff 0%, var(--accent-soft) 140%);
}

.offer-price {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--accent-deep);
  letter-spacing: -0.02em;
}

.offer h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.offer p {
  margin: 0 0 1rem;
}

.offer ul {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
}

.offer li {
  margin-bottom: 0.4rem;
}

.offer .btn {
  margin-top: 0.5rem;
}

.addons {
  margin: 1.5rem 0 0.35rem;
  color: var(--ink-soft);
}

/* Process */
.steps {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.steps li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 1.1rem;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.7rem;
}

.steps h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.principles {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem 1.25rem;
}

.principles li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.principles li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}

/* Pricing */
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 0.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  overflow: hidden;
}

.price-table th,
.price-table td {
  text-align: left;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
}

.price-table th {
  background: var(--paper-deep);
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: -0.01em;
}

.price-table tr:last-child td {
  border-bottom: 0;
}

/* FAQ */
details {
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
}

details:first-of-type {
  border-top: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  float: right;
  color: var(--muted);
  font-weight: 500;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0.65rem 0 0.25rem;
  color: var(--ink-soft);
}

/* Contact */
.contact-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 1.35rem;
  margin: 0 0 1rem;
}

.contact-block p {
  margin: 0 0 0.45rem;
}

.contact-block .cta-row {
  margin-top: 1rem;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0 3rem;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.site-footer a {
  color: #9fe0d2;
}

.footer-brand {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.site-footer p {
  margin: 0 0 0.55rem;
  max-width: 48rem;
}

/* Responsive */
@media (max-width: 900px) {
  .template-grid,
  .offer-grid,
  .steps,
  .principles {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1rem 1rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.7rem 0.2rem;
    border-bottom: 1px solid var(--paper-deep);
  }

  .nav .nav-cta {
    margin-top: 0.5rem;
    border-bottom: 0;
    text-align: center;
  }

  .hero {
    min-height: min(88vh, 40rem);
    align-items: end;
  }

  .hero-content {
    padding: 5rem 0 3rem;
  }

  .brand {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .header-inner {
    position: relative;
  }

  .site-header .wrap {
    position: relative;
  }
}

@media (max-width: 520px) {
  .cta-row .btn {
    width: 100%;
  }
}
