/* Collective Capital Lab — faithful to the approved artwork. */
:root {
  color-scheme: light;
  --paper: #eeeade;
  --forest: #253b27;
  --ink: #172417;
  --olive: #626e4b;
  --line: rgba(43, 59, 39, .36);
  --serif: "Bodoni MT", Didot, "Times New Roman", Georgia, serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { min-width: 320px; }
body { margin: 0; color: var(--ink); font-family: var(--sans); }
a { color: inherit; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #a09f48; outline-offset: 5px; }

/* HOMEPAGE: exact supplied art is the backdrop, including the artwork's
   typography. The only new desktop element is the Connect button. */
.home-page { background: var(--paper); }
.home-hero { min-height: 100svh; min-height: 100vh; position: relative; isolation: isolate; overflow: hidden; }
.home-artwork {
  position: absolute; inset: 0; z-index: -1;
  background: url("assets/approved-homepage.png") center center / cover no-repeat;
}
.desktop-tagline-overlay {
  position: absolute;
  left: 50%;
  top: 60.9%;
  transform: translateX(-50%);
  min-width: 760px;
  padding: 4px 20px 6px;
  background: rgba(238, 234, 222, 0.94);
  color: #6b7657;
  font: normal 22px/1.3 var(--serif);
  letter-spacing: .01em;
  text-align: center;
  box-shadow: 0 0 18px rgba(238, 234, 222, 0.92);
}
.mobile-art, .mobile-identity { display: none; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 14px 32px;
  border: 1px solid var(--forest); border-radius: 2px;
  background: var(--forest); color: #f5f1e4;
  text-decoration: none; text-transform: none; text-align: center;
  font-size: 16px; line-height: 1; font-family: var(--sans);
  font-weight: 700; letter-spacing: .04em;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.button:hover { background: #42573a; transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.home-connect {
  position: absolute; left: 50%; top: 68.7%; transform: translateX(-50%);
  box-shadow: 0 5px 15px rgba(20, 39, 17, .08);
}
.home-connect:hover { transform: translate(-50%, -2px); }
.home-connect:active { transform: translateX(-50%); }

/* CONTACT PAGE: fragments cropped from the same supplied painting, along
   with the same forest / olive / paper palette and editorial serif type. */
.contact-page {
  background: var(--paper); min-height: 100svh; min-height: 100vh;
  display: flex; flex-direction: column; isolation: isolate; position: relative;
  overflow-x: hidden;
}
.paint { position: fixed; pointer-events: none; z-index: -1; background-repeat: no-repeat; }
.paint-top {
  top: 0; right: 0; width: min(33vw, 440px); aspect-ratio: 482 / 720;
  background-image: url("assets/brush-upper-right.png"); background-size: 100% 100%;
  -webkit-mask-image: linear-gradient(to bottom, #000 65%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 65%, transparent 100%);
}
.paint-bottom {
  bottom: 0; left: 0; width: min(60vw, 870px); aspect-ratio: 1060 / 301;
  background-image: url("assets/brush-lower-left.png"); background-size: 100% 100%;
  -webkit-mask-image: linear-gradient(to right, #000 55%, transparent 100%);
  mask-image: linear-gradient(to right, #000 55%, transparent 100%);
}
.contact-header { display: flex; justify-content: flex-start; align-items: center; padding: 22px clamp(24px, 6vw, 98px); min-height: 112px; }
.logo-home-link { display: inline-flex; align-items: center; justify-content: center; width: 78px; padding: 2px; text-decoration: none; transition: transform .2s ease; }
.logo-home-link:hover { transform: translateY(-2px); }
.logo-home-link img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
.contact-main { width: min(100% - 48px, 670px); margin: clamp(16px, 5vh, 65px) auto 80px; flex: 1; }
.contact-eyebrow { font: 11px/1.4 var(--sans); font-weight: 600; text-transform: uppercase; color: var(--olive); letter-spacing: .23em; margin-bottom: 18px; }
.contact-eyebrow span { padding: 0 .4em; }
.contact-intro h1 { font: normal clamp(44px, 5.7vw, 76px)/1.07 var(--serif); letter-spacing: -.035em; margin: 0 0 23px; }
.contact-intro p { margin: 0; font: normal clamp(19px, 2vw, 24px)/1.55 var(--serif); color: #4c6045; letter-spacing: .002em; }
.contact-form { margin-top: 42px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.field { margin-bottom: 24px; }
.field label { display: block; font: 500 13px/1.4 var(--sans); letter-spacing: .025em; color: var(--forest); margin-bottom: 11px; }
.optional { color: #737c65; font-size: 12px; font-weight: 400; }
.field input, .field textarea {
  display: block; width: 100%; border: 1px solid var(--line); border-radius: 0;
  background: rgba(247, 245, 236, .84); color: var(--ink);
  padding: 14px 15px; font-size: 15px; line-height: 1.5;
  outline-offset: 2px; transition: background .2s ease, border-color .2s ease;
}
.field textarea { min-height: 148px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8a9184; opacity: 1; }
.field input:hover, .field textarea:hover { border-color: #7f8a6f; }
.field input:focus, .field textarea:focus { border-color: var(--forest); background: #f8f6ef; outline: 2px solid rgba(117, 136, 94, .16); }
.form-footer { display: flex; align-items: center; justify-content: flex-start; gap: 22px; }
.send-button { min-width: 160px; }
.form-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.send-button:disabled { opacity: .65; cursor: wait; }
.form-status.is-error { background: #f1e3dd; color: #732f20; }
.form-status { background: rgba(230, 234, 211, .9); padding: 13px 16px; font-size: 13px; line-height: 1.5; color: var(--forest); }
.contact-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 30px; margin-top: auto; padding: 25px clamp(24px, 6vw, 98px); color: #53634f; font: 11px/1.5 var(--sans); letter-spacing: .025em; }

@media (max-width: 700px) {
  /* The supplied homepage raster contains the wording baked into the image.
     On phones show original cropped mark + live, readable HTML text instead. */
  .home-artwork { display: none; }
  .desktop-tagline-overlay { display: none; }
  .home-hero { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 52px 22px 78px; min-height: 100svh; }
  .mobile-art { display: block; position: absolute; pointer-events: none; z-index: -1; background-repeat: no-repeat; }
  .mobile-art-top { top: 0; right: 0; width: 47vw; aspect-ratio: 482 / 720; background: url("assets/brush-upper-right.png") center / contain no-repeat; }
  .mobile-art-bottom { bottom: 0; left: 0; width: 100vw; aspect-ratio: 1060 / 301; background: url("assets/brush-lower-left.png") center / cover no-repeat; }
  .mobile-identity { display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; max-width: 520px; }
  .mobile-mark { display: block; width: min(45vw, 205px); height: auto; margin-bottom: 18px; mix-blend-mode: multiply; }
  .mobile-identity h1 { font: normal clamp(41px, 10vw, 65px)/1.08 var(--serif); letter-spacing: -.035em; margin: 0; }
  .mobile-identity p { font: normal clamp(17px, 4.15vw, 21px)/1.45 var(--serif); color: #4c6045; margin: 19px 0 0; }
  .home-connect { position: relative; top: auto; left: auto; transform: none; margin-top: 33px; }
  .home-connect:hover { transform: translateY(-2px); }
  .paint-top { width: 47vw; }
  .paint-bottom { width: 100vw; }
  .contact-header { padding: 16px 24px; min-height: 88px; }
  .logo-home-link { width: 64px; }
  .contact-main { margin-top: 38px; margin-bottom: 65px; }
  .contact-eyebrow { font-size: 10px; letter-spacing: .16em; }
  .contact-form { margin-top: 34px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .contact-footer { padding: 26px 24px; }
}
@media (max-width: 390px) {

  .form-footer { flex-wrap: wrap; gap: 8px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
