/* ==========================================================================
   Cooper Hudson Group — styles
   ========================================================================== */

:root {
  --navy: #0b2340;
  --navy-deep: #071a30;
  --navy-soft: #62738a;
  --gold: #b99656;
  --gold-light: #d8bc82;
  --cream: #fbfaf7;
  --cream-card: #ffffff;
  --border: #e7e2d9;

  --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --font-display: 'Fraunces', ui-serif, Georgia, serif;

  --container-w: 1120px;
  --radius: 14px;
  --shadow-sm: 0 1px 2px rgba(11, 35, 64, 0.06), 0 1px 1px rgba(11, 35, 64, 0.04);
  --shadow-md: 0 8px 24px rgba(11, 35, 64, 0.08);
  --shadow-lg: 0 24px 48px -12px rgba(11, 35, 64, 0.18);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { color: var(--navy-soft); margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.98); }

.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--navy-deep);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 247, 0.82);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 20px rgba(11, 35, 64, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 20px;
}

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 34px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0 auto;
}
.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transition: right 0.25s var(--ease);
}
.main-nav a:hover::after { right: 0; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.call-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  background: rgba(185, 150, 86, 0.12);
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid rgba(185, 150, 86, 0.35);
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease), border-color 0.25s var(--ease);
}
.call-pill svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }
.call-pill:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
  transform: translateY(-1px);
}
.call-pill:hover svg { color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  margin: 0 auto;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 108px 0 96px;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  animation: heroPan 28s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--cream) 0%, var(--cream) 56%, rgba(251, 250, 247, 0.7) 74%, rgba(251, 250, 247, 0.1) 100%);
}

@keyframes heroPan {
  0%   { transform: scale(1.06) translate(0, 0); }
  100% { transform: scale(1.14) translate(-1.5%, -1%); }
}

.hero-shape {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.5;
  animation: floaty 10s ease-in-out infinite;
}
.hero-shape-1 {
  width: 10px; height: 10px;
  background: var(--gold);
  top: 22%;
  left: 46%;
  animation-delay: 0s;
}
.hero-shape-2 {
  width: 6px; height: 6px;
  background: var(--gold-light);
  top: 62%;
  left: 38%;
  animation-delay: 2.4s;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

.hero-inner { max-width: 620px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

.hero-title {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  color: var(--navy);
}
.accent-text { color: var(--gold); }

.hero-sub {
  font-size: 17.5px;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--cream-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.section-head p { font-size: 16.5px; margin: 0; }

/* ---------- Cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(185, 150, 86, 0.4);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(11, 35, 64, 0.06);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}
.card-icon svg { width: 24px; height: 24px; }
.card:hover .card-icon {
  background: var(--gold);
  color: #fff;
  transform: scale(1.08) rotate(-4deg);
}

.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { font-size: 15px; margin: 0; }

/* ---------- Tenants ---------- */
.tenants-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.tenants-copy h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.tenants-copy p { font-size: 16.5px; margin-bottom: 28px; max-width: 480px; }

.tenants-visual { display: flex; justify-content: center; }
.portal-card {
  position: relative;
  width: 280px;
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 28px 24px;
  transform: rotate(-2deg);
  animation: cardTilt 7s ease-in-out infinite;
}
@keyframes cardTilt {
  0%, 100% { transform: rotate(-2deg) translateY(0); }
  50% { transform: rotate(-1deg) translateY(-8px); }
}
.portal-row { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.portal-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.portal-line { height: 9px; border-radius: 5px; background: var(--border); display: block; }
.portal-line-1 { width: 78%; }
.portal-line-2 { width: 55%; }
.portal-line-3 { width: 65%; }
.portal-check {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}
.portal-check svg { width: 20px; height: 20px; }

/* ---------- Contact ---------- */
.section-contact { background: var(--navy); }
.section-contact .section-head h2 { color: #fff; }
.section-contact .section-head p { color: rgba(255,255,255,0.65); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 640px;
  margin: 0 auto;
}
.contact-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 26px 24px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.contact-tile:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.09);
  border-color: var(--gold);
}
.contact-tile-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(185, 150, 86, 0.18);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
}
.contact-tile-icon svg { width: 18px; height: 18px; }
.contact-tile-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
}
.contact-tile-value { color: #fff; font-weight: 600; font-size: 15.5px; }

/* ---------- Footer ---------- */
.site-footer { padding: 44px 0; border-top: 1px solid var(--border); }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo { height: 26px; width: auto; opacity: 0.85; }
.footer-copy { margin: 0; font-size: 13.5px; }
.footer-links { font-size: 13.5px; display: flex; align-items: center; gap: 8px; }
.footer-links a:hover { color: var(--gold); }
.footer-sep { color: var(--border); }

/* ---------- Mobile call FAB ---------- */
.mobile-call-fab {
  display: none;
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(185, 150, 86, 0.45);
  animation: pulse 2.6s ease-in-out infinite;
}
.mobile-call-fab svg { width: 24px; height: 24px; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 24px rgba(185, 150, 86, 0.45); }
  50% { box-shadow: 0 10px 30px rgba(185, 150, 86, 0.7), 0 0 0 8px rgba(185, 150, 86, 0.12); }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
  .tenants-inner { grid-template-columns: 1fr; }
  .tenants-visual { order: -1; }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .call-pill-text { display: none; }
  .call-pill { padding: 10px; }
  .header-actions .btn-sm { display: none; }

  .site-header.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 74px;
    left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 24px 20px;
    box-shadow: var(--shadow-md);
  }
  .site-header.nav-open .main-nav a { width: 100%; padding: 10px 0; }

  .hero { padding: 64px 0 72px; }
  .hero-bg-overlay { background: linear-gradient(180deg, rgba(251,250,247,0.9) 0%, rgba(251,250,247,0.88) 40%, var(--cream) 62%); }
  .hero-bg-img { object-position: 75% center; opacity: 0.9; }

  .card-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }

  .mobile-call-fab { display: flex; }
}
