/*
Theme Name: Alma
Theme URI: https://almacurated.example
Author: Alma Curated
Description: One-page landing theme for ALMA — curated cultural events in Lisboa. Mission statement hero, Customizer-editable headline, and a mailing-list signup powered by MC4WP: Mailchimp for WordPress.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alma
*/

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body.alma-landing {
  width: 100%;
  min-height: 100vh;
  background: #FDE9D9;
  color: #2D3C6E;
  font-family: 'Roboto Mono', ui-monospace, monospace;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

@keyframes alma-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Top bar */
.alma-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(20px, 5vw, 64px);
  background: #FF3806;
  color: #FDE9D9;
}
.alma-topbar-word {
  font-family: 'Roboto Mono', monospace;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.04em;
}
.alma-topbar-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

/* Hero */
.alma-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(26px, 3.5vw, 44px);
  padding: clamp(52px, 8vw, 116px) clamp(20px, 6vw, 80px) clamp(60px, 8vw, 104px);
  background: #FDE9D9;
}
.alma-hero-logo {
  width: clamp(210px, 30vw, 380px);
  height: auto;
  display: block;
}
.alma-hero-eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: #FF3806;
}
.alma-hero-headline {
  margin: 0;
  max-width: 960px;
  font-family: 'Sigmar', system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(30px, 5.2vw, 66px);
  line-height: 1.07;
  color: #2D3C6E;
  text-wrap: balance;
}
.alma-hero-headline span { color: #FF3806; }

/* Signup / mailing list */
.alma-signup-section {
  background: #FF3806;
  color: #FDE9D9;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(20px, 3vw, 30px);
  padding: clamp(54px, 8vw, 108px) clamp(20px, 6vw, 80px);
}
.alma-sun {
  width: clamp(48px, 6vw, 66px);
  height: auto;
  display: block;
}
.alma-signup-heading {
  margin: 0;
  max-width: 720px;
  font-family: 'Sigmar', system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(25px, 3.6vw, 50px);
  line-height: 1.1;
  color: #FDE9D9;
  text-wrap: balance;
}
.alma-no-spam {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.06em;
  opacity: 0.82;
}

/* MC4WP form styling — matches admin-configured field markup by targeting
   standard input/button types rather than plugin-generated classes. */
.alma-signup {
  width: 100%;
  max-width: 580px;
  margin-top: 6px;
}
.alma-signup .mc4wp-form-fields {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  width: 100%;
}
.alma-signup .mc4wp-form-fields input[type="email"],
.alma-signup .mc4wp-form-fields input[type="text"] {
  flex: 1 1 280px;
  min-width: 0;
  padding: 16px 24px;
  border: 2px solid #2D3C6E;
  border-radius: 999px;
  background: #FDE9D9;
  color: #2D3C6E;
  font-family: 'Roboto Mono', monospace;
  font-size: 15px;
  outline: none;
}
.alma-signup .mc4wp-form-fields input[type="email"]:focus,
.alma-signup .mc4wp-form-fields input[type="text"]:focus {
  border-color: #041B67;
  box-shadow: 0 0 0 4px rgba(4, 27, 103, 0.18);
}
.alma-signup .mc4wp-form-fields input[type="submit"],
.alma-signup .mc4wp-form-fields button {
  padding: 16px 34px;
  border: none;
  border-radius: 999px;
  background: #2D3C6E;
  color: #FDE9D9;
  font-family: 'Roboto Mono', monospace;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.alma-signup .mc4wp-form-fields input[type="submit"]:hover,
.alma-signup .mc4wp-form-fields button:hover {
  background: #041B67;
  transform: translateY(-1px);
}
.alma-signup .mc4wp-form-fields input[type="submit"]:active,
.alma-signup .mc4wp-form-fields button:active {
  transform: translateY(0);
}
.alma-signup form.mc4wp-form-success .mc4wp-form-fields { display: none; }
.alma-signup .mc4wp-response { margin-top: 12px; }
.alma-signup .mc4wp-success p {
  margin: 0;
  font-family: 'Sigmar', system-ui, sans-serif;
  font-size: clamp(22px, 2.6vw, 34px);
  color: #FDE9D9;
}
.alma-signup .mc4wp-error p {
  margin: 0;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: #FDE9D9;
}
.alma-mc4wp-missing {
  font-size: 13px;
  opacity: 0.9;
}

/* Roles marquee */
.alma-roles-marquee {
  background: #2D3C6E;
  color: #FDE9D9;
  overflow: hidden;
  padding: 22px 0;
  border-top: 3px solid #041B67;
  border-bottom: 3px solid #041B67;
}
.alma-marquee-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: alma-marquee 28s linear infinite;
  will-change: transform;
  font-size: clamp(16px, 1.9vw, 24px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.alma-marquee-set { display: inline-block; }
.alma-dot { color: #FF3806; }

/* Footer */
.alma-footer {
  background: #FDE9D9;
  color: #2D3C6E;
  padding: clamp(38px, 5.5vw, 68px) clamp(20px, 6vw, 80px);
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-end;
  justify-content: space-between;
  border-top: 3px solid #FF3806;
}
.alma-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.alma-footer-logo {
  width: 150px;
  height: auto;
  display: block;
}
.alma-footer-curated {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #FF3806;
}
.alma-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
  font-size: 13px;
  letter-spacing: 0.04em;
}
.alma-footer-contact a {
  color: #2D3C6E;
  font-weight: 700;
  text-decoration: none;
}
.alma-footer-contact a:hover { color: #FF3806; }
.alma-footer-contact .alma-muted-8 { opacity: 0.8; }
.alma-footer-contact .alma-muted-6 { opacity: 0.6; }
