/* Confer Exteriors LLC - coming soon page */
:root {
  --navy: #0A1B33;
  --navy-2: #0E2140;
  --navy-3: #132B4F;
  --ink: #EAF0F7;
  --muted: #A9BAD0;
  --line: rgba(255, 255, 255, .13);
  --orange: #FF7A1A;
  --orange-h: #FF9440;
  --steel: #7F9BC2;
  --display: 'Barlow Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --body: 'Barlow', 'Helvetica Neue', Arial, system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
h1, h2, h3, p, dl, dd, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 22px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: var(--navy); padding: 10px 14px; font-weight: 700; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.site-header { padding: 18px 0; position: relative; z-index: 2; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-block; text-decoration: none; color: var(--ink); }
.logo { display: block; height: 44px; width: auto; overflow: visible; }
.logo .badge { fill: var(--orange); }
.logo .mstar { fill: var(--navy); }
.logo text { fill: currentColor; font-family: var(--display); }

/* Buttons and links */
.btn {
  display: inline-block; font-family: var(--body); font-weight: 700; font-size: 1.0625rem; line-height: 1.2;
  background: var(--orange); color: var(--navy); border: 0; border-radius: 6px; padding: 15px 26px;
  text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--orange-h); }
.btn-sm { padding: 11px 18px; font-size: 1rem; }
.text-link { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--orange); text-decoration-thickness: 2px; overflow-wrap: anywhere; }

/* Hero */
.hero { position: relative; padding: 28px 0 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(#000 55%, transparent);
          mask-image: linear-gradient(#000 55%, transparent);
}
.hero-grid { position: relative; display: grid; gap: 40px; }
@media (min-width: 940px) {
  .hero { padding: 64px 0 96px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
}
h1 {
  font-family: var(--display); font-weight: 800; font-size: clamp(2.9rem, 10vw, 5.4rem);
  line-height: .95; letter-spacing: -.005em;
}
.sub { margin-top: 22px; font-size: 1.2rem; color: var(--muted); max-width: 30rem; }
.hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; }

.sheet {
  background: rgba(10, 27, 51, .72);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 0 0 6px var(--navy), inset 0 0 0 7px rgba(255,255,255,.14);
  padding: 20px; border-radius: 4px; max-width: 640px; width: 100%;
}
.blueprint { display: block; width: 100%; height: auto; }
.bp-label { font-family: var(--display); font-weight: 600; font-size: 22px; fill: var(--ink); }
.bp-dim { font-family: var(--display); font-weight: 600; font-size: 19px; fill: var(--steel); }

@media (prefers-reduced-motion: no-preference) {
  .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s cubic-bezier(.4, 0, .2, 1) var(--d, 0s) forwards; }
  .fade { opacity: 0; animation: fade .8s ease 1.6s forwards; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

/* Sections */
.section { padding: 72px 0; }
.section.band { background: var(--navy-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (min-width: 940px) { .section { padding: 96px 0; } }
h2 { font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 6vw, 3.6rem); line-height: 1; letter-spacing: -.005em; }
h3 { font-family: var(--display); font-weight: 700; font-size: 1.7rem; line-height: 1.05; }

/* Services */
.cards { margin-top: 40px; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--navy-3); border: 1px solid var(--line); border-top: 3px solid var(--orange); border-radius: 6px; padding: 24px; }
.icon { width: 34px; height: 34px; fill: none; stroke: var(--orange); stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin-top: 18px; }
.card p { margin-top: 10px; color: var(--muted); }

/* About */
.about-grid { display: grid; gap: 28px; }
@media (min-width: 940px) { .about-grid { grid-template-columns: 5fr 7fr; gap: 64px; } }
.lead { font-size: 1.4rem; line-height: 1.4; font-weight: 600; }
.body-copy { margin-top: 18px; color: var(--muted); max-width: 36rem; }
.facts { margin-top: 36px; display: grid; gap: 0; }
.facts > div { padding: 16px 0; border-top: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 700px) {
  .facts { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .facts > div { border-bottom: 0 !important; }
}
.facts dt { color: var(--muted); font-size: .95rem; }
.facts dd { font-family: var(--display); font-weight: 700; font-size: 1.6rem; line-height: 1.1; margin-top: 4px; }

/* Contact */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; } }
.contact-grid .body-copy { margin-top: 20px; }
.mail { margin-top: 28px; }
.mail span { display: block; color: var(--muted); font-size: .95rem; }
.mail a { font-family: var(--display); font-weight: 700; font-size: clamp(1.5rem, 5vw, 2rem); text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 5px; overflow-wrap: anywhere; }

form { background: var(--navy-3); border: 1px solid var(--line); border-radius: 8px; padding: 24px; }
@media (min-width: 600px) { form { padding: 32px; } }
.field { margin-bottom: 18px; }
.field-row { display: grid; gap: 0 16px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
label { display: block; font-weight: 600; font-size: .98rem; margin-bottom: 6px; }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; font-family: var(--body); font-size: 1rem; color: var(--ink);
  background: var(--navy); border: 1px solid rgba(255,255,255,.22); border-radius: 6px; padding: 13px 14px;
}
input::placeholder, textarea::placeholder { color: #7D90AA; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--orange); outline-offset: 1px; border-color: var(--orange); }
textarea { min-height: 120px; resize: vertical; }
select {
  appearance: none; -webkit-appearance: none; padding-right: 42px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23A9BAD0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 8px;
}
select:invalid { color: #7D90AA; }
select option { color: #0A1B33; background: #fff; }
form .btn { width: 100%; }
@media (min-width: 600px) { form .btn { width: auto; } }
.form-status { margin-top: 14px; min-height: 1.5em; font-weight: 600; }
.form-status.ok { color: #8FE3A8; }
.form-status.err { color: #FFB199; }

/* Footer */
.site-footer { background: #071426; border-top: 1px solid var(--line); padding: 44px 0; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr auto; align-items: end; gap: 40px; } }
.site-footer .logo { height: 40px; }
.fine { color: var(--muted); font-size: .95rem; margin-top: 10px; }
.footer-info p + p { margin-top: 6px; color: var(--muted); }
.footer-info a { text-decoration-color: var(--orange); text-underline-offset: 4px; }
.copyright { margin-top: 0; }

/* Thanks page */
.thanks { padding: 56px 0 96px; }
.thanks h1 { max-width: 14ch; }

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