@import url("https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600&family=Inter+Tight:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap");

:root {
  --green: #2d5d4f;
  --green-hover: #1e3f36;
  --green-tint: #e8f0ed;
  --bg: #f8f9fa;
  --surface: #ffffff;
  --text: #1a1a1a;
  --text-soft: #4b5563;
  --muted: #6b7280;
  --border: #e2e8f0;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter Tight", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}

.fraunces {
  font-family: "Fraunces", Georgia, serif;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(24px, 5vw, 72px);
  flex-wrap: wrap;
}

.site-brand {
  color: var(--green);
  font-family: "Fraunces", Georgia, serif;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

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

main {
  --section-gap: clamp(48px, 6vh, 80px);
  flex: 1;
}

.page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 0 48px;
  align-items: start;
  padding: 0 clamp(24px, 5vw, 72px) 0 clamp(80px, 15vw, 280px);
}

.form-col {
  padding-top: clamp(48px, 7vh, 96px);
}

.form-sticky {
  position: sticky;
  top: 32px;
}

section {
  padding: clamp(64px, 8vh, 100px) 0;
}

.bordered {
  border-top: 1px solid var(--border);
}

.eyebrow {
  display: block;
  margin-bottom: 20px;
  color: var(--green);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 18ch;
  margin: 0;
  font-weight: 400;
  font-size: clamp(56px, 8vw, 92px);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero h1 span {
  display: block;
  max-width: 22ch;
  margin-top: 20px;
  color: var(--text);
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: clamp(34px, 5.4vw, 62px);
  font-weight: 500;
  line-height: 1.02;
}

.hero h1 em {
  color: var(--green);
  font-style: italic;
}

.sub {
  max-width: 52ch;
  margin: 22px 0 0;
  color: var(--text-soft);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.65;
}

.sec-head {
  margin-bottom: 36px;
}

.sec-head h2 {
  max-width: 22ch;
  margin: 0;
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
}

.activity-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.activity-cell {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}

.activity-num {
  width: 1.4ch;
  color: var(--green);
  font-size: 38px;
  font-style: italic;
  line-height: 1;
}

.activity-cell > div:last-child {
  padding-left: 18px;
  border-left: 2px solid var(--green);
}

.activity-cell h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}

.activity-cell p {
  max-width: 68ch;
  margin: 0;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.65;
}

.activity-cell p + p {
  margin-top: 12px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 48px;
  align-items: start;
}

.product-left h2 {
  max-width: 19ch;
  margin: 14px 0 0;
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0;
}

.product-right p {
  margin: 0 0 22px;
  color: var(--text-soft);
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.75;
}

.product-tags {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-tags li {
  width: fit-content;
  padding: 6px 12px;
  border-radius: 4px;
  background: var(--green-tint);
  color: var(--green);
  font-size: 12px;
  font-weight: 500;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 4px;
}

.contact-identity {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 18px;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.contact-identity .eyebrow {
  margin-bottom: 10px;
}

.portrait {
  width: 104px;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border-radius: 50%;
  background: var(--green-tint);
}

.portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.form-title {
  margin: 0 0 6px;
  color: var(--text);
  font-family: "Fraunces", Georgia, serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.1;
}

.form-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.contact-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.contact-lines a {
  width: fit-content;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.contact-lines a:hover {
  color: var(--green);
}

.icon-link {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--green);
  border-radius: 10px;
  color: var(--green);
  flex-shrink: 0;
}

.icon-link:hover {
  background: var(--green-tint);
}

.icon-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.qr-code {
  width: clamp(150px, 16vw, 184px);
  height: auto;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
}

.qr-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.qr-block p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-download {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--green);
  border-radius: 10px;
  color: var(--green);
  font-size: 14px;
  font-weight: 500;
}

.contact-download:hover {
  background: var(--green-tint);
}

footer {
  padding: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

footer a {
  color: var(--green);
}

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 960px) {
  .page-layout {
    grid-template-columns: 1fr;
    padding: 0 clamp(24px, 5vw, 48px);
  }

  .form-col {
    order: -1;
    padding-top: 0;
  }

  .form-sticky {
    position: static;
  }

  .contact-panel {
    margin-bottom: 16px;
    padding: 28px 0 40px;
    border-bottom: 1px solid var(--border);
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 540px) {
  .site-header {
    padding: 22px 24px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .hero h1 {
    font-size: 56px;
  }

  .hero h1 span {
    font-size: 36px;
  }

  section {
    padding: 56px 0;
  }

  .activity-cell {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .activity-cell > div:last-child {
    padding-left: 16px;
  }

  .contact-identity {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 18px;
  }

  .contact-identity .eyebrow {
    justify-content: center;
  }

  .portrait {
    width: min(42vw, 168px);
  }

  .form-title {
    font-size: clamp(34px, 10vw, 44px);
  }

  .form-subtitle {
    font-size: 15px;
  }

  .contact-lines {
    align-items: center;
    gap: 12px;
  }

  .contact-lines a {
    max-width: 100%;
    font-size: 16px;
    overflow-wrap: anywhere;
    text-align: center;
  }

  .qr-code {
    width: min(68vw, 260px);
    padding: 12px;
  }

  .qr-block {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
    text-align: center;
  }

  .qr-block p {
    max-width: 24ch;
    font-size: 13px;
  }

  .contact-actions {
    align-items: stretch;
    justify-content: center;
    gap: 10px;
  }

  .icon-link {
    width: 48px;
    height: 48px;
  }

  .contact-download {
    flex: 1;
    justify-content: center;
    min-height: 48px;
  }
}
