:root {
  --ink: #071433;
  --ink-soft: #566078;
  --blue: #1559f6;
  --blue-dark: #0647d6;
  --blue-mid: #7da2ff;
  --blue-light: #b8cbff;
  --line: #dfe3ea;
  --surface: #f6f8fb;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
::selection { background: var(--blue); color: var(--white); }

.project-header {
  min-height: 82px;
  padding: 0 clamp(24px, 4vw, 64px);
  border-bottom: 1px solid rgba(7, 20, 51, .09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, .94);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -.025em;
}
.brand img { width: 66px; height: 36px; object-fit: contain; }
.brand-name { font-size: 0; white-space: nowrap; }
.brand-name::before, .brand-name::after { font-size: 19px; line-height: 1; }
.brand-name::before { content: "WEAVCO"; }
.brand-name::after { content: "\00a0 DIGITAL"; color: var(--blue-mid); }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--blue);
  padding: 7px 0 5px;
  font-size: 14px;
  font-weight: 680;
}
.back-link svg { width: 18px; fill: none; stroke: var(--blue); stroke-width: 1.8; }

.project-main {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: minmax(320px, .78fr) minmax(560px, 1.22fr);
}
.project-intro {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 8vw, 128px) clamp(30px, 6vw, 96px);
  background: var(--ink);
  color: var(--white);
}
.project-intro h1 {
  position: relative;
  z-index: 2;
  max-width: 620px;
  margin: 0;
  font-size: clamp(52px, 6vw, 92px);
  font-weight: 760;
  letter-spacing: -.045em;
  line-height: 1.02;
}
.project-intro > p {
  position: relative;
  z-index: 2;
  max-width: 520px;
  margin: 34px 0 0;
  color: #c7d2eb;
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.58;
  letter-spacing: -.018em;
}
.direct-contact {
  position: relative;
  z-index: 2;
  display: inline-block;
  margin-top: 52px;
  color: var(--blue-light);
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  font-size: 15px;
  font-weight: 650;
}
.woven-lines { position: absolute; right: -34%; bottom: -20%; width: 92%; aspect-ratio: 1; opacity: .66; }
.woven-lines::before, .woven-lines::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--blue);
  border-radius: 50%;
  box-shadow: 0 34px 0 -1px var(--blue), 0 68px 0 -1px var(--blue), 0 102px 0 -1px var(--blue), 0 136px 0 -1px #b9ea25, 0 170px 0 -1px var(--blue);
  transform: rotate(24deg);
}
.woven-lines::after { transform: rotate(-34deg); opacity: .72; }

.form-wrap { padding: clamp(64px, 7vw, 112px) clamp(28px, 7vw, 112px); }
.project-form { max-width: 790px; margin: 0 auto; }
.form-kicker { margin: 0 0 36px; color: var(--blue); font-size: 14px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field-full { grid-column: 1 / -1; }
label, legend { color: var(--ink); font-size: 14px; font-weight: 700; }
.optional { color: #7b8496; font-weight: 500; }
input, select, textarea {
  width: 100%;
  color: var(--ink);
  border: 1px solid #cfd6e2;
  border-radius: 6px;
  background: var(--white);
  padding: 15px 16px;
  font-size: 16px;
  line-height: 1.4;
  outline: none;
  transition: border-color .16s, box-shadow .16s;
}
textarea { min-height: 164px; resize: vertical; }
input::placeholder, textarea::placeholder { color: #929aab; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(21, 89, 246, .12); }
fieldset { grid-column: 1 / -1; border: 0; padding: 8px 0 0; margin: 0; }
legend { margin-bottom: 13px; }
.service-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.service-option { position: relative; }
.service-option input { position: absolute; opacity: 0; pointer-events: none; }
.service-option span {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 12px 15px;
  border: 1px solid #cfd6e2;
  border-radius: 6px;
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 620;
  cursor: pointer;
  transition: border-color .16s, color .16s, background .16s;
}
.service-option input:checked + span { border-color: var(--blue); color: var(--blue); background: #f3f7ff; }
.service-option input:focus-visible + span { outline: 3px solid rgba(21, 89, 246, .25); outline-offset: 2px; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 34px; }
.form-note { max-width: 430px; margin: 0; color: #747d90; font-size: 13px; line-height: 1.55; }
.submit-button {
  min-height: 56px;
  padding: 0 28px;
  border: 1px solid var(--blue);
  border-radius: 5px;
  background: var(--blue);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(21, 89, 246, .18);
  transition: background .18s, transform .18s, box-shadow .18s;
}
.submit-button:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(21, 89, 246, .25); }
.submit-button svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.website-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.result-main { min-height: calc(100vh - 82px); display: grid; place-items: center; padding: 70px 24px; background: var(--surface); }
.result-card { width: min(720px, 100%); background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: clamp(42px, 7vw, 76px); box-shadow: 0 26px 70px rgba(7, 20, 51, .1); }
.result-mark { width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: #edf3ff; color: var(--blue); }
.result-mark svg { width: 30px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.result-card h1 { margin: 28px 0 16px; font-size: clamp(42px, 6vw, 64px); line-height: 1.06; letter-spacing: -.04em; }
.result-card p { max-width: 560px; color: var(--ink-soft); font-size: 18px; line-height: 1.65; }
.result-actions { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; margin-top: 34px; }
.result-link { color: var(--blue); border-bottom: 1px solid currentColor; padding-bottom: 3px; font-size: 14px; font-weight: 700; }

.project-footer {
  border-top: 1px solid var(--line);
  color: #596176;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 34px 24px;
  text-align: center;
  font-size: 13px;
}
.project-footer .brand { color: var(--ink); }
.project-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; }
.project-footer p { margin: 0; color: #7b8496; font-size: 12px; }
.project-footer a:not(.brand) { transition: color .18s; }
.project-footer a:not(.brand):hover { color: var(--blue); }

@media (max-width: 980px) {
  .project-main { grid-template-columns: 1fr; }
  .project-intro { min-height: 530px; }
  .project-intro h1 { max-width: 760px; }
  .woven-lines { right: -18%; bottom: -50%; width: 70%; }
}
@media (max-width: 620px) {
  .project-header { min-height: 72px; padding: 0 18px; }
  .brand { gap: 8px; }
  .brand img { width: 54px; height: 30px; }
  .brand-name::before, .brand-name::after { font-size: 16px; }
  .back-link span { display: none; }
  .project-main { min-height: calc(100vh - 72px); }
  .project-intro { min-height: 470px; padding: 62px 20px; }
  .project-intro h1 { font-size: clamp(48px, 14vw, 66px); }
  .project-intro > p { margin-top: 26px; font-size: 18px; }
  .direct-contact { margin-top: 36px; }
  .woven-lines { width: 105%; right: -47%; bottom: -33%; }
  .form-wrap { padding: 58px 20px 70px; }
  .field-grid { grid-template-columns: 1fr; }
  .field-full, fieldset { grid-column: auto; }
  .service-options { grid-template-columns: 1fr; }
  .form-footer { align-items: stretch; flex-direction: column; }
  .submit-button { width: 100%; }
}
