:root{
  --bg: #000000;
  --brand-primary-color: #996633;
  --wood: var(--brand-primary-color);
  --wood-light: #bd9c7a;
  --cream: #f2e9dd;
  --muted: #8a8078;
  --border: rgba(242, 233, 221, 0.12);
  --error: #d16a5a;
  --test: rgba(153, 102, 51, 0.5);
}

*{ box-sizing: border-box; }

html, body{
  margin: 0;
  padding: 0;
  height: 100%;
}

body{
  background: var(--bg);
  color: var(--cream);
  font-family: 'Inter', 'Cairo', sans-serif;
  font-weight: 300;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

.grain{
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.page{
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  width: 100%;
}

.wrap{
  max-width: 760px;
  width: 100%;
  padding: 32px 32px 0;
  text-align: center;
  animation: fadeUp 1s ease both;
}

.bottom-block{
  max-width: 760px;
  width: 100%;
  padding: 0 32px 32px;
  text-align: center;
  margin-top: auto;
  animation: fadeUp 1s ease both;
}

@keyframes fadeUp{
  from{ opacity: 0; transform: translateY(14px); }
  to{ opacity: 1; transform: translateY(0); }
}

/* Logo */
.logo{
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}
.logo img{
  height: 250px;
  width: auto;
}

.brand{
  font-family: 'Alice', 'Times New Roman', Times, serif;
  font-weight: 400;
  font-size: clamp(2.2rem, 6.5vw, 2.8rem);
  letter-spacing: 0.03em;
  color: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 0 5px;
  text-transform: uppercase;
}
.brand .brand-en{
  padding: 0;
  margin: 0;
}
.brand .brand-ar{
  font-family: 'Cairo', serif;
  font-weight: 600;
  font-size: clamp(2.2rem, 6.5vw, 2.8rem);
  padding: 0;
  margin: 0;
}


/* Slogan under brand name */
.slogan{
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--wood-light);
  margin: 0 0 40px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

/* Bilingual pairs: EN+AR tagline together, EN+AR "coming soon" together, separated by a divider */
.bilingual-grid{
  margin-bottom: 32px;
  text-align: center;
}

.bi-en{
  direction: ltr;
  font-family: 'Inter', sans-serif;
}

.bi-ar{
  direction: rtl;
  font-family: 'Cairo', sans-serif;
}

.tagline{
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wood-light);
  margin: 0;
}

.tagline.bi-ar{
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  margin: 0 0 16px;
}

.bi-separator{
  width: 40px;
  height: 1px;
  background: var(--border);
  margin: 0 auto 16px;
}

.coming-soon{
  font-size: 15px;
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}

@media (min-width: 620px){
  .bilingual-grid{
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    column-gap: 28px;
    align-items: start;
    text-align: initial;
  }
  .tagline.bi-en{ grid-column: 1; grid-row: 1; text-align: left; margin: 0 0 14px; }
  .tagline.bi-ar{ grid-column: 3; grid-row: 1; text-align: right; margin: 0 0 14px; }
  .coming-soon.bi-en{ grid-column: 1; grid-row: 2; text-align: left; }
  .coming-soon.bi-ar{ grid-column: 3; grid-row: 2; text-align: right; }
  .bi-separator{
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 1px;
    height: auto;
    background: linear-gradient(to bottom, transparent, var(--border), transparent);
    margin: 0;
  }
}

/* Light sliding catchphrase ticker (full carousel is planned for the real WordPress homepage) */
.catchphrase-ticker{
  min-height: 76px;
  margin: 0 0 32px;
  padding: 18px 8px 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}
.ticker-line{
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--cream);
  opacity: 0;
  transition: opacity 1s ease;
}
.ticker-en{
  font-family: 'Inter', sans-serif;
  font-weight: 300;
}
.ticker-ar{
  font-family: 'Cairo', sans-serif;
  font-weight: 500;
}
@media (prefers-reduced-motion: reduce){
  .ticker-line{
    transition: none;
  }
}

.ticker-nav-row{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 10px 0 28px;
}
.ticker-arrow{
  background: none;
  border: none;
  padding: 4px;
  margin: 0;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  transition: color 0.2s ease;
}
.ticker-arrow svg{ display: block; }
.ticker-arrow:hover,
.ticker-arrow:focus-visible{
  color: var(--wood-light);
}

.ticker-dots{
  display: flex;
  align-items: center;
  gap: 8px;
}
.ticker-dot{
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.ticker-dot:hover{
  background: var(--wood-light);
}
.ticker-dot[aria-current="true"]{
  background: var(--wood);
  transform: scale(1.3);
}
.ticker-arrow:focus-visible,
.ticker-dot:focus-visible{
  outline: 1px solid var(--wood-light);
  outline-offset: 2px;
}

/* Decorative divider: fading line, dot, fading line (purely visual, no controls) */
.divider{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}
.divider-line{
  height: 1px;
  width: 48px;
  background: linear-gradient(to right, transparent, var(--wood));
}
.divider-line:last-child{
  background: linear-gradient(to left, transparent, var(--wood));
}
.divider-dot{
  width: 6px;
  height: 6px;
  background: var(--wood);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.notify-form{
  display: flex;
  gap: 10px;
  max-width: 380px;
  margin: 0 auto 10px;
}

.notify-form input{
  flex: 1;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  color: var(--cream);
  padding: 13px 16px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
  text-align: center;
}
.notify-form input::placeholder{ color: var(--muted); }
.notify-form input:focus{ border-color: var(--wood-light); }

.notify-form button{
  background: var(--wood);
  color: #0a0705;
  border: none;
  padding: 13px 22px;
  border-radius: 8px;
  font-family: inherit;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.15s ease;
}
.notify-form button:hover{
  background: var(--wood-light);
  transform: translateY(-1px);
}

.form-note{
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 10px;
}
.form-note .sep{
  color: var(--border);
  margin: 0 6px;
}

.form-message{
  min-height: 20px;
  font-size: 13px;
  color: var(--wood-light);
  margin: 0 0 36px;
}
.form-message.is-error{
  color: var(--error);
}

.socials{
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.socials a{
  color: var(--muted);
  display: inline-flex;
  transition: color 0.2s ease, transform 0.2s ease;
}
.socials a:hover{
  color: var(--wood-light);
  transform: translateY(-2px);
}

.footer-note{
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.03em;
}
.footer-note .footer-ar{
  font-family: 'Cairo', sans-serif;
}

.sr-only{
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

@media (max-width: 480px){
  .notify-form{ flex-direction: column; }
  .logo img{
      height: auto;
      width: 55vw;
    }
  
  .socials{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px 10px;
    justify-items: center;
  }
}
