/* =========================================================
   BrightAds Agency — Shared Stylesheet
   Light, clean, professional editorial aesthetic
   ========================================================= */

:root{
  --bg: #f6f4ef;
  --bg-alt: #efece4;
  --ink: #14160f;
  --ink-soft: #4a4d42;
  --ink-muted: #8a8c80;
  --line: #d9d6cc;
  --accent: #ff5c1a;
  --accent-soft: #ffe6da;
  --paper: #ffffff;

  --serif: 'Fraunces', 'Times New Roman', serif;
  --sans:  'Inter Tight', system-ui, sans-serif;

  --radius: 4px;
  --max: 1240px;
}

*{ box-sizing: border-box; margin: 0; padding: 0; }
html{ scroll-behavior: smooth; }
body{
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x: hidden;
}
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }
::selection{ background: var(--ink); color: var(--bg); }

/* ---------- Grain overlay ---------- */
body::before{
  content:"";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: .04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ---------- Layout helpers ---------- */
.wrap{ width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 32px; }

.eyebrow{
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before{
  content:""; width: 24px; height: 1px; background: var(--ink-soft);
}

/* ---------- Topbar ---------- */
.topbar{
  border-bottom: 1px solid var(--line);
  background: rgba(246,244,239,.85);
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.topbar-inner{
  display: flex; align-items: center; justify-content: space-between;
  height: 92px;
}
.brand{
  display: flex; align-items: center;
  transition: opacity .2s ease;
}
.brand:hover{ opacity: .75; }
.brand-logo{
  height: 56px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav{ display: flex; align-items: center; gap: 36px; }
.nav a{
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .2s ease;
  position: relative;
}
.nav a:hover{ color: var(--ink); }
.nav a::after{
  content:""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1px; background: var(--accent);
  transition: width .3s ease;
}
.nav a:hover::after, .nav a.active::after{ width: 100%; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
  border-radius: var(--radius);
  transition: all .25s ease;
  cursor: pointer;
  border: none;
}
.btn-primary{ background: var(--ink); color: var(--bg); }
.btn-primary:hover{ background: var(--accent); transform: translateY(-2px); }
.btn-ghost{ background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost:hover{ background: var(--ink); color: var(--bg); }
.btn .arrow{ transition: transform .25s ease; }
.btn:hover .arrow{ transform: translateX(4px); }

/* ---------- Hero (homepage) ---------- */
.hero{
  position: relative;
  padding: 90px 0 110px;
  overflow: hidden;
}
.hero-grid{ display: grid; grid-template-columns: 1fr; gap: 48px; }
.hero-meta{
  display: flex; justify-content: space-between; align-items: flex-end;
  flex-wrap: wrap; gap: 24px;
  margin-bottom: 12px;
}
.hero-meta .loc{
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-muted); font-weight: 500;
}
.hero h1{
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 9vw, 148px);
  line-height: .95;
  letter-spacing: -.035em;
  color: var(--ink);
}
.hero h1 em{ font-style: italic; font-weight: 300; color: var(--accent); }
.hero h1 .small{
  font-size: .55em;
  font-style: italic;
  font-weight: 300;
  color: var(--ink-soft);
  display: inline-block;
  transform: translateY(-.15em);
}
.hero-split{
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: end;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.hero-lede{
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink);
  font-weight: 300;
  max-width: 540px;
}
.hero-lede strong{ font-weight: 500; font-style: italic; color: var(--accent); }
.hero-cta{
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  justify-content: flex-end;
}
.hero-mark{
  position: absolute;
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink-muted);
  opacity: .35;
  pointer-events: none;
}
.hero-mark.tr{
  top: 100px; right: 40px;
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-mark.bl{ bottom: 30px; left: 40px; font-size: 12px; }

/* ---------- Marquee strip ---------- */
.strip{
  background: var(--ink);
  color: var(--bg);
  padding: 22px 0;
  overflow: hidden;
}
.strip-track{
  display: flex; gap: 60px;
  animation: scroll 35s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.strip-track span{
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  font-weight: 300;
  display: inline-flex; align-items: center; gap: 60px;
}
.strip-track span::after{
  content:"✦"; color: var(--accent); font-style: normal; font-size: 18px;
}
@keyframes scroll{
  from{ transform: translateX(0); }
  to{ transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
section{ padding: 120px 0; position: relative; }
.section-head{
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 80px;
}
.section-title{
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -.025em;
}
.section-title em{ font-style: italic; color: var(--accent); font-weight: 300; }

/* ---------- Services grid (homepage) ---------- */
#services{ background: var(--bg); }
.services-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.service{
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 48px 40px 40px;
  background: var(--bg);
  position: relative;
  transition: background .35s ease;
  display: flex; flex-direction: column;
  min-height: 380px;
}
.service:last-child{ border-right: none; }
.service:hover{ background: var(--paper); }
.service-num{
  font-family: var(--serif); font-style: italic;
  font-size: 14px; color: var(--ink-muted);
  margin-bottom: 60px;
}
.service-icon{
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: grid; place-items: center;
  margin-bottom: 28px;
  transition: background .35s ease, transform .35s ease;
}
.service:hover .service-icon{
  background: var(--accent-soft);
  transform: rotate(-8deg) scale(1.05);
}
.service-icon svg{
  width: 32px;
  height: 32px;
  max-width: 32px;
  max-height: 32px;
}
.service-icon svg path[stroke]{ stroke: var(--ink); }
.service h3{
  font-family: var(--serif); font-weight: 400;
  font-size: 36px; letter-spacing: -.02em;
  margin-bottom: 14px;
}
.service p{
  font-size: 14.5px; color: var(--ink-soft);
  line-height: 1.55; margin-bottom: 32px;
  max-width: 90%;
}
.service-link{
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; letter-spacing: .12em;
  text-transform: uppercase; font-weight: 500;
  color: var(--ink);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
  align-self: flex-start;
  transition: color .25s ease, border-color .25s ease, gap .25s ease;
}
.service-link:hover{ color: var(--accent); border-color: var(--accent); gap: 14px; }

/* ---------- About ---------- */
#about{
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-grid{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-copy h2{
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05; letter-spacing: -.025em;
  margin-bottom: 32px;
}
.about-copy h2 em{ font-style: italic; color: var(--accent); font-weight: 300; }
.about-copy p{
  font-size: 17px; line-height: 1.65;
  color: var(--ink-soft); margin-bottom: 22px;
}
.about-copy p strong{ color: var(--ink); font-weight: 600; }

.about-stats{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.stat{
  padding: 36px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.stat .num{
  font-family: var(--serif); font-weight: 400;
  font-size: 56px; line-height: 1;
  letter-spacing: -.03em; color: var(--ink);
  margin-bottom: 10px;
}
.stat .num em{ font-style: italic; color: var(--accent); }
.stat .label{
  font-size: 12px; letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--ink-muted); font-weight: 500;
}

/* ---------- Process ---------- */
#process{ background: var(--bg); }
.process-list{ border-top: 1px solid var(--line); }
.process-row{
  display: grid;
  grid-template-columns: 80px 1fr 2fr 60px;
  gap: 32px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  transition: background .3s ease, padding .3s ease;
}
.process-row:hover{ background: var(--bg-alt); padding-left: 16px; padding-right: 16px; }
.process-num{
  font-family: var(--serif); font-style: italic;
  font-size: 32px; color: var(--accent); font-weight: 300;
}
.process-title{
  font-family: var(--serif);
  font-size: 28px; font-weight: 400;
  letter-spacing: -.015em;
}
.process-desc{
  font-size: 15px; color: var(--ink-soft);
  line-height: 1.55; max-width: 540px;
}
.process-row svg{
  width: 24px; height: 24px;
  stroke: var(--ink-muted);
  transition: transform .3s ease, stroke .3s ease;
  justify-self: end;
}
.process-row:hover svg{ transform: translateX(6px); stroke: var(--accent); }

/* ---------- Contact (dark) ---------- */
#contact{
  background: var(--ink);
  color: var(--bg);
  padding: 140px 0;
  position: relative;
  overflow: hidden;
}
#contact::before{
  content:"BrightAds";
  position: absolute;
  bottom: -80px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 28vw;
  line-height: .8;
  color: rgba(255,255,255,.04);
  pointer-events: none;
  white-space: nowrap;
}
.contact-inner{
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.contact-inner .eyebrow{ color: rgba(246,244,239,.6); }
.contact-inner .eyebrow::before{ background: rgba(246,244,239,.6); }
.contact-inner h2{
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(48px, 6.5vw, 96px);
  line-height: .98; letter-spacing: -.03em;
  margin: 24px 0 28px;
}
.contact-inner h2 em{ font-style: italic; color: var(--accent); font-weight: 300; }
.contact-inner p{
  font-size: 18px; line-height: 1.55;
  color: rgba(246,244,239,.7);
  max-width: 460px;
}
.contact-action{
  display: flex; flex-direction: column; gap: 24px;
  justify-self: end;
}
.contact-btn{
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--accent);
  color: var(--ink);
  padding: 22px 36px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  border-radius: var(--radius);
  transition: all .3s ease;
}
.contact-btn:hover{
  background: var(--bg);
  transform: translateY(-3px);
}
.contact-btn .arrow{ transition: transform .3s ease; }
.contact-btn:hover .arrow{ transform: translate(4px,-4px); }
.contact-note{
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(246,244,239,.5);
}

/* ---------- Footer ---------- */
footer{
  background: var(--ink);
  color: var(--bg);
  padding: 50px 0 36px;
  border-top: 1px solid rgba(246,244,239,.12);
  position: relative;
  z-index: 2;
}
.foot{
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 24px;
  font-size: 13px;
  color: rgba(246,244,239,.55);
}
.foot-social{ display: flex; gap: 18px; }
.foot-social a{
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(246,244,239,.2);
  display: grid; place-items: center;
  transition: all .25s ease;
  color: rgba(246,244,239,.7);
}
.foot-social a:hover{
  background: var(--accent); border-color: var(--accent); color: var(--ink);
  transform: translateY(-2px);
}
.foot-social svg{ width: 16px; height: 16px; }

/* =========================================================
   Sub-page styles (Meta / Google / TikTok)
   ========================================================= */

.subpage-hero{
  position: relative;
  padding: 100px 0 80px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.subpage-hero .crumb{
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 28px;
  display: inline-flex; gap: 10px; align-items: center;
}
.subpage-hero .crumb a{
  color: var(--ink-muted);
  transition: color .2s ease;
}
.subpage-hero .crumb a:hover{ color: var(--accent); }

.subpage-grid{
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 80px;
  align-items: center;
}
.subpage-hero h1{
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 104px);
  line-height: .98;
  letter-spacing: -.03em;
  margin-bottom: 24px;
}
.subpage-hero h1 em{ font-style: italic; color: var(--accent); font-weight: 300; }
.subpage-hero .lede{
  font-family: var(--serif);
  font-weight: 300;
  font-size: 24px;
  line-height: 1.4;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 40px;
}
.subpage-hero .lede strong{
  font-weight: 500;
  font-style: italic;
  color: var(--accent);
}
.subpage-visual{
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.subpage-visual .hero-anim{
  width: 100%;
  height: 100%;
  display: block;
}
.subpage-visual::after{
  content:"";
  position: absolute;
  top: 16px; left: 16px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,92,26,.15);
  animation: livepulse 1.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes livepulse{
  0%,100%{ opacity: 1; transform: scale(1); }
  50%{ opacity: .6; transform: scale(.85); }
}

/* Features list */
.features{ background: var(--bg-alt); padding: 100px 0; }
.features-head{
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 60px;
}
.features-head h2{
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -.025em;
  max-width: 600px;
}
.features-head h2 em{ font-style: italic; color: var(--accent); font-weight: 300; }

.features-list{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: var(--bg);
}
.feature{
  padding: 44px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: background .25s ease;
}
.feature:hover{ background: var(--paper); }
.feature .num{
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--accent);
  font-weight: 400;
  min-width: 40px;
}
.feature h4{
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -.015em;
  margin-bottom: 8px;
}
.feature p{
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* Pricing strip */
.pricing-strip{
  padding: 100px 0;
  background: var(--bg);
  position: relative;
}
.pricing-card{
  max-width: 880px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.pricing-card::before{
  content:"";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), #ffae84);
}
.pricing-card .label{
  font-size: 11px;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 500;
  margin-bottom: 14px;
}
.pricing-card .fee{
  font-family: var(--serif);
  font-weight: 400;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--ink);
  margin-bottom: 8px;
}
.pricing-card .fee em{
  font-style: italic;
  color: var(--accent);
}
.pricing-card .desc{
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 380px;
  line-height: 1.55;
}

/* Reveal animations */
.reveal{
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal.in{ opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 960px){
  .hero-split{ grid-template-columns: 1fr; }
  .hero-cta{ justify-content: flex-start; }
  .section-head{ grid-template-columns: 1fr; gap: 24px; }
  .services-grid{ grid-template-columns: 1fr; }
  .service{ border-right: none; }
  .about-grid{ grid-template-columns: 1fr; gap: 48px; }
  .process-row{ grid-template-columns: 50px 1fr; gap: 16px; padding: 28px 0; }
  .process-row svg, .process-desc{ display: none; }
  .contact-inner{ grid-template-columns: 1fr; gap: 40px; }
  .contact-action{ justify-self: start; }
  .nav{ display: none; }
  section{ padding: 80px 0; }
  .hero{ padding: 60px 0 80px; }
  .hero-mark{ display: none; }

  .subpage-grid{ grid-template-columns: 1fr; gap: 48px; }
  .subpage-hero{ padding: 70px 0 60px; }
  .features{ padding: 70px 0; }
  .features-list{ grid-template-columns: 1fr; }
  .feature{ border-right: none; }
  .pricing-card{ grid-template-columns: 1fr; padding: 40px 32px; gap: 28px; text-align: left; }
  .pricing-card .fee{ font-size: 52px; }
}
@media (max-width: 560px){
  .wrap{ padding: 0 20px; }
  .brand-logo{ height: 44px; }
  .topbar-inner{ height: 76px; }
  .stat{ padding: 28px 20px; }
  .stat .num{ font-size: 42px; }
  .service{ padding: 36px 28px 28px; min-height: auto; }
  .strip-track span{ font-size: 22px; gap: 40px; }
  .contact-btn{ font-size: 18px; padding: 18px 28px; }
}
