/*
Theme Name: Urban Eagle Visions
Theme URI: https://urbaneaglevisions.com
Author: Urban Eagle Visions LLC
Author URI: https://urbaneaglevisions.com
Description: A refined, minimal theme for Urban Eagle Visions LLC, a Dallas-based hospitality holding company. Editorial typography, navy-and-ivory palette, generous whitespace.
Version: 1.2.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: urban-eagle-visions
Tags: minimal, editorial, business, one-page, custom-logo, custom-menu, threaded-comments
*/

/* ==========================================================================
   1. Design Tokens
   ========================================================================== */
:root {
  --color-navy:      #1a2847;
  --color-navy-deep: #0f1a32;
  --color-ivory:     #fbfaf6;
  --color-paper:     #f3f1ea;
  --color-rule:      #d9d4c4;
  --color-ink:       #1a1a1a;
  --color-muted:     #6b6e78;
  --color-gold:      #c9a449;

  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-body:    "Inter", "Helvetica Neue", Arial, sans-serif;

  --measure: 64ch;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4rem, 10vw, 8rem);

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ==========================================================================
   2. Reset / Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--color-ivory);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }

a {
  color: var(--color-navy);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
a:hover, a:focus-visible { border-bottom-color: var(--color-gold); }

::selection { background: var(--color-navy); color: var(--color-ivory); }

/* ==========================================================================
   3. Typography
   ========================================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--color-navy);
  letter-spacing: -0.01em;
  margin: 0 0 .6em;
  line-height: 1.1;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); font-weight: 400; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.625rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p { margin: 0 0 1.25em; max-width: var(--measure); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-muted);
  margin: 0 0 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--color-gold);
}

.lede {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.45;
  color: var(--color-navy-deep);
  font-weight: 400;
  font-style: italic;
}

/* ==========================================================================
   4. Layout
   ========================================================================== */
.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding: var(--section-y) 0; }
.section--paper { background: var(--color-paper); }
.section--navy {
  background: var(--color-navy);
  color: var(--color-ivory);
}
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--color-ivory); }
.section--navy .eyebrow { color: rgba(251, 250, 246, 0.65); }
.section--navy .lede { color: var(--color-ivory); }

.divider {
  width: 40px;
  height: 1px;
  background: var(--color-gold);
  border: 0;
  margin: 2.5rem 0;
}

/* ==========================================================================
   5. Site Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 246, 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--color-rule);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.1rem 0;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  border-bottom: 0;
}
.site-brand img { height: 42px; width: auto; }
.site-brand__text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  letter-spacing: 0.04em;
  color: var(--color-navy);
  font-weight: 500;
}
.site-brand__text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-muted);
  font-weight: 500;
  margin-top: 2px;
}

.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 2.25rem;
}
.primary-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-navy);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--color-navy);
  margin: 6px 0;
  transition: transform .3s var(--ease);
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .primary-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--color-ivory);
    border-bottom: 1px solid var(--color-rule);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s var(--ease);
  }
  .primary-nav.is-open { max-height: 400px; }
  .primary-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 1rem var(--gutter) 1.5rem;
  }
  .primary-nav li { border-bottom: 1px solid var(--color-rule); }
  .primary-nav li:last-child { border-bottom: 0; }
  .primary-nav a { display: block; padding: 1rem 0; }
}

/* ==========================================================================
   6. Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: clamp(5rem, 12vw, 9rem) 0 clamp(4rem, 9vw, 7rem);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 880px) {
  .hero__grid { grid-template-columns: 1.15fr 1fr; }
}

.hero__title {
  font-size: clamp(2.75rem, 6.5vw, 5.25rem);
  font-weight: 400;
  letter-spacing: -0.015em;
}
.hero__title em {
  font-style: italic;
  color: var(--color-gold);
  font-weight: 400;
}
.hero__sub {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  color: var(--color-muted);
  max-width: 44ch;
  margin-top: 1.75rem;
  line-height: 1.7;
}

.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__visual::before {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px solid var(--color-rule);
  border-radius: 50%;
}
.hero__visual::after {
  content: "";
  position: absolute;
  inset: 22%;
  border: 1px solid var(--color-gold);
  opacity: 0.4;
  border-radius: 50%;
}
.hero__visual img {
  position: relative;
  z-index: 1;
  max-width: 78%;
  filter: drop-shadow(0 20px 40px rgba(26, 40, 71, 0.12));
  animation: float 6s ease-in-out infinite;
}

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

/* ==========================================================================
   7. Two-column content
   ========================================================================== */
.cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
}
@media (min-width: 820px) {
  .cols--label-body { grid-template-columns: 1fr 2fr; }
}

/* ==========================================================================
   8. Pillars
   ========================================================================== */
.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 3rem;
  border-top: 1px solid var(--color-rule);
}
@media (min-width: 720px) {
  .pillars { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .pillars { grid-template-columns: repeat(3, 1fr); }
}

.pillar {
  padding: 2.25rem 1.75rem 2.25rem 0;
  border-bottom: 1px solid var(--color-rule);
  position: relative;
}
@media (min-width: 720px) {
  .pillar:nth-child(odd)  { padding-right: 2.25rem; border-right: 1px solid var(--color-rule); }
  .pillar:nth-child(even) { padding-left: 2.25rem; }
}
@media (min-width: 1000px) {
  .pillar { padding: 2.25rem; border-right: 1px solid var(--color-rule); }
  .pillar:nth-child(3n) { border-right: 0; }
  .pillar:nth-child(odd) { padding-right: 2.25rem; }
  .pillar:nth-child(even) { padding-left: 2.25rem; }
  .pillar { padding: 2.25rem; }
}

.pillar__num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-gold);
  font-size: 1rem;
  margin-bottom: 1rem;
  display: block;
}
.pillar h3 { margin-bottom: 0.5rem; }
.pillar p { color: var(--color-muted); font-size: 0.95rem; margin-bottom: 0; }

/* ==========================================================================
   8b. Principles (stacked, longer-form)
   ========================================================================== */
.principles {
  margin-top: 3.5rem;
  border-top: 1px solid var(--color-rule);
}
.principle {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  border-bottom: 1px solid var(--color-rule);
}
@media (min-width: 820px) {
  .principle { grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 5vw, 4.5rem); }
}
.principle__label { position: relative; }
.principle__num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-gold);
  font-size: 1.25rem;
  display: block;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}
.principle__label h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: 0;
  line-height: 1.15;
}
.principle__body p {
  color: var(--color-ink);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1em;
}
.principle__body p:first-child {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--color-navy-deep);
  line-height: 1.5;
}
.principle__body p:last-child { margin-bottom: 0; }

/* ==========================================================================
   8c. Hero intro (multi-paragraph subtitle)
   ========================================================================== */
.hero__intro {
  margin-top: 1.75rem;
  max-width: 44ch;
}
.hero__intro p {
  font-family: var(--font-body);
  color: var(--color-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 1em;
  max-width: none;
}
.hero__intro p:last-child { margin-bottom: 0; }

/* ==========================================================================
   9. Brand callout (portfolio)
   ========================================================================== */
.brand-callout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(2.5rem, 5vw, 4rem);
  background: var(--color-ivory);
  color: var(--color-ink);
  border-radius: 2px;
  position: relative;
}
@media (min-width: 820px) {
  .brand-callout { grid-template-columns: 1fr 1.5fr; }
}
.brand-callout h2 { color: var(--color-navy); }
.brand-callout__mark {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-style: italic;
  color: var(--color-navy);
  line-height: 1;
  letter-spacing: -0.02em;
}
.brand-callout__mark span {
  display: block;
  font-size: 0.7rem;
  font-style: normal;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-top: 1rem;
  font-family: var(--font-body);
}

/* ==========================================================================
   10. Contact
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}
@media (min-width: 720px) {
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
}
.contact-block dt {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--color-muted);
  margin-bottom: 0.6rem;
  font-weight: 500;
}
.contact-block dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-navy);
  line-height: 1.4;
}
.section--navy .contact-block dt { color: rgba(251, 250, 246, 0.6); }
.section--navy .contact-block dd { color: var(--color-ivory); }
.section--navy a { color: var(--color-ivory); border-bottom-color: rgba(251, 250, 246, 0.3); }
.section--navy a:hover { border-bottom-color: var(--color-gold); }

/* ==========================================================================
   11. Footer
   ========================================================================== */
.site-footer {
  background: var(--color-navy-deep);
  color: rgba(251, 250, 246, 0.6);
  padding: 1.5rem 0 2.25rem;
  font-size: 0.85rem;
  border-top: 1px solid rgba(251, 250, 246, 0.08);
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}
.site-footer a { color: var(--color-ivory); }
.site-footer p { margin: 0; }

/* ==========================================================================
   12. WordPress core utility classes
   ========================================================================== */
.alignleft   { float: left;  margin: 0.5rem 1.5rem 1rem 0; }
.alignright  { float: right; margin: 0.5rem 0 1rem 1.5rem; }
.aligncenter { display: block; margin: 1.5rem auto; }
.alignwide   { max-width: 1180px; }
.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px; height: 1px; overflow: hidden;
}

/* ==========================================================================
   13. Reveal-on-scroll
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
