/* =============================================
   WEBFLOW.CV — SHARED DESIGN SYSTEM
   ============================================= */

:root {
  --black:      #0a0a0a;
  --off-black:  #111111;
  --dark:       #161614;
  --gold:       #C9A84C;
  --gold-light: #E2C97E;
  --gold-dim:   rgba(201,168,76,0.5);
  --gold-faint: rgba(201,168,76,0.08);
  --white:      #ffffff;
  --muted:      #8a8880;
  --border:     rgba(201,168,76,0.18);
  --border-s:   rgba(255,255,255,0.07);
  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'DM Sans', system-ui, sans-serif;
  --max:        1160px;
  --pad:        clamp(20px, 5vw, 60px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--black);
  color: var(--white);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- TYPOGRAPHY ---- */
h1,h2,h3,h4 { font-weight: 500; line-height: 1.1; }
em { font-style: italic; color: var(--gold); }
strong { font-weight: 500; color: var(--white); }
a { color: inherit; }

.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

/* ---- LAYOUT ---- */
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(80px, 10vw, 140px) var(--pad); }
.section--alt { background: var(--off-black); }
.section--dark { background: var(--dark); }

.section-header { margin-bottom: 64px; }
.section-header h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 60px);
  max-width: 600px;
}
.section-header p {
  font-size: 15px;
  color: var(--muted);
  margin-top: 16px;
  font-weight: 300;
  max-width: 500px;
  line-height: 1.8;
}

/* ---- NAV ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  border-bottom: 1px solid var(--border-s);
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { font-family: var(--serif); font-size: 20px; color: var(--white); text-decoration: none; }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { font-size: 13px; color: var(--muted); text-decoration: none; letter-spacing: .04em; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-cta {
  font-size: 13px; font-weight: 500; padding: 9px 20px;
  border: 1px solid var(--gold); border-radius: 2px; color: var(--gold);
  text-decoration: none; letter-spacing: .04em; transition: background .2s, color .2s; white-space: nowrap;
}
.nav-cta:hover { background: var(--gold); color: var(--black); }
.nav-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-menu-btn span { display: block; width: 22px; height: 1.5px; background: var(--white); margin: 5px 0; transition: .2s; }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 64px; left: 0; right: 0; background: var(--off-black); padding: 24px var(--pad); border-bottom: 1px solid var(--border-s); gap: 20px; }
  .nav-menu-btn { display: block; }
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-block; background: var(--gold); color: var(--black);
  font-size: 14px; font-weight: 500; padding: 14px 32px; border-radius: 2px;
  text-decoration: none; letter-spacing: .04em; transition: background .2s, transform .15s;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-ghost {
  display: inline-block; color: var(--white); font-size: 14px;
  text-decoration: none; letter-spacing: .04em;
  border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 2px;
  transition: border-color .2s, color .2s;
}
.btn-ghost:hover { color: var(--gold); border-color: var(--gold); }

/* ---- HERO ---- */
.hero {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  padding: 120px var(--pad) 80px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 80px 80px; pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner { max-width: var(--max); margin: 0 auto; width: 100%; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); border-radius: 2px;
  padding: 6px 14px; font-size: 12px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 36px;
  animation: fadeUp .6s ease both;
}
.hero-badge::before {
  content: ''; display: block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--gold); animation: pulse 2s ease infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 500; line-height: 1.0; letter-spacing: -.01em; max-width: 860px;
  animation: fadeUp .7s .1s ease both;
}
.hero-sub {
  margin-top: 28px; font-size: 17px; font-weight: 300; color: var(--muted);
  max-width: 560px; line-height: 1.8; animation: fadeUp .7s .2s ease both;
}
.hero-actions {
  display: flex; gap: 16px; align-items: center; margin-top: 44px;
  flex-wrap: wrap; animation: fadeUp .7s .3s ease both;
}
.hero-stats {
  display: flex; gap: clamp(28px, 5vw, 60px); margin-top: 72px;
  padding-top: 48px; border-top: 1px solid var(--border-s);
  animation: fadeUp .7s .4s ease both; flex-wrap: wrap;
}
.stat-num { font-family: var(--serif); font-size: clamp(32px, 4vw, 48px); font-weight: 500; line-height: 1; }
.stat-num span { color: var(--gold); }
.stat-label { font-size: 13px; color: var(--muted); margin-top: 4px; font-weight: 300; }
@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }

/* ---- CLIENTS STRIP ---- */
.clients-strip {
  border-top: 1px solid var(--border-s); border-bottom: 1px solid var(--border-s);
  padding: 28px 0; background: var(--off-black);
}
.clients-inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.clients-label { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); text-align: center; margin-bottom: 20px; }
.clients-logos { display: flex; gap: 36px; justify-content: center; align-items: center; flex-wrap: wrap; }
.client-name {
  font-family: var(--serif); font-size: 15px; font-weight: 500;
  color: rgba(255,255,255,0.28); letter-spacing: .06em; text-transform: uppercase;
  transition: color .2s; cursor: default;
}
.client-name:hover { color: var(--gold); }

/* ---- 3-COL GRID CARDS ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 2px; }
@media (max-width: 860px) { .grid-3,.grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--off-black); padding: 44px 36px;
  border: 1px solid var(--border-s); position: relative; overflow: hidden; transition: border-color .25s;
}
.card:hover { border-color: var(--border); }
.card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: opacity .3s;
}
.card:hover::before { opacity: 1; }
.card-num { font-family: var(--serif); font-size: 48px; font-weight: 400; color: rgba(201,168,76,0.12); line-height: 1; margin-bottom: 24px; }
.card-title { font-size: 20px; font-weight: 500; margin-bottom: 12px; }
.card-body { font-size: 14px; color: var(--muted); line-height: 1.75; font-weight: 300; margin-bottom: 20px; }
.card-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.card-list li { font-size: 13px; color: rgba(255,255,255,0.6); display: flex; align-items: center; gap: 10px; font-weight: 300; }
.card-list li::before { content: ''; display: block; width: 14px; height: 1px; background: var(--gold); flex-shrink: 0; }

/* ---- PROCESS ---- */
.process-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; max-width: var(--max); margin: 0 auto; }
@media (max-width: 860px) { .process-wrap { grid-template-columns: 1fr; gap: 48px; } }
.process-wrap h2 { font-family: var(--serif); font-size: clamp(32px, 4vw, 52px); margin-bottom: 20px; }
.process-wrap p.lead { font-size: 15px; color: var(--muted); line-height: 1.8; font-weight: 300; max-width: 420px; }
.steps { display: flex; flex-direction: column; }
.step { display: flex; gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--border-s); }
.step:last-child { border-bottom: none; }
.step-num { font-family: var(--serif); font-size: 13px; font-weight: 500; color: var(--gold); flex-shrink: 0; padding-top: 2px; width: 24px; }
.step h3 { font-size: 15px; font-weight: 500; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.65; font-weight: 300; }

/* ---- PORTFOLIO GRID ---- */
.portfolio-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; max-width: var(--max); margin: 0 auto; }
@media (max-width: 900px) { .portfolio-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .portfolio-grid { grid-template-columns: 1fr; } }
.project-card {
  background: var(--off-black); border: 1px solid var(--border-s);
  overflow: hidden; text-decoration: none; color: var(--white);
  display: flex; flex-direction: column; border-radius: 2px;
  transition: border-color .25s, transform .2s;
}
.project-card:hover { border-color: var(--border); transform: translateY(-3px); }
.project-thumb { width: 100%; overflow: hidden; }
.project-thumb img { width: 100%; height: auto; display: block; object-position: top center; transition: transform .4s ease, opacity .3s; opacity: .82; }
.project-card:hover .project-thumb img { transform: scale(1.02); opacity: 1; }
.project-info { padding: 18px 20px 20px; }
.project-name { font-size: 15px; font-weight: 500; margin-bottom: 10px; }
.project-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font-size: 11px; color: rgba(201,168,76,0.6); border: 1px solid rgba(201,168,76,0.2); padding: 3px 9px; border-radius: 1px; letter-spacing: .04em; }

/* ---- TESTIMONIALS ---- */
.reviews-grid { columns: 3; gap: 16px; max-width: var(--max); margin: 0 auto; }
@media (max-width: 900px) { .reviews-grid { columns: 2; } }
@media (max-width: 560px) { .reviews-grid { columns: 1; } }
.review-card { background: var(--dark); border: 1px solid var(--border-s); padding: 28px; margin-bottom: 16px; break-inside: avoid; border-radius: 2px; transition: border-color .25s; }
.review-card:hover { border-color: var(--border); }
.stars { color: var(--gold); font-size: 12px; letter-spacing: 2px; margin-bottom: 14px; }
.review-text { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.75; font-weight: 300; margin-bottom: 20px; font-style: italic; }
.author-name { font-size: 13px; font-weight: 500; display: block; }
.author-role { font-size: 12px; color: var(--muted); font-weight: 300; display: block; }

/* ---- ABOUT / TWO-COL ---- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; max-width: var(--max); margin: 0 auto; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 48px; } }
.two-col h2 { font-family: var(--serif); font-size: clamp(32px, 4vw, 52px); margin-bottom: 24px; }
.two-col p { font-size: 15px; color: var(--muted); line-height: 1.85; font-weight: 300; margin-bottom: 18px; }
.portrait-wrap { position: relative; border-radius: 2px; overflow: hidden; border: 1px solid var(--border); }
.portrait-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,10,10,0.4) 0%, transparent 50%); pointer-events: none; }
.portrait-img { width: 100%; height: auto; display: block; filter: grayscale(15%); transition: filter .3s; }
.portrait-wrap:hover .portrait-img { filter: grayscale(0%); }
.stack-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-top: 12px; }
@media (max-width: 500px) { .stack-grid { grid-template-columns: repeat(2,1fr); } }
.stack-item { border: 1px solid var(--border-s); padding: 12px; text-align: center; font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.4); letter-spacing: .05em; border-radius: 2px; transition: border-color .2s, color .2s; }
.stack-item:hover { border-color: var(--border); color: var(--gold); }

/* ---- FIT COLUMNS ---- */
.fit-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
@media (max-width: 500px) { .fit-cols { grid-template-columns: 1fr; } }
.fit-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.fit-col.yes h4 { color: var(--gold); }
.fit-col.no h4 { color: var(--muted); }
.fit-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.fit-list li { font-size: 13px; color: var(--muted); font-weight: 300; display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.fit-col.yes .fit-list li::before { content: ''; display: inline-block; width: 12px; height: 1px; background: var(--gold); margin-top: 8px; flex-shrink: 0; }
.fit-col.no .fit-list li::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15); margin-top: 5px; flex-shrink: 0; }

/* ---- FAQ ---- */
.faq-inner { max-width: 760px; margin: 0 auto; }
.faq-inner h2 { font-family: var(--serif); font-size: clamp(32px, 4vw, 52px); margin-bottom: 48px; }
details { border-bottom: 1px solid var(--border-s); }
details:first-of-type { border-top: 1px solid var(--border-s); }
summary { list-style: none; cursor: pointer; padding: 22px 0; font-size: 15px; font-weight: 500; display: flex; justify-content: space-between; align-items: center; gap: 16px; user-select: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 20px; font-weight: 300; color: var(--gold); flex-shrink: 0; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
.faq-body { font-size: 14px; color: var(--muted); line-height: 1.8; font-weight: 300; padding-bottom: 22px; max-width: 600px; }

/* ---- CONTACT FORM ---- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; max-width: var(--max); margin: 0 auto; }
@media (max-width: 860px) { .contact-wrap { grid-template-columns: 1fr; gap: 48px; } }
.contact-info h2 { font-family: var(--serif); font-size: clamp(32px, 4vw, 52px); margin-bottom: 20px; }
.contact-info p { font-size: 15px; color: var(--muted); line-height: 1.8; font-weight: 300; margin-bottom: 32px; }
.contact-facts { display: flex; flex-direction: column; gap: 20px; }
.fact-label { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); margin-bottom: 3px; }
.fact-val { font-size: 14px; color: var(--muted); font-weight: 300; }
.fact-val a { color: var(--gold); text-decoration: none; }
.form-box { background: var(--dark); border: 1px solid var(--border-s); border-radius: 2px; padding: 40px; }
@media (max-width: 500px) { .form-box { padding: 24px 20px; } }
.form-box h3 { font-size: 18px; font-weight: 500; margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 11px; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: var(--off-black); border: 1px solid var(--border-s);
  border-radius: 2px; color: var(--white); font-family: var(--sans);
  font-size: 14px; font-weight: 300; padding: 12px 14px; outline: none;
  transition: border-color .2s; -webkit-appearance: none; appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,0.18); }
.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a8880' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.form-group select option { background: #1a1a18; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.form-group textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.form-submit {
  width: 100%; background: var(--gold); color: var(--black);
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  padding: 14px; border: none; border-radius: 2px; cursor: pointer;
  letter-spacing: .04em; transition: background .2s, transform .15s; margin-top: 8px;
}
.form-submit:hover { background: var(--gold-light); transform: translateY(-1px); }
.form-submit:active { transform: translateY(0); }
.form-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.form-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 12px; font-weight: 300; }
.form-success { display: none; text-align: center; padding: 48px 20px; }
.form-success.visible { display: block; }
.success-icon { font-size: 32px; color: var(--gold); margin-bottom: 16px; }
.form-success h4 { font-family: var(--serif); font-size: 28px; margin-bottom: 10px; }
.form-success p { font-size: 14px; color: var(--muted); font-weight: 300; }

/* ---- INTERNAL NAV LINKS (industry pages) ---- */
.page-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.page-link {
  font-size: 12px; letter-spacing: .05em; padding: 7px 14px;
  border: 1px solid var(--border-s); border-radius: 2px; color: var(--muted);
  text-decoration: none; transition: border-color .2s, color .2s;
}
.page-link:hover { border-color: var(--border); color: var(--gold); }

/* ---- FOOTER ---- */
.footer { border-top: 1px solid var(--border-s); padding: 28px var(--pad); }
.footer-inner { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-logo { font-family: var(--serif); font-size: 17px; color: var(--white); text-decoration: none; }
.footer-logo span { color: var(--gold); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 12px; color: var(--muted); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.2); }

/* ---- PROSE (privacy policy etc.) ---- */
.prose { max-width: 720px; margin: 0 auto; padding: clamp(100px,12vw,160px) var(--pad) clamp(80px,10vw,120px); }
.prose h1 { font-family: var(--serif); font-size: clamp(36px, 5vw, 60px); margin-bottom: 40px; }
.prose h2 { font-family: var(--serif); font-size: 24px; margin-top: 48px; margin-bottom: 16px; color: var(--white); }
.prose p, .prose li { font-size: 15px; color: var(--muted); line-height: 1.85; font-weight: 300; margin-bottom: 16px; }
.prose ul { padding-left: 20px; }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
