/*
Theme Name: Titan Investment Coming Soon
Theme URI: https://titan-investment.ae/
Author: Titan Investment LLC
Description: A refined, responsive coming-soon landing page for Titan Investment LLC.
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: titan-investment
*/

:root {
  --titan-ink: #1c2f35;
  --titan-teal: #2e494f;
  --titan-gold: #b88f4c;
  --titan-gold-light: #d7b879;
  --titan-paper: #f5f1e8;
  --titan-white: #fffdf8;
  --titan-line: rgba(28, 47, 53, 0.14);
  --titan-shadow: 0 32px 80px rgba(28, 47, 53, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--titan-paper);
  color: var(--titan-ink);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.titan-page {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.titan-page::before,
.titan-page::after {
  content: "";
  position: absolute;
  z-index: -2;
  border-radius: 999px;
  pointer-events: none;
}

.titan-page::before {
  top: -25rem;
  right: -18rem;
  width: 54rem;
  height: 54rem;
  border: 1px solid rgba(184, 143, 76, 0.26);
  box-shadow: 0 0 0 7rem rgba(184, 143, 76, 0.035),
    0 0 0 14rem rgba(184, 143, 76, 0.025);
}

.titan-page::after {
  left: -14rem;
  bottom: -22rem;
  width: 42rem;
  height: 42rem;
  background: rgba(46, 73, 79, 0.06);
  filter: blur(2px);
}

.titan-shell {
  width: min(100% - 48px, 1440px);
  min-height: 100vh;
  min-height: 100svh;
  margin: 0 auto;
  padding: 30px 0 22px;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.titan-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 5;
}

.titan-brand,
.titan-brand a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.titan-brand img,
.titan-brand .custom-logo {
  display: block;
  width: auto;
  height: 118px;
  max-width: 260px;
  object-fit: contain;
}

.titan-place {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 11px 17px;
  border: 1px solid var(--titan-line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.7);
  color: var(--titan-teal);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.titan-place::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--titan-gold);
  box-shadow: 0 0 0 5px rgba(184, 143, 76, 0.14);
}

.titan-main {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(420px, 0.88fr);
  align-items: center;
  gap: clamp(38px, 6vw, 92px);
  padding: 28px 0 42px;
}

.titan-content {
  max-width: 810px;
  padding: 30px 0;
}

.titan-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  color: var(--titan-gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.titan-eyebrow::before {
  content: "";
  width: 44px;
  height: 1px;
  background: currentColor;
}

.titan-title {
  margin: 0;
  max-width: 800px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.35rem, 6.4vw, 7.25rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.052em;
}

.titan-title em {
  display: block;
  color: var(--titan-gold);
  font-weight: 400;
}

.titan-intro {
  max-width: 690px;
  margin: 30px 0 0;
  color: rgba(28, 47, 53, 0.74);
  font-size: clamp(1rem, 1.35vw, 1.17rem);
  line-height: 1.78;
}

.titan-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.titan-button {
  min-height: 54px;
  padding: 0 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--titan-ink);
  color: var(--titan-white);
  font-size: 0.89rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease,
    border-color 180ms ease;
}

.titan-button:hover,
.titan-button:focus-visible {
  transform: translateY(-2px);
  background: var(--titan-teal);
}

.titan-button--quiet {
  background: transparent;
  color: var(--titan-ink);
  border-color: var(--titan-line);
}

.titan-button--quiet:hover,
.titan-button--quiet:focus-visible {
  background: rgba(255, 253, 248, 0.8);
  color: var(--titan-ink);
  border-color: rgba(184, 143, 76, 0.5);
}

.titan-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.titan-visual {
  position: relative;
  min-height: min(66vh, 650px);
  padding: clamp(30px, 4vw, 58px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 34px;
  background: var(--titan-ink);
  color: var(--titan-white);
  box-shadow: var(--titan-shadow);
}

.titan-visual::before {
  content: "";
  position: absolute;
  top: -22%;
  right: -28%;
  width: 110%;
  aspect-ratio: 1;
  border: 1px solid rgba(215, 184, 121, 0.28);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(215, 184, 121, 0.035),
    0 0 0 160px rgba(215, 184, 121, 0.02);
}

.titan-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

.titan-visual__top,
.titan-visual__bottom,
.titan-mark {
  position: relative;
  z-index: 2;
}

.titan-visual__label {
  margin: 0;
  color: var(--titan-gold-light);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.titan-mark {
  width: min(82%, 390px);
  margin: auto;
  padding: 50px 0;
}

.titan-chevron {
  width: 100%;
  aspect-ratio: 2.4 / 1;
  margin: -9% auto 0;
  background: currentColor;
  clip-path: polygon(0 80%, 50% 0, 100% 80%, 90% 100%, 50% 34%, 10% 100%);
}

.titan-chevron:first-child {
  margin-top: 0;
  color: var(--titan-gold);
}

.titan-chevron:nth-child(2) {
  color: #42656b;
}

.titan-chevron:nth-child(3) {
  color: #f4efe5;
  opacity: 0.92;
}

.titan-visual__bottom {
  max-width: 430px;
}

.titan-visual__title {
  margin: 0 0 13px;
  color: var(--titan-white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3.2vw, 3.25rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.titan-visual__copy {
  margin: 0;
  max-width: 385px;
  color: rgba(255, 253, 248, 0.66);
  font-size: 0.93rem;
  line-height: 1.65;
}

.titan-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
  min-height: 52px;
  border-top: 1px solid var(--titan-line);
  color: rgba(28, 47, 53, 0.6);
  font-size: 0.78rem;
}

.titan-footer__contact {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.titan-footer a {
  text-decoration: none;
  transition: color 180ms ease;
}

.titan-footer a:hover,
.titan-footer a:focus-visible {
  color: var(--titan-gold);
}

.titan-footer__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--titan-gold);
}

@media (max-width: 1050px) {
  .titan-shell {
    width: min(100% - 36px, 820px);
  }

  .titan-main {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 10px;
  }

  .titan-content {
    max-width: 760px;
    padding-bottom: 50px;
  }

  .titan-title {
    max-width: 720px;
  }

  .titan-visual {
    min-height: 540px;
  }

  .titan-mark {
    width: min(66%, 340px);
  }

  .titan-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
    padding: 20px 0 8px;
    text-align: center;
  }
}

@media (max-width: 620px) {
  .titan-shell {
    width: min(100% - 26px, 560px);
    padding-top: 18px;
  }

  .titan-brand img,
  .titan-brand .custom-logo {
    height: 86px;
    max-width: 190px;
  }

  .titan-place {
    max-width: 148px;
    padding: 9px 12px;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }

  .titan-main {
    padding-bottom: 26px;
  }

  .titan-content {
    padding-top: 24px;
    padding-bottom: 40px;
  }

  .titan-eyebrow {
    margin-bottom: 18px;
    letter-spacing: 0.14em;
  }

  .titan-title {
    font-size: clamp(3rem, 15.5vw, 4.6rem);
    line-height: 0.96;
  }

  .titan-intro {
    margin-top: 24px;
    line-height: 1.67;
  }

  .titan-actions {
    align-items: stretch;
    flex-direction: column;
    margin-top: 29px;
  }

  .titan-button {
    width: 100%;
  }

  .titan-visual {
    min-height: 490px;
    padding: 30px;
    border-radius: 26px;
  }

  .titan-mark {
    width: 82%;
  }

  .titan-footer__contact {
    flex-direction: column;
  }

  .titan-footer__dot {
    display: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .titan-content > * {
    animation: titan-rise 760ms both;
  }

  .titan-content > :nth-child(2) {
    animation-delay: 80ms;
  }

  .titan-content > :nth-child(3) {
    animation-delay: 150ms;
  }

  .titan-content > :nth-child(4) {
    animation-delay: 220ms;
  }

  .titan-visual {
    animation: titan-reveal 900ms 120ms both;
  }

  .titan-mark {
    animation: titan-float 7s ease-in-out infinite;
  }
}

@keyframes titan-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes titan-reveal {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes titan-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}
