/* Recreated from the original Twenty Twenty "cover template" look.
   Accent #cd2653, page background #f5efe0, Inter font. */
:root {
  --accent: #cd2653;
  --primary: #000;
  --secondary: #6d6d6d;
  --subtle: #dcd7ca;
  --bg: #f5efe0;
  --header-h: 78px;
}
@media (max-width: 600px) { :root { --header-h: 70px; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--primary);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: #fff; color: #000; padding: 8px 12px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

/* White header bar above the cover (the photo's flowers are too busy for overlaid text) */
.site-header {
  position: relative; z-index: 10;
  background: #fff;
  border-bottom: 1px solid var(--subtle);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.site-title a {
  color: var(--primary); text-decoration: none;
  font-weight: 700; font-size: 22px; letter-spacing: -0.02em;
}
.site-header nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 32px; }
.site-header nav a {
  color: var(--accent); text-decoration: none; font-weight: 500; font-size: 17px;
}
.site-header nav a:hover { text-decoration: underline; }

/* Full-screen cover */
.cover {
  position: relative;
  min-height: calc(100vh - var(--header-h)); /* viewport minus the header bar */
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  background: #f4f1ee url("images/cover.webp") center / cover no-repeat fixed;
}
.cover-inner { position: relative; padding: 0 24px; margin-top: -9vh; } /* sit above the coffee cup */
/* Rose-gold gradient heading, sitting on the clear marble in the middle of the photo */
.cover h1 {
  margin: 0;
  font-size: clamp(44px, 9vw, 96px);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.15;
  color: #c4808a; /* fallback */
  background: linear-gradient(90deg, #d4838f 0%, #c98c86 50%, #b3745a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.scroll-down {
  display: inline-block; margin-top: 40px; padding: 12px;
  color: #b3745a;
  animation: nudge 2.4s ease-in-out infinite;
}
@keyframes nudge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .scroll-down { animation: none; } html { scroll-behavior: auto; } }

/* iOS ignores fixed backgrounds */
@media (max-width: 1024px) { .cover { background-attachment: scroll; } }

/* Form */
.form-section { max-width: 640px; margin: 0 auto; padding: 80px 24px 96px; }
.required-note { font-size: 15px; color: var(--secondary); margin: 0 0 28px; }
.req { color: var(--accent); }

.field { margin-bottom: 24px; }
.field label { display: block; font-weight: 600; font-size: 16px; margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%;
  font: inherit; font-size: 18px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--subtle);
  border-radius: 0;
  color: var(--primary);
}
.field input:focus, .field textarea:focus {
  outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent);
}
.field textarea { resize: vertical; min-height: 180px; }

.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

button[type="submit"] {
  background: var(--accent); color: #fff;
  font: inherit; font-size: 16px; font-weight: 700;
  letter-spacing: 0.0333em; text-transform: uppercase;
  border: 0; padding: 18px 32px; cursor: pointer;
  transition: opacity .15s;
}
button[type="submit"]:hover { opacity: 0.88; }
button[type="submit"]:disabled { opacity: 0.6; cursor: wait; }

#form-status { margin: 20px 0 0; font-weight: 500; }
#form-status.ok { color: #1a7f37; }
#form-status.err { color: #b3261e; }

/* Footer */
.site-footer { background: #fff; border-top: 1px solid var(--subtle); }
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 28px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 16px; color: var(--secondary);
}
.footer-inner p { margin: 0; }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { text-decoration: underline; }
.to-top { color: var(--secondary); }

@media (max-width: 600px) {
  .header-inner { padding: 20px 16px; }
  .site-title a { font-size: 19px; }
  .form-section { padding: 56px 16px 72px; }
}
