/*
Theme Name: Arielle Fiorvanti
Description: Custom consultant portfolio theme for Arielle Fiorvanti — Social Media & Content Strategy Consultant.
Author: Arielle Fiorvanti
Version: 1.0
*/

/* ── GLOBAL LINK COLOR OVERRIDE ── */
a,
a:link,
a:visited,
a:hover,
a:active,
body a,
body a:link,
body a:visited {
  color: var(--rust) !important;
  text-decoration: none !important;
}

a:hover,
body a:hover {
  color: #27492C !important;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:     #1C2620;
  --cream:   #F6F4ED;
  --rust:    #355E3B;
  --warm:    #E3E0D2;
  --muted:   #6E7A6F;
  --rule:    #D2CFC0;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3rem;
  background: rgba(247,243,238,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--rust); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 72px;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4rem 5rem 3rem;
  border-right: 1px solid var(--rule);
}

.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 1.5rem;
}

.hero-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin-bottom: 0.25rem;
}

.hero-name em {
  font-style: italic;
  color: var(--rust);
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-bottom: 2.5rem;
}

.hero-bio {
  font-size: 1rem;
  line-height: 1.75;
  color: #3D3733;
  max-width: 440px;
  margin-bottom: 3rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--rust);
  color: #fff;
  text-decoration: none;
  padding: 0.9rem 2rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background 0.2s, transform 0.2s;
  align-self: flex-start;
}

.hero-cta:hover { background: #27492C; transform: translateY(-1px); }
.hero-cta svg { width: 14px; height: 14px; }

.hero-right {
  display: grid;
  grid-template-rows: 1fr 1fr;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--rule);
}

.stat-cell {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.stat-cell:nth-child(2n) { border-right: none; }
.stat-cell:nth-child(3), .stat-cell:nth-child(4) { border-bottom: none; }

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 300;
  line-height: 1;
  color: var(--rust);
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}

.hero-brands {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brands-label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.brands-list {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.9;
  letter-spacing: 0.02em;
}

.brands-list span {
  display: inline-block;
  margin-right: 1.5rem;
  color: var(--muted);
  font-size: 1rem;
}

/* ── DIVIDER ── */
.section-divider {
  height: 1px;
  background: var(--rule);
  margin: 0 3rem;
}

/* ── SECTION BASE ── */
section { padding: 5rem 3rem; }

.section-header {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.section-tag {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
  white-space: nowrap;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 300;
  line-height: 1.15;
}

.section-rule {
  flex: 1;
  height: 1px;
  background: var(--rule);
  margin-left: 1rem;
}

/* ── ABOUT ── */
#about {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
  padding: 5rem 3rem;
}

.about-left { position: sticky; top: 100px; }

.about-photo-wrap {
  position: relative;
  display: inline-block;
}

.about-photo-wrap img {
  width: 100%;
  max-width: 340px;
  display: block;
  filter: grayscale(15%);
}

.about-photo-placeholder {
  width: 300px;
  height: 360px;
  background: var(--warm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-photo-placeholder span {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-photo-caption {
  margin-top: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-right {}

.about-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.about-heading em { font-style: italic; color: var(--rust); }

.about-body {
  font-size: 1rem;
  line-height: 1.85;
  color: #3D3733;
  margin-bottom: 2rem;
}

.about-credentials-label {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.about-credentials {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid var(--rule);
  padding-top: 1.5rem;
  margin-top: 1rem;
}

.credential {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.88rem;
  color: #3D3733;
}

.credential-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rust);
  margin-top: 0.45rem;
  flex-shrink: 0;
}

/* ── WORK ── */
#work { padding: 5rem 3rem; }

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.work-card {
  background: var(--cream);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background 0.2s;
  cursor: pointer;
  color: var(--ink);
  text-decoration: none;
}

.work-card:hover { background: var(--warm); color: var(--ink); }

.work-card-cta {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--rust);
  margin-top: 0.5rem;
}

.work-card-brand {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
}

.work-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.25;
}

.work-card-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.65;
  flex: 1;
}

.work-card-stats {
  display: flex;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  flex-wrap: wrap;
}

.work-stat {}

.work-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 0.2rem;
}

.work-stat-lbl {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── VIDEO GALLERY ── */
#gallery { padding: 5rem 3rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.gallery-tile {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* padding-bottom trick forces 9:16 aspect ratio */
.gallery-thumb-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 177.78%;
  overflow: hidden;
  background: var(--warm);
  border: 1px solid var(--rule);
  background-size: cover;
  background-position: center top;
}

/* Overlay hidden by default */
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(28,38,32,0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  opacity: 0 !important;
  transition: opacity 0.25s ease;
  z-index: 1;
}

/* Full-cover invisible clickable link */
.gallery-full-link {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: block;
  background: transparent !important;
  color: transparent !important;
}

/* Hover on tile triggers overlay */
.gallery-tile:hover .gallery-overlay { opacity: 1 !important; }

.gallery-play-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.gallery-tile:hover .gallery-play-btn { transform: scale(1.08); }
.gallery-play-btn svg { width: 18px; height: 18px; margin-left: 3px; }

.gallery-platform-badge {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
}

.gallery-caption {
  text-align: center;
}

.gallery-caption-title {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
}

.gallery-caption-client {

/* ── SERVICES ── */
#services { background: var(--ink); color: var(--cream); padding: 5rem 3rem; }

#services .section-title { color: var(--cream); }
#services .section-tag { color: #C8795A; }
#services .section-rule { background: #3A3430; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid #3A3430;
}

.service-card {
  padding: 2.5rem 2rem;
  border-right: 1px solid #3A3430;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.service-card:last-child { border-right: none; }

.service-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: #3A3430;
  line-height: 1;
}

.service-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.3;
}

.service-desc-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-desc {
  font-size: 0.85rem;
  color: #9A8F89;
  line-height: 1.7;
}

.service-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-top: 1rem;
  border-top: 1px solid #3A3430;
}

.service-items li {
  font-size: 0.78rem;
  color: #9A8F89;
  letter-spacing: 0.04em;
  padding-left: 1rem;
  position: relative;
}

.service-items li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #5A8A63;
}

.services-note {
  margin-top: 2rem;
  font-size: 0.8rem;
  color: #9A8F89;
  letter-spacing: 0.06em;
  text-align: center;
}

.services-note a { color: #5A8A63; text-decoration: none; }

/* ── CONTACT ── */
#contact { padding: 6rem 3rem; }

.contact-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-photo {
  width: 100%;
  max-width: 300px;
  justify-self: end;
}

.contact-photo img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(15%);
}

.contact-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--warm);
  border: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
}

.contact-photo-placeholder span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.6;
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  order: -1;
}

.contact-pre {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
}

.contact-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
}

.contact-heading em { font-style: italic; color: var(--rust); }

.contact-sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 460px;
}

.contact-meta {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}

.contact-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-meta-label {
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-meta-value {
  font-size: 0.9rem;
  color: var(--ink);
}

.contact-meta-value a {
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-meta-value a:hover { color: var(--rust); }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--rule);
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { gap: 1.5rem; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 4rem 1.5rem 2rem; border-right: none; border-bottom: 1px solid var(--rule); }
  .hero-right { grid-template-rows: auto auto; }
  .hero-stat-grid { grid-template-columns: 1fr 1fr; }

  #about { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 1.5rem; }
  .about-left { position: static; }
  .about-photo-wrap img { max-width: 200px; }

  #work { padding: 3rem 1.5rem; }
  .work-grid { grid-template-columns: 1fr; }
  .work-card { flex-direction: column; }

  #gallery { padding: 3rem 1.5rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  #services { padding: 3rem 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { border-right: none; border-bottom: 1px solid #3A3430; }
  .service-card:last-child { border-bottom: none; }

  #contact { padding: 4rem 1.5rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-photo { max-width: 280px; }
  section { padding: 3rem 1.5rem; }
  .section-divider { margin: 0 1.5rem; }

  footer { flex-direction: column; gap: 0.5rem; text-align: center; padding: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── WP ADMIN BAR FIX ── */
.admin-bar nav { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar nav { top: 46px; }
}
