/* ============================================================
   V AGENCY — static site
   Palette drawn from the logo: charcoal, mid grey, silver, white
   ============================================================ */

:root {
  --ink: #1c1c1e;          /* near-black, logo "AGENCY" text */
  --charcoal: #58595b;     /* logo inner V */
  --silver: #c9cacc;       /* logo outer V */
  --mist: #f4f4f5;         /* section tint */
  --line: #e4e4e6;
  --white: #ffffff;
  --max: 1080px;
  --tracking: 0.18em;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

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

/* ---------------- Header ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand img { height: 52px; width: auto; }

.brand span {
  font-size: 12px;
  letter-spacing: var(--tracking);
  text-transform: uppercase;
  color: var(--charcoal);
}

/* nav */
.nav-toggle-box { display: none; }

.nav-toggle {
  display: none;
  cursor: pointer;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  line-height: 0;
}

.nav-toggle svg { width: 22px; height: 22px; stroke: var(--ink); }

.site-nav ul {
  display: flex;
  gap: 6px;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  font-size: 12.5px;
  letter-spacing: var(--tracking);
  text-transform: uppercase;
  color: var(--charcoal);
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease;
}

.site-nav a:hover { color: var(--ink); }

.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* ---------------- Hero (home slider) ---------------- */

.hero {
  position: relative;
  height: 440px;
  overflow: hidden;
  background: var(--ink);
}

.hero .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: 0;
  animation: heroFade 36s infinite;
}

.hero .slide:nth-child(1) { animation-delay: 0s; }
.hero .slide:nth-child(2) { animation-delay: 6s; }
.hero .slide:nth-child(3) { animation-delay: 12s; }
.hero .slide:nth-child(4) { animation-delay: 18s; }
.hero .slide:nth-child(5) { animation-delay: 24s; }
.hero .slide:nth-child(6) { animation-delay: 30s; }

@keyframes heroFade {
  0%      { opacity: 0; }
  3%      { opacity: 1; }
  16.66%  { opacity: 1; }
  20%     { opacity: 0; }
  100%    { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero .slide { animation: none; }
  .hero .slide:first-child { opacity: 1; }
}

/* ---------------- Tagline band ---------------- */

.tagline {
  background: var(--ink);
  color: var(--white);
  text-align: center;
  padding: 40px 24px;
}

.tagline p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 21px;
  font-weight: 300;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

/* ---------------- Page hero (inner pages) ---------------- */

.page-hero {
  background: var(--mist);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 48px;
}

.page-hero h1 {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: var(--tracking);
  text-transform: uppercase;
}

.page-hero p {
  margin-top: 10px;
  color: var(--charcoal);
  max-width: 640px;
}

/* ---------------- Sections ---------------- */

.section { padding: 72px 0; }

.section.tint { background: var(--mist); }

.kicker {
  display: block;
  font-size: 12px;
  letter-spacing: var(--tracking);
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 14px;
}

.section h2 {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}

.section p + p { margin-top: 16px; }

.lede { font-size: 19px; font-weight: 300; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.measure { max-width: 700px; }

/* ---------------- Cards / grid ---------------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 26px 24px;
}

.card h3 {
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.card p { font-size: 15px; color: var(--charcoal); }

/* ---------------- Buttons ---------------- */

.btn {
  display: inline-block;
  padding: 13px 30px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  font-size: 12.5px;
  letter-spacing: var(--tracking);
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn:hover { background: var(--ink); color: var(--white); }

.btn.solid { background: var(--ink); color: var(--white); }

.btn.solid:hover { background: var(--charcoal); border-color: var(--charcoal); }

.btn.inverse { border-color: var(--white); color: var(--white); }

.btn.inverse:hover { background: var(--white); color: var(--ink); }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* ---------------- Testimonials ---------------- */

.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
}

.quote blockquote {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 16px;
  color: #3a3a3c;
  flex: 1;
}

.quote blockquote::before { content: "\201C"; color: var(--silver); font-size: 34px; line-height: 0; vertical-align: -10px; margin-right: 4px; }

.quote cite {
  display: block;
  margin-top: 20px;
  font-style: normal;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.quote cite strong { display: block; color: var(--ink); }

/* ---------------- Stats strip ---------------- */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
  text-align: center;
}

.stat {
  border-top: 2px solid var(--ink);
  padding-top: 18px;
}

.stat .num { font-size: 34px; font-weight: 600; letter-spacing: 0.02em; }

.stat .label {
  font-size: 12px;
  letter-spacing: var(--tracking);
  text-transform: uppercase;
  color: var(--charcoal);
  margin-top: 4px;
}

/* ---------------- FAQ ---------------- */

.faq-list { margin-top: 8px; }

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 40px 22px 0;
  font-weight: 600;
  font-size: 17px;
  position: relative;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 300;
  color: var(--charcoal);
}

.faq-list details[open] summary::after { content: "\2212"; }

.faq-list .answer {
  padding: 0 0 24px;
  color: #3a3a3c;
  max-width: 760px;
}

/* ---------------- Notice / info blocks ---------------- */

.notice {
  background: var(--mist);
  border-left: 3px solid var(--ink);
  border-radius: 0 8px 8px 0;
  padding: 18px 22px;
  font-size: 15.5px;
  color: #3a3a3c;
  margin-top: 28px;
}

.detail-list { list-style: none; margin-top: 20px; }

.detail-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 14px;
  align-items: baseline;
}

.detail-list li strong { min-width: 200px; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------------- Contact ---------------- */

.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 36px;
}

.contact-card ul { list-style: none; }

.contact-card li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-card li:last-child { border-bottom: none; }

.contact-card svg { width: 20px; height: 20px; stroke: var(--charcoal); flex: none; }

.contact-card a { text-decoration: none; }

.contact-card a:hover { text-decoration: underline; }

/* ---------------- CTA band ---------------- */

.cta-band {
  background: var(--ink);
  color: var(--white);
  text-align: center;
  padding: 72px 24px;
}

.cta-band h2 { font-size: 26px; font-weight: 600; letter-spacing: 0.04em; }

.cta-band p { color: #b9babc; max-width: 560px; margin: 14px auto 0; }

.cta-band .btn-row { justify-content: center; }

/* ---------------- Footer ---------------- */

.site-footer {
  background: #141416;
  color: #a5a6a9;
  padding: 60px 0 30px;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
}

.site-footer h4 {
  color: var(--white);
  font-size: 12.5px;
  letter-spacing: var(--tracking);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.site-footer a { color: #d3d4d6; text-decoration: none; }

.site-footer a:hover { color: var(--white); text-decoration: underline; }

.site-footer ul { list-style: none; }

.site-footer li { padding: 5px 0; }

.social-row { display: flex; gap: 12px; }

.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #3a3a3d;
  border-radius: 50%;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.social-row a:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }

.social-row svg { width: 18px; height: 18px; fill: #d3d4d6; }

.footer-base {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #2a2a2d;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #7c7d80;
}

/* ---------------- Responsive ---------------- */

@media (max-width: 900px) {
  .card-grid, .quote-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { height: 320px; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    display: none;
  }

  .nav-toggle-box:checked ~ .site-nav { display: block; }

  .site-nav ul { flex-direction: column; padding: 10px 24px 20px; }

  .site-nav a { padding: 12px 0; border-bottom: none; }

  .site-nav a[aria-current="page"] { font-weight: 700; }

  .stats { grid-template-columns: 1fr; }

  .detail-list li { flex-direction: column; gap: 2px; }

  .tagline p { font-size: 18px; }

  .hero { height: 240px; }
}
