Add contact form and thank-you redirect flow

This commit is contained in:
nmemmert
2026-04-09 14:28:36 -04:00
parent 5b401671db
commit e93840c25f
2 changed files with 248 additions and 2 deletions
+170 -1
View File
@@ -491,6 +491,143 @@
padding: 0;
}
/* ── Contact ── */
.section-contact {
background: #090909;
border-top: 1px solid rgba(200, 134, 10, 0.18);
border-bottom: 1px solid rgba(200, 134, 10, 0.18);
padding: 5rem 0;
}
.contact-inner {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2.5rem;
align-items: start;
}
.contact-copy .section-heading {
text-align: left;
margin-bottom: 1rem;
}
.contact-copy p {
font-family: 'Barlow Condensed', sans-serif;
font-weight: 300;
font-size: 1.08rem;
line-height: 1.7;
color: #a89060;
margin: 0;
padding: 0;
}
.contact-form {
background: #121212;
border: 1px solid rgba(200, 134, 10, 0.22);
border-radius: 14px;
padding: 1.4rem;
display: flex;
flex-direction: column;
gap: 0.95rem;
}
.contact-form label {
display: flex;
flex-direction: column;
gap: 0.4rem;
font-family: 'Barlow Condensed', sans-serif;
font-weight: 500;
font-size: 0.82rem;
letter-spacing: 0.16em;
text-transform: uppercase;
color: #c8860a;
}
.contact-form input,
.contact-form textarea {
background: #0c0c0c;
border: 1px solid rgba(200, 134, 10, 0.25);
border-radius: 8px;
color: #f0e6d0;
font-family: 'Barlow Condensed', sans-serif;
font-size: 1rem;
font-weight: 300;
padding: 0.7rem 0.85rem;
outline: none;
transition: border-color 200ms;
}
.contact-form input:focus,
.contact-form textarea:focus {
border-color: rgba(200, 134, 10, 0.7);
}
.contact-form textarea {
resize: vertical;
}
.contact-form .btn-primary {
justify-content: center;
width: 100%;
margin-top: 0.25rem;
}
.contact-honeypot {
position: absolute;
left: -9999px;
opacity: 0;
pointer-events: none;
}
/* ── Thank You Page ── */
.thanks-page {
min-height: 100vh;
background:
radial-gradient(ellipse at top, rgba(200, 134, 10, 0.12) 0%, transparent 55%),
#0a0a0a;
display: flex;
align-items: center;
justify-content: center;
padding: 2rem;
}
.thanks-card {
width: min(720px, 100%);
background: #121212;
border: 1px solid rgba(200, 134, 10, 0.24);
border-radius: 16px;
box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
padding: 2rem;
text-align: center;
}
.thanks-card h1 {
font-family: 'Playfair Display', Georgia, serif;
font-size: clamp(2rem, 5vw, 3rem);
color: #f0e6d0;
margin: 0.3rem 0 1rem;
}
.thanks-card p {
font-family: 'Barlow Condensed', sans-serif;
font-size: 1.1rem;
font-weight: 300;
line-height: 1.7;
color: #a89060;
margin: 0 0 1rem;
padding: 0;
}
.thanks-countdown {
color: #d4b87a !important;
letter-spacing: 0.06em;
margin-bottom: 1.3rem !important;
}
.thanks-card .btn-primary {
justify-content: center;
}
/* ── Footer ── */
.site-footer {
background: #050505;
@@ -529,6 +666,28 @@
padding: 0;
}
.footer-contact {
font-family: 'Barlow Condensed', sans-serif;
font-weight: 400;
font-size: 0.95rem;
letter-spacing: 0.08em;
color: #d4b87a;
margin: 0 0 1.2rem;
padding: 0;
}
.footer-contact a {
color: #f0e6d0;
text-decoration: none;
border-bottom: 1px solid rgba(240, 230, 208, 0.4);
transition: color 200ms, border-color 200ms;
}
.footer-contact a:hover {
color: #c8860a;
border-color: rgba(200, 134, 10, 0.8);
}
.footer-links {
display: flex;
gap: 1rem;
@@ -1041,6 +1200,15 @@
word-break: break-all;
}
.contact-inner {
grid-template-columns: 1fr;
text-align: center;
}
.contact-copy .section-heading {
text-align: center;
}
.header-ornament {
display: none;
}
@@ -1055,7 +1223,8 @@
.section-about,
.section-series,
.section-guide,
.section-qr {
.section-qr,
.section-contact {
padding: 3.5rem 0;
}