/* ================================================
   ETERFLAME — BASE.CSS
   Clean consolidated version
=================================================== */

/* ================================================
   1. ROOT VARIABLES
=================================================== */
:root {
  /* ────────────────────────────────────────────────
     GOLD SYSTEM — Eterflame brand (single source of truth)
     ────────────────────────────────────────────────
     --gold        #c49a40  → DEFAULT for everything dorado
                              (text, headings, eyebrows, borders,
                               icons at rest, button surfaces)

     --gold-bright #d4a843  → ACCENT for hover/active/focus only
                              (link hovers, button hovers, focus ring,
                               text highlights "destello", glow effects)

     --gold-deep   #8f6a1f  → DEEPER shade for shadows, dim states,
                              text on light gold backgrounds

     Rule of thumb: if you're hardcoding #c49a40 or #d4a843
     anywhere in CSS, replace with var(--gold) or var(--gold-bright).
     ──────────────────────────────────────────────── */
  --gold: #c49a40;
  --gold-bright: #d4a843;
  --gold-deep: #8f6a1f;
  
  /* ─── Apple-style easing curves ─── */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* ─── Animation durations ─── */
  --duration-fast: 200ms;
  --duration-normal: 400ms;
  --duration-slow: 700ms;
  --duration-slower: 1000ms;

  /* Brand core (legacy aliases — kept for backwards compat) */
  --ew-primary: var(--gold);
  --ew-light: var(--gold-bright);
  --ew-dark: var(--gold-deep);

  /* Global dark system */
  --bg-base: #070708;
  --bg-surface: #0f1012;
  --bg-card: #17191d;
  --bg-card-2: #1d2025;
  --bg-card-hover: #232730;
  --bg-border: rgba(255, 255, 255, 0.10);

  --text-primary: #f5f7fa;
  --text-body: #dde3ea;
  --text-muted: #aab4c0;
  --text-subtle: #7f8995;
  --text-on-dark: #f5f7fa;
  --text-on-light: #0b0d10;
  --text-on-gold: #0b0d10;

  /* Aythnyk — Red */
  --ay-primary: #c8102e;
  --ay-light: #ef3e5b;
  --ay-dark: #7f0b1f;
  --ay-tint: rgba(200, 16, 46, 0.14);
  --ay-border: rgba(239, 62, 91, 0.30);

  /* Design — Metallic blue */
  --design-primary: #3b82c4;
  --design-light: #79b7e8;
  --design-lighter: #b7d8f2;
  --design-dark: #17344f;
  --design-tint: rgba(59, 130, 196, 0.14);
  --design-border: rgba(121, 183, 232, 0.30);

  /* Studio — Silver metal */
  --studio-primary: #b8bec7;
  --studio-light: #d7dde5;
  --studio-dark: #6e7782;
  --studio-tint: rgba(184, 190, 199, 0.16);
  --studio-border: rgba(215, 221, 229, 0.28);

  /* Media — Copper metal */
  --media-primary: #b86b43;
  --media-light: #d79470;
  --media-dark: #6e3d25;
  --media-tint: rgba(184, 107, 67, 0.16);
  --media-border: rgba(215, 148, 112, 0.28);

  /* Shadows */
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.28);
  --shadow-card: 0 18px 50px rgba(0, 0, 0, 0.34);

  /* Typography */
  --font-stack-primary: "DM Sans", sans-serif;
  --font-stack-brand: "Cormorant Garamond", Georgia, serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", sans-serif;
  --font-mono: "Courier Prime", monospace;

  /* Compatibility aliases */
  --color-primary-brand: var(--ew-primary);
  --color-gold: var(--ew-primary);
  --color-gold-light: var(--ew-light);
  --color-text-dark: var(--text-primary);
  --color-text-light: var(--text-primary);
  --color-text-body: var(--text-body);
  --color-text-muted: var(--text-muted);
  --color-text-subtle: var(--text-subtle);
  --color-primary-text: var(--text-primary);
  --color-danger: #c0580a;
  --color-danger-text: var(--text-primary);
  --bg-body: var(--bg-base);
  --bg-dark: var(--bg-surface);
  --bg-light: var(--bg-card);
  --color-border: var(--bg-border);
  --color-link: var(--ew-primary);
  --color-link-hover: var(--ew-light);

  /* Legacy aliases used in templates */
  --ef-design: var(--design-primary);
  --ef-design-light: var(--design-light);
  --ef-design-lighter: var(--design-lighter);
  --ef-design-dark: var(--design-dark);
}

/* ================================================
   2. BASE / TYPOGRAPHY
=================================================== */
html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  padding-top: 64px;
  background:
    radial-gradient(circle at top left, rgba(212, 168, 67, 0.05), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.03), transparent 24%),
    linear-gradient(180deg, #070708 0%, #0b0d10 100%);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1 0 auto;
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

p,
li,
label {
  color: var(--text-body);
}

small,
.text-muted {
  color: var(--text-muted) !important;
}

a {
  color: var(--ew-primary);
  transition: color 0.2s ease;
}

a:hover {
  color: var(--ew-light);
}

pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  font-family: var(--font-stack-primary);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ================================================
   4. BUTTONS / LINKS
=================================================== */
.btn-edit,
.btn-delete,
.btn-like {
  transition: all 0.2s ease;
}

/* Main gold CTA button — used on auth, about, profile pages */
.btn-signup,
.btn.btn-signup {
  display: inline-block;
  padding: .9rem 2rem;
  background: #c49a40;
  color: #0a0804;
  font-family: 'DM Sans', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background .25s ease;
}
.btn-signup:hover,
.btn.btn-signup:hover {
  background: #e8c06a;
  color: #0a0804;
  text-decoration: none;
  transform: none;
}
.btn-signup.btn-block,
.btn-signup.d-block {
  display: block;
  width: 100%;
}

.btn-edit:hover {
  background-color: var(--color-primary-brand);
  color: var(--color-primary-text);
}

.btn-like {
  color: var(--color-primary-brand);
  border: none;
  background: transparent;
}

.btn-like:hover,
.btn-like:active {
  color: var(--color-link-hover);
  background: transparent;
  border: none;
}

.btn-delete {
  color: var(--color-danger-text);
  background: var(--color-danger);
}

.btn-delete:hover {
  background-color: var(--color-primary-brand);
  color: var(--color-primary-text);
}

.link {
  color: var(--color-link);
  text-decoration: none;
}

.link:hover,
.link:active {
  color: var(--color-link-hover);
  text-decoration: underline;
}

/* ================================================
   5. NAVBAR
=================================================== */
.navbar {
  position: relative;
  z-index: 1050;
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0;
  background: #0a0804 !important;
  border-bottom: 1px solid #1e1a10;
}

/* Ensure hero never covers the navbar */
.wh-hero        { position: relative; z-index: 1; }
.wh-hero__bg-text { z-index: 0; }
.wh-hero__inner { z-index: 2; }

.navbar .container-fluid {
  height: 64px;
  align-items: center;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
}

.navbar-brand img {
  height: 45px;
  width: auto;
}

.navbar-brand span {
  font-family: var(--font-display) !important;
  font-size: 1.15rem;
  letter-spacing: 5px;
  color: var(--ew-primary) !important;
  font-weight: 400;
  text-transform: uppercase;
}

/* NAVBAR BRAND — ETHERFLAME */
.ef-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transform: translateY(-1px);
}

.ef-brand-icon {
  height: 45px;
  width: auto;
}

.ef-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.ef-brand-main {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 4px;
  color: #c49a40;
  text-transform: uppercase;
}

.ef-brand-sub {
  font-family: var(--font-body);
  font-size: 0.6rem !important;
  letter-spacing: 2.8px;
  color: #8a7a5a;
  margin-top: 3px;
  opacity: 0.75;
  text-transform: uppercase;
}

.ef-brand:hover .ef-brand-main {
  color: #e6c27a;
}

.ef-brand:hover .ef-brand-icon {
  filter: brightness(1.1);
}

/** NAVBAR LINKS */

.navbar-nav .nav-link {
  position: relative;
  color: #c8b090 !important;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.5px;
  padding: 8px 14px !important;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--ew-primary) !important;
  background: rgba(212, 168, 67, 0.07);
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link[aria-current="page"] {
  color: var(--ew-primary) !important;
  background: rgba(212, 168, 67, 0.10);
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--ew-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

.navbar-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
}

.navbar-collapse {
  background-color: rgba(10, 8, 4, 0.98);
  border-top: 1px solid rgba(212, 168, 67, 0.1);
  padding-top: 10px;
}

.navbar-toggler {
  border-color: rgba(212, 168, 67, 0.3);
  padding: 6px 10px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28212,168,67,0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
  .navbar-collapse .navbar-nav .nav-link {
    width: fit-content;
    margin-bottom: 4px;
  }
}

/* ================================================
   6. ALERTS
=================================================== */
.sa-alert {
  background: rgba(200,16,46,0.08);
  border: 1px solid rgba(200,16,46,0.25);
  padding: 10px 12px;
  border-radius: 10px;
  margin-bottom: 16px;
}

.sa-field-error {
  color: #b3261e;
  font-size: 0.9rem;
  margin-top: 6px;
}

.alert {
  font-family: 'DM Sans', sans-serif;
  font-size: .82rem;
  padding: .85rem 1.1rem;
  border-radius: 3px;
  margin-bottom: 1.25rem;
  border: 1px solid;
}
.alert-success {
  background-color: rgba(196, 154, 64, 0.1);
  border-color: rgba(196, 154, 64, 0.35);
  color: #c49a40;
}
.alert-success a { color: #c49a40; font-weight: 600; }

.alert-info {
  background: rgba(196,154,64,.08) !important;
  border-color: rgba(196,154,64,.2) !important;
  color: #c49a40 !important;
}
.alert-warning {
  background: rgba(200,120,0,.1);
  border-color: rgba(200,120,0,.25);
  color: #e8a030;
}
.alert-danger {
  background: rgba(200,16,46,.08);
  border-color: rgba(200,16,46,.2);
  color: #e05070;
}

.btn-close { filter: invert(0.7); }

/* Remember Me / form-check inside login card */
.login-card .form-check {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.25rem;
}
.login-card .form-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  flex-shrink: 0;
  accent-color: #c49a40;
  cursor: pointer;
}
.login-card .form-check label {
  font-family: 'DM Sans', sans-serif;
  font-size: .82rem;
  letter-spacing: 1px;
  text-transform: none;
  color: #6b5f45;
  margin: 0;
  cursor: pointer;
}

/* ================================================
   7. SOCIAL LOGIN
=================================================== */
.social-login-section { margin-top: 1.25rem; }
.social-login-section h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: .6rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #3a3020;
  margin-bottom: 1.25rem;
  text-align: center;
}
.socialaccount_providers {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  gap: .75rem;
}
.socialaccount_providers li {
  flex: 1;
}
.socialaccount_providers li a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  width: 100%;
  padding: .8rem 1rem;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: .82rem;
  font-weight: 500;
  text-decoration: none;
  transition: filter .2s ease, transform .15s ease;
  letter-spacing: .3px;
}
.socialaccount_providers li a:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  text-decoration: none;
}
.socialaccount_providers li a img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}
.socialaccount_providers li a[href*="google"] {
  background: #fff;
  color: #3c4043;
  border: 1px solid #dadce0;
}
.socialaccount_providers li a[href*="google"]::before { display: none; }
.socialaccount_providers li a[href*="facebook"] {
  background: #1877F2;
  color: #fff;
  border: none;
}
.socialaccount_providers li a[href*="facebook"]::before { display: none; }
.socialaccount_providers li a span.provider-text {
  display: inline;
}

/* ================================================
   8. LOGIN PAGE
=================================================== */
.login-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  background: #0a0804;
}
.login-card {
  background: #111008;
  border: 1px solid #1e1a10;
  border-radius: 4px;
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 480px;
}
.login-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 300;
  color: #f5e0b0;
  letter-spacing: 2px;
  margin: 0 0 .5rem;
}
.login-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: .85rem;
  color: #6b5f45;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.login-subtitle a,
.login-subtitle .link,
a.link { color: #c49a40; text-decoration: none; }
.login-subtitle a:hover,
a.link:hover { color: #e8c06a; }

.login-card label {
  font-family: 'DM Sans', sans-serif;
  font-size: .6rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #6b5f45;
  display: block;
  margin-bottom: .4rem;
}
.login-card input[type="text"],
.login-card input[type="email"],
.login-card input[type="password"] {
  width: 100%;
  background: #0a0804;
  border: 1px solid #2a2010;
  color: #f5e0b0;
  padding: .75rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .88rem;
  border-radius: 2px;
  outline: none;
  transition: border-color .2s ease;
  margin-bottom: 1rem;
}
.login-card input[type="text"]:focus,
.login-card input[type="email"]:focus,
.login-card input[type="password"]:focus { border-color: #c49a40; }
.login-card input[type="text"]::placeholder,
.login-card input[type="email"]::placeholder,
.login-card input[type="password"]::placeholder { color: #3a3020; }
.login-card input[type="checkbox"] { accent-color: #c49a40; margin-right: .5rem; }
.login-card hr { border-color: #1e1a10; margin: 1.25rem 0; }

.forgot-password {
  font-family: 'DM Sans', sans-serif;
  font-size: .78rem;
  margin-bottom: 1rem;
}
.forgot-password a { color: #6b5f45; text-decoration: none; transition: color .2s; }
.forgot-password a:hover { color: #c49a40; }

.field-error {
  font-family: 'DM Sans', sans-serif;
  font-size: .75rem;
  color: #e05070;
  margin-top: -.75rem;
  margin-bottom: .75rem;
}

.login-card form .btn {
  display: block;
  width: 100%;
  padding: .9rem;
  background: #c49a40;
  color: #0a0804 !important;
  font-family: 'DM Sans', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-align: center;
  transition: background .25s ease;
  margin-top: .5rem;
}
.login-card form .btn:hover {
  background: #e8c06a;
  color: #0a0804 !important;
  transform: none;
  box-shadow: none;
}

/* ================================================
   9. FOOTER
=================================================== */
.footer {
  position: static;
  width: 100%;
  z-index: 10;
  flex-shrink: 0;
  margin-top: auto;
  padding: 48px 0 28px;
  background: var(--bg-surface);
  border-top: 1px solid rgba(212, 168, 67, 0.1);
}

.footer p {
  color: var(--text-subtle);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer a {
  color: var(--text-subtle);
  text-decoration: none;
  transition: color 0.2s;
}

.footer a:hover {
  color: var(--ew-primary);
  text-decoration: none;
}

.footer i {
  vertical-align: middle;
}

body.d-flex {
  min-height: 100vh;
  min-height: 100svh !important;
}

main.flex-grow-1 {
  flex-grow: 1 !important;
}

/* ================================================
   11. FORMS / ALLAUTH
=================================================== */
.allauth-form p {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.allauth-form p label {
  color: var(--text-subtle);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.allauth-form p input[type="text"],
.allauth-form p input[type="email"],
.allauth-form p input[type="password"],
input,
textarea,
select {
  background: #111318;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 14px 16px;
  width: 100%;
  box-shadow: none;
  font-size: 15px;
  font-family: var(--font-body);
  transition: all 0.2s ease;
}

.allauth-form p input[type="text"]:hover,
.allauth-form p input[type="email"]:hover,
.allauth-form p input[type="password"]:hover,
input:hover,
textarea:hover,
select:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.allauth-form p input[type="text"]:focus,
.allauth-form p input[type="email"]:focus,
.allauth-form p input[type="password"]:focus,
input:focus,
textarea:focus,
select:focus {
  border-color: var(--design-light);
  outline: none;
  box-shadow: 0 0 0 4px rgba(121, 183, 232, 0.16);
  background: #151922;
}

.allauth-form p input::placeholder,
input::placeholder,
textarea::placeholder {
  color: var(--text-subtle);
}

.allauth-form .helptext {
  display: none;
}

.allauth-form .errorlist {
  list-style-type: none;
  padding: 0;
  margin: 0;
  color: #b3261e;
  font-size: 0.9rem;
}


/* ================================================
   12. UTILITIES / BREADCRUMBS / GLOBAL POLISH
=================================================== */
.main-bg,
main.flex-grow-1.main-bg {
  background-color: var(--bg-body) !important;
}

.eter-breadcrumb {
  padding: 20px 0 0;
  max-width: 1400px;
  margin: 0 auto;
}

.eter-back-link {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-subtle);
  text-decoration: none;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.eter-back-link:hover {
  color: var(--ew-primary);
}

::selection {
  background: rgba(212, 168, 67, 0.25);
  color: #f5e6c8;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: #0a0804;
}

::-webkit-scrollbar-thumb {
  background: rgba(212, 168, 67, 0.25);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 168, 67, 0.45);
}

*:focus-visible {
  outline: 2px solid rgba(212, 168, 67, 0.5);
  outline-offset: 2px;
}

p.text-end.m-3 {
  color: #4a3820 !important;
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 1px;
}

/* ================================================
   13. SECTION SYSTEM
=================================================== */

.card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)),
    var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  color: var(--text-body);
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05),
    transparent 35%,
    transparent 65%,
    rgba(255, 255, 255, 0.03)
  );
}

/* Design section */
.section-design a:not(.btn) {
  color: var(--design-light);
}

/* Studio section */
.section-studio a:not(.btn) {
  color: var(--studio-light);
}

.section-studio .card {
  border-color: var(--studio-border) !important;
  background:
    linear-gradient(180deg, rgba(215, 221, 229, 0.06), rgba(255, 255, 255, 0.015)),
    var(--bg-card) !important;
}

.section-studio .card:hover {
  background: var(--studio-primary) !important;
  color: var(--text-on-light) !important;
  border-color: var(--studio-light) !important;
}

.section-studio .card:hover * {
  color: var(--text-on-light) !important;
}

/* Media section */
.section-media a:not(.btn) {
  color: var(--media-light);
}

.section-media .card {
  border-color: var(--media-border) !important;
  background:
    linear-gradient(180deg, rgba(215, 148, 112, 0.06), rgba(255, 255, 255, 0.015)),
    var(--bg-card) !important;
}

.section-media .card:hover {
  background: var(--media-primary) !important;
  color: #fff !important;
  border-color: var(--media-light) !important;
}

.section-media .card:hover * {
  color: #fff !important;
}

/* ================================================
   WORKS HOME PAGE — Section styles
   ================================================ */
.ef-eyebrow {
  font-family: var(--font-mono, 'Courier Prime', monospace);
  font-size: .75rem;
  letter-spacing: 5px;
  color: #d89a7a;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.ef-divider {
  width: 60px;
  height: 1px;
  background: rgba(216, 154, 122, 0.55);
  margin: 2.5rem auto;
}
.ef-section-label {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: 4px;
  color: var(--text-subtle);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.ef-body-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.8;
  max-width: 680px;
  margin: 0 auto 1.2rem;
}
.ef-badge-soon {
  display: inline-block;
  font-family: var(--font-mono, 'Courier Prime', monospace);
  font-size: .65rem;
  letter-spacing: 2px;
  color: var(--color-text-muted, #7a5c2e);
  border: 1px solid rgba(122,92,46,.4);
  padding: .2rem .6rem;
  margin-top: 1.2rem;
  text-transform: uppercase;
}

/* ── BACK LINK — universal ── */
.page-back {
  font-family: 'DM Sans', sans-serif;
  font-size: .68rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #666;
  text-decoration: none;
  padding: 1.25rem 2rem 0;
  display: block;
  transition: color .2s ease;
}
.page-back:hover { color: #c49a40; }

/* ── FOOTER ── */
.footer {
  background: #0a0804;
  border-top: 1px solid #1e1a10;
}

/* Top section — 4 columns */
.footer-top {
  padding: 4rem 2rem 3rem;
}
.footer-top__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

/* Brand column */
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 6px;
  color: #c49a40;
  margin: 0 0 .5rem;
}
.footer-tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: .7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #6b5f45;
  margin: 0 0 .25rem;
}
.footer-tagline-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: .65rem;
  letter-spacing: 2px;
  color: #3a3228;
  margin: 0;
}

/* Nav columns */
.footer-col__title {
  font-family: 'DM Sans', sans-serif;
  font-size: .6rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #c49a40;
  margin: 0 0 1.25rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.footer-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: .78rem;
  color: #6b5f45;
  text-decoration: none;
  transition: color .2s ease;
}
.footer-links a:hover { color: #c49a40; }

/* Social bar — centered between top and bottom */
.footer-social-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.75rem;
  padding: 1.5rem 2rem;
  border-top: 1px solid #1a1510;
}
.footer-social-bar a {
  color: #4a4030;
  font-size: 1.1rem;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}
.footer-social-bar a:hover                        { transform: translateY(-2px); }
.footer-social-bar a:has(.fa-instagram):hover     { color: #E1306C; }
.footer-social-bar a:has(.fa-tiktok):hover        { color: #69C9D0; }
.footer-social-bar a:has(.fa-facebook):hover      { color: #1877F2; }
.footer-social-bar a:has(.fa-spotify):hover       { color: #1DB954; }
.footer-social-bar a:has(.fa-youtube):hover       { color: #FF0000; }

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid #1a1510;
  padding: 1rem 2rem;
}
.footer-bottom__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.footer-copy {
  font-family: 'DM Sans', sans-serif;
  font-size: .65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #2a2318;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-top__inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-col--brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 480px) {
  .footer-top__inner {
    grid-template-columns: 1fr;
  }
  .footer-bottom__inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .ef-brand-sub {
    display: none;
  }

  .ef-brand-main {
    font-size: 0.9rem;
    letter-spacing: 2.5px;
  }

  .ef-brand-icon {
    height: 30px;
  }
}

/* ── NAVBAR CONTACT US ── */
.nav-contact {
  font-family: 'DM Sans', sans-serif;
  font-size: .7rem !important;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c49a40 !important;
  border: 1px solid rgba(196,154,64,.3);
  border-radius: 2px;
  padding: .35rem 1rem !important;
  margin-left: .5rem;
  transition: background .2s ease, border-color .2s ease;
}
.nav-contact:hover {
  background: rgba(196,154,64,.1);
  border-color: #c49a40;
  color: #c49a40 !important;
}

/* ── NAV USER ICON DROPDOWN ── */
.nav-user-icon {
  color: #c8b090;
  padding: .35rem .6rem !important;
}
.nav-user-icon i {
  font-size: 1.15rem;
}
.nav-user-name {
  font-size: .7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-left: .35rem;
  vertical-align: middle;
}
.nav-user-dropdown .dropdown-menu {
  background: #0e0b08;
  border: 1px solid rgba(196,154,64,.2);
  border-radius: 2px;
  min-width: 130px;
  padding: .25rem 0;
}
.nav-user-dropdown .dropdown-item {
  color: #c8b090;
  font-family: 'DM Sans', sans-serif;
  font-size: .7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: .5rem 1rem;
}
.nav-user-dropdown .dropdown-item:hover,
.nav-user-dropdown .dropdown-item:focus {
  background: rgba(196,154,64,.1);
  color: #f4d27a;
}
/* hide Bootstrap's dropdown caret on the icon */
.nav-user-dropdown .dropdown-toggle::after {
  display: none;
}


/* ═══════════════════════════════════════════
   AYTHNYK — A Logo Watermark (global)
═══════════════════════════════════════════ */
.ah-logo-watermark-img {
  position: absolute !important;
  top: -50% !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 600px !important;
  height: 600px !important;
  object-fit: contain !important;
  opacity: 0.14 !important;
  filter: blur(2px) !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

/* ── Aythnyk hero sections z-index fix ── */
.songs-hero > *:not(.ah-logo-watermark-img),
.shop-hero > *:not(.ah-logo-watermark-img),
.bpd-hero > *:not(.ah-logo-watermark-img) {
  position: relative;
  z-index: 1;
}

/* ── Shop hero watermark position fix ── */
.shop-hero .ah-logo-watermark-img {
  top: -17% !important;
}

/* ── Series section watermark position fix ── */
.poem-series-section .ah-logo-watermark-img {
  top: -17% !important;
}

/* ── Series watermark centered with title ── */
.poem-series-section .ah-logo-watermark-img {
  top: -17% !important;
}

/* ── Works Aythnyk section watermark ── */
.wh-aythnyk .ah-logo-watermark-img {
  opacity: 0.03 !important;
  filter: brightness(3) !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
}


/* ═══════════════════════════════════════════
   404 PAGE
═══════════════════════════════════════════ */
.e404-hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem;
  overflow: hidden;
}
.e404__eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: .7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #c49a40;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.e404__code {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(6rem, 20vw, 14rem);
  font-weight: 300;
  color: #c49a40;
  line-height: 1;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.e404__message {
  font-family: 'DM Sans', sans-serif;
  color: #c8b090;
  font-size: 1rem;
  letter-spacing: 1px;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}
.e404__btn {
  font-family: 'DM Sans', sans-serif;
  font-size: .7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c49a40;
  border: 1px solid rgba(196,154,64,.3);
  border-radius: 2px;
  padding: .6rem 1.5rem;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
  position: relative;
  z-index: 1;
}
.e404__btn:hover {
  background: rgba(196,154,64,.1);
  border-color: #c49a40;
  color: #f4d27a;
}

/* ── STICKY NAVBAR — blur + scroll effect ── */
.ef-navbar-sticky {
  position: sticky;
  top: 0;
  z-index: 1030;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background-color: rgba(5, 8, 16, 0.92) !important;
  border-bottom: 1px solid rgba(196,154,64,0.1);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.ef-navbar-sticky.scrolled {
  background-color: rgba(3, 5, 12, 0.98) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
  border-bottom-color: rgba(196,154,64,0.2);
}

/* ── NAV DROPDOWNS ── */
.ef-dropdown-menu {
  background: rgba(5, 8, 16, 0.97) !important;
  border: 1px solid rgba(196,154,64,0.2) !important;
  border-radius: 3px !important;
  padding: 0.5rem 0 !important;
  backdrop-filter: blur(12px) !important;
  min-width: 160px !important;
  margin-top: 0.5rem !important;
}
.ef-dropdown-item {
  font-family: 'DM Mono', monospace !important;
  font-size: 0.6rem !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  color: rgba(200,220,245,0.7) !important;
  padding: 0.6rem 1.25rem !important;
  transition: color 0.2s ease, background 0.2s ease !important;
}
.ef-dropdown-item:hover, .ef-dropdown-item:focus {
  color: #c49a40 !important;
  background: rgba(196,154,64,0.08) !important;
}
.ef-dropdown-divider {
  border-color: rgba(196,154,64,0.15) !important;
  margin: 0.35rem 0 !important;
}
.ef-nav-dropdown .dropdown-toggle::after {
  border-top-color: rgba(196,154,64,0.5) !important;
  vertical-align: 0.15em !important;
}
.ef-nav-dropdown:hover .dropdown-toggle::after {
  border-top-color: #c49a40 !important;
}

/* ── AYTHNYK DROPDOWN — same as Works, gold hover ── */
.ef-dropdown-menu--ay {
  background: rgba(5, 8, 16, 0.97) !important;
  border-color: rgba(196,154,64,0.2) !important;
}
.ef-dropdown-item--ay {
  color: rgba(245,230,200,0.75) !important;
}
.ef-dropdown-item--ay:hover,
.ef-dropdown-item--ay:focus {
  color: #c49a40 !important;
  background: rgba(196,154,64,0.08) !important;
}
.ef-dropdown-divider--ay {
  border-color: rgba(196,154,64,0.15) !important;
}

/* ── NAV DROPDOWN CARET — separate from link ── */
.ef-dropdown-caret {
  color: rgba(196,154,64,0.6) !important;
  font-size: 0.8rem !important;
  padding: 0 0.25rem !important;
  text-decoration: none !important;
  vertical-align: middle !important;
  transition: color 0.2s ease !important;
}
.ef-dropdown-caret:hover {
  color: #c49a40 !important;
}

/* ── NAV DROPDOWN CARET — separate from link ── */
.ef-dropdown-caret {
  color: rgba(196,154,64,0.6) !important;
  font-size: 0.8rem !important;
  padding: 0 0.25rem !important;
  text-decoration: none !important;
  vertical-align: middle !important;
  transition: color 0.2s ease !important;
}
.ef-dropdown-caret:hover {
  color: #c49a40 !important;
}

/* ── Fix browser autofill white background ── */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #111318 inset !important;
  -webkit-text-fill-color: rgba(200,220,245,0.9) !important;
  caret-color: rgba(200,220,245,0.9) !important;
  transition: background-color 5000s ease-in-out 0s !important;
}

/* Works contact form autofill */
.wc-input:-webkit-autofill,
.wc-input:-webkit-autofill:hover,
.wc-input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #141008 inset !important;
  -webkit-text-fill-color: rgba(245,225,190,0.9) !important;
  caret-color: rgba(245,225,190,0.9) !important;
  transition: background-color 5000s ease-in-out 0s !important;
}

/* ── Fix Bootstrap alert-light in dark theme ── */
.alert-light {
  background-color: rgba(255,255,255,0.04) !important;
  border-color: rgba(255,255,255,0.08) !important;
  color: rgba(200,220,245,0.6) !important;
}
.text-secondary {
  color: rgba(200,220,245,0.5) !important;
}

/* ── Checkbox custom dark theme ── */
input[type="checkbox"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  background: transparent !important;
  border: 1px solid rgba(196,154,64,0.5) !important;
  border-radius: 3px !important;
  cursor: pointer !important;
  position: relative !important;
  vertical-align: middle !important;
  transition: border-color 0.2s ease, background 0.2s ease !important;
}
input[type="checkbox"]:checked {
  background: #c49a40 !important;
  border-color: #c49a40 !important;
}
input[type="checkbox"]:checked::after {
  content: '✓' !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  color: #0a0804 !important;
  font-size: 11px !important;
  font-weight: bold !important;
  line-height: 1 !important;
}
input[type="checkbox"]:hover {
  border-color: #c49a40 !important;
}

/* ── FOOTER — Aythnyk variant (red) ─────────────────── */
body.aythnyk-section .footer {
  background: rgba(184, 15, 42, 0.88);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ── FOOTER — Aythnyk text colors (red background contrast) ─── */
body.aythnyk-section .footer p,
body.aythnyk-section .footer h1,
body.aythnyk-section .footer h2,
body.aythnyk-section .footer h3,
body.aythnyk-section .footer h4,
body.aythnyk-section .footer h5,
body.aythnyk-section .footer h6,
body.aythnyk-section .footer span,
body.aythnyk-section .footer li {
  color: rgba(255, 250, 240, 0.92);
}

body.aythnyk-section .footer a {
  color: rgba(255, 250, 240, 0.92);
}

body.aythnyk-section .footer a:hover {
  color: var(--ew-primary);
}

body.aythnyk-section .footer i,
body.aythnyk-section .footer svg {
  color: rgba(255, 250, 240, 0.92);
  fill: rgba(255, 250, 240, 0.92);
}

/* ── EF TOAST SYSTEM — confirmación post-action ─────────────────
   Usado por Django messages (success, error, info, warning).
   Auto-dismiss 6s, click X para cerrar manual, max 5 stacked.
   Responsive: full-width en móvil.
─────────────────────────────────────────────────────────────────── */
.ef-toast-stack {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
  max-width: 440px;
}
.ef-toast {
  pointer-events: auto;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  padding: 16px 44px 16px 20px;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.4),
    0 4px 12px rgba(0, 0, 0, 0.2);
  position: relative;
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  animation: ef-toast-in 0.35s cubic-bezier(0.2, 0.9, 0.3, 1) forwards;
  opacity: 0;
  transform: translateX(40px);
  overflow: hidden;
}
.ef-toast.is-leaving {
  animation: ef-toast-out 0.25s ease forwards;
}
.ef-toast--success { border-left-color: var(--gold); }
.ef-toast--error   { border-left-color: var(--ay-primary); }
.ef-toast--warning { border-left-color: var(--gold-bright); }
.ef-toast--info    { border-left-color: var(--design-primary); }

.ef-toast__icon {
  display: inline-block;
  margin-right: 10px;
  font-size: 16px;
  vertical-align: top;
  font-weight: bold;
}
.ef-toast--success .ef-toast__icon { color: var(--gold-bright); }
.ef-toast--error   .ef-toast__icon { color: var(--ay-light); }
.ef-toast--warning .ef-toast__icon { color: var(--gold-bright); }
.ef-toast--info    .ef-toast__icon { color: var(--design-light); }

.ef-toast__msg {
  display: inline-block;
  max-width: calc(100% - 30px);
}
.ef-toast__close {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.4);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  margin: 0;
  transition: color 0.15s;
  font-family: inherit;
}
.ef-toast__close:hover { color: var(--gold-bright); }
.ef-toast__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--gold);
  width: 100%;
  animation: ef-toast-progress 6s linear forwards;
  transform-origin: left center;
}
.ef-toast--error   .ef-toast__progress { background: var(--ay-primary); }
.ef-toast--warning .ef-toast__progress { background: var(--gold-bright); }
.ef-toast--info    .ef-toast__progress { background: var(--design-primary); }

@keyframes ef-toast-in {
  0%   { opacity: 0; transform: translateX(40px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes ef-toast-out {
  0%   { opacity: 1; transform: translateX(0); }
  100% { opacity: 0; transform: translateX(40px); }
}
@keyframes ef-toast-progress {
  0%   { transform: scaleX(1); }
  100% { transform: scaleX(0); }
}

/* Mobile: toast queda arriba full-width en lugar de esquina */
@media (max-width: 600px) {
  .ef-toast-stack {
    top: 12px;
    right: 12px;
    left: 12px;
    max-width: none;
  }
}


/* ================================================
   N. BACK TO TOP BUTTON — glass morphism
   Appears after scrolling, smooth animations,
   reduced-motion accessibility respect.
=================================================== */
.ef-back-to-top {
  /* Position fixed above the chat button (#ef-btn at bottom: 1.75rem) */
  position: fixed;
  bottom: 96px;
  right: 30px;
  z-index: 1040; /* above sticky navbar (1030) */

  /* Circle dimensions */
  width: 48px;
  height: 48px;
  border-radius: 50%;

  /* Center the SVG icon */
  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* Glass morphism effect */
  background: rgba(3, 5, 12, 0.65);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(196, 154, 64, 0.35); /* gold border at 35% */
  
  /* Gold icon */
  color: var(--gold);

  /* Subtle shadow for depth */
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;

  /* Hidden by default, fade in when active */
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);

  /* Smooth transitions */
  transition: 
    opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  
  /* Cursor + remove underline */
  text-decoration: none;
  cursor: pointer;
}

/* Visible state — toggled by JS via .is-visible class */
.ef-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Hover state — gold glow */
.ef-back-to-top:hover {
  background: rgba(196, 154, 64, 0.18);
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  box-shadow: 
    0 12px 40px rgba(196, 154, 64, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

/* Active state — subtle press effect */
.ef-back-to-top:active {
  transform: translateY(0) scale(0.95);
}

/* Focus state — accessibility */
.ef-back-to-top:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

/* SVG icon animation on hover */
.ef-back-to-top svg {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ef-back-to-top:hover svg {
  transform: translateY(-2px);
}

/* Mobile adjustments */
@media (max-width: 600px) {
  .ef-back-to-top {
    bottom: 84px;
    right: 22px;
    width: 44px;
    height: 44px;
  }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .ef-back-to-top,
  .ef-back-to-top svg {
    transition: opacity 0.2s ease, visibility 0.2s ease;
    transform: none !important;
  }
}




/* ================================================
   N. APPLE-STYLE HOVER REFINEMENT
   Adds Apple's ease-out-quart curve to all interactive
   transitions site-wide. Only affects transition-timing,
   does NOT modify existing colors, transforms, or durations.
=================================================== */
a,
button,
.btn,
[class*="-btn"],
[class*="__btn"],
[class*="-card"],
[class*="__card"] {
  transition-timing-function: var(--ease-out-quart) !important;
}

/* ================================================
   O. FOOTER — Newsletter band (Aythnyk audience)
   Sits between footer-top and footer-social-bar.
   Bilingual-aware: copy hardcoded EN for footer consistency.
=================================================== */

.footer-newsletter {
  padding: 3.5rem 1.5rem;
  border-top: 1px solid rgba(212, 184, 124, 0.08);
  border-bottom: 1px solid rgba(212, 184, 124, 0.08);
}

.footer-newsletter__inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.footer-newsletter__eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #d4b87c;
  margin: 0 0 1.25rem;
  opacity: 0.9;
}

.footer-newsletter__lead {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 300;
  font-style: italic;
  color: #c9c4b8;
  margin: 0 0 2rem;
  line-height: 1.4;
}

.footer-newsletter__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  align-items: stretch;
  margin: 0 auto 1.25rem;
  max-width: 460px;
}

.footer-newsletter__input {
  flex: 1 1 240px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 184, 124, 0.2);
  color: #e8e4d8;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  padding: 0.85rem 1.1rem;
  border-radius: 2px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.footer-newsletter__input::placeholder {
  color: rgba(201, 196, 184, 0.4);
}

.footer-newsletter__input:focus {
  outline: none;
  border-color: rgba(212, 184, 124, 0.6);
  background: rgba(255, 255, 255, 0.06);
}

.footer-newsletter__btn {
  flex: 0 0 auto;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d4b87c;
  background: transparent;
  border: 1px solid rgba(212, 184, 124, 0.4);
  padding: 0.85rem 1.5rem;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.footer-newsletter__btn:hover:not(:disabled) {
  background: rgba(212, 184, 124, 0.08);
  border-color: rgba(212, 184, 124, 0.7);
  color: #e8cf94;
}

.footer-newsletter__btn:disabled {
  opacity: 0.5;
  cursor: wait;
}

.footer-newsletter__note {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: rgba(156, 149, 138, 0.7);
  margin: 0;
  transition: color 0.3s ease;
  min-height: 1.2em;
}

.footer-newsletter__note.is-success {
  color: #d4b87c;
  font-weight: 500;
}

.footer-newsletter__note.is-error {
  color: #c97070;
  font-weight: 500;
}

@media (max-width: 540px) {
  .footer-newsletter { padding: 2.5rem 1.25rem; }
  .footer-newsletter__form { flex-direction: column; align-items: stretch; }
  .footer-newsletter__btn { width: 100%; }
}

/* ────────────────────────────────────────────────
   FOOTER — Newsletter band on red background
   When body has .aythnyk-section, the gold borders
   disappear into the red. Use dark borders matching
   the social bar pattern (same as siblings).
─────────────────────────────────────────────────── */
body.aythnyk-section .footer-newsletter {
  border-top: 1px solid #1a1510;
  border-bottom: none;
}
