/* ============================================
   Innovated Photo — Shared Stylesheet
   Brand colors (from client logo spec):
   Red #FB0034 · Black #000000 · Gray #595354 · White #FFFFFF
   ============================================ */

:root{
  --red:#FB0034;
  --red-dark:#C40029;
  --black:#000000;
  --gray:#595354;
  --gray-light:#E7E5E5;
  --white:#FFFFFF;
  --bg-alt:#F1EEEC;
  --focus:#1A73E8;
}

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

html{scroll-behavior:smooth;}

body{
  font-family:'IBM Plex Sans', Arial, sans-serif;
  background:var(--white);
  color:var(--black);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

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

h1,h2,h3,h4{
  font-family:'Archivo', Arial, sans-serif;
  font-weight:800;
  letter-spacing:-0.01em;
  line-height:1.15;
}

p{color:var(--gray);}

/* Visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible{
  outline:3px solid var(--focus);
  outline-offset:2px;
}

.skip-link{
  position:absolute;
  left:-9999px;
  top:0;
  background:var(--black);
  color:var(--white);
  padding:12px 20px;
  z-index:200;
  font-weight:600;
  text-decoration:none;
}
.skip-link:focus{left:12px;top:12px;}

.eyebrow{
  font-family:'Space Mono', monospace;
  font-size:12px;
  letter-spacing:0.15em;
  text-transform:uppercase;
  color:var(--red);
  font-weight:700;
}

.container{max-width:1140px;margin:0 auto;padding:0 48px;}

/* ---- Logo (real logo file, hotlinked from live site) ---- */
.logo-mark{
  display:flex;align-items:center;
  text-decoration:none;
}
.logo-mark img{height:40px;width:auto;display:block;}
.logo-mark.footer-logo img{height:34px;}

/* ---- Topbar / Nav ---- */
.topbar{
  display:flex;justify-content:space-between;align-items:center;
  padding:14px 48px;
  background:var(--black);
  position:sticky;top:0;z-index:100;
  border-bottom:1px solid #262626;
}
.primary-nav ul{list-style:none;display:flex;gap:28px;}
.primary-nav a{text-decoration:none;font-size:14px;font-weight:600;color:var(--white);}
.primary-nav a:hover, .primary-nav a[aria-current="page"]{color:var(--red);}

.nav-actions{display:flex;gap:12px;align-items:center;}

.btn{
  display:inline-block;
  padding:11px 20px;
  border-radius:2px;
  font-size:14px;
  font-weight:700;
  text-decoration:none;
  border:1px solid transparent;
  cursor:pointer;
  font-family:'IBM Plex Sans', sans-serif;
}
.btn-primary{background:var(--red);color:var(--white);border-color:var(--red);}
.btn-primary:hover{background:var(--red-dark);border-color:var(--red-dark);}
.btn-ghost{border-color:var(--black);color:var(--black);background:transparent;}
.btn-ghost:hover{background:var(--black);color:var(--white);}
.btn-ghost-dark{border-color:var(--white);color:var(--white);background:transparent;}
.btn-ghost-dark:hover{background:var(--white);color:var(--black);}
.btn-outline-w{border-color:var(--white);color:var(--white);background:transparent;}
.btn-outline-w:hover{background:var(--white);color:var(--black);}
.btn-block{width:100%;text-align:center;}

.menu-toggle{
  display:none;
  background:none;border:1px solid var(--white);
  width:42px;height:42px;border-radius:2px;
  cursor:pointer;
  flex-direction:column;justify-content:center;align-items:center;gap:4px;
}
.menu-toggle span{width:20px;height:2px;background:var(--white);display:block;}
.mobile-nav{
  display:none;
  flex-direction:column;
  background:var(--black);
  border-bottom:1px solid #262626;
  padding:8px 48px 20px;
}
.mobile-nav.open{display:flex;}
.mobile-nav a{
  padding:14px 0;
  border-bottom:1px solid #262626;
  text-decoration:none;color:var(--white);font-weight:600;font-size:15px;
}
.mobile-nav a:last-child{border-bottom:none;}

/* ---- Hero ---- */
.hero{
  position:relative;
  background:var(--black);color:var(--white);
  padding:100px 48px 110px;
  overflow:hidden;
  background-size:cover;
  background-position:center;
}
.hero-overlay{
  position:absolute;inset:0;
  background:linear-gradient(100deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.78) 45%, rgba(0,0,0,0.55) 100%);
}
.hero-grid{
  position:absolute;inset:0;
  background-image:
    linear-gradient(rgba(251,0,52,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251,0,52,0.10) 1px, transparent 1px);
  background-size:56px 56px;
}
.hero-content{position:relative;max-width:680px;z-index:2;}
.hero h1{font-size:52px;line-height:1.06;margin:14px 0 20px;color:var(--white);}
.hero p{font-size:17px;color:#E5E5E5;max-width:520px;margin-bottom:28px;}
.hero-actions{display:flex;gap:14px;flex-wrap:wrap;}

.page-hero{
  background:var(--black);color:var(--white);
  padding:70px 48px;
  position:relative;
  overflow:hidden;
  background-size:cover;
  background-position:center;
}
.page-hero h1{color:var(--white);font-size:38px;margin-top:10px;}
.page-hero p{color:#CFCFCF;max-width:600px;margin-top:14px;font-size:16px;}

/* ---- Sections ---- */
section{padding:88px 48px;}
.section-tight{padding:56px 48px;}
.section-head{max-width:640px;margin-bottom:44px;}
.section-head h2{font-size:30px;margin-top:8px;}
.section-head p{margin-top:12px;font-size:15px;}
.bg-alt{background:var(--bg-alt);border-top:1px solid var(--gray-light);border-bottom:1px solid var(--gray-light);}
.bg-black{background:var(--black);color:var(--white);}
.bg-black p{color:#CFCFCF;}
.bg-black h2, .bg-black h3{color:var(--white);}

.section-divider{
  height:1px;background:var(--gray-light);
  position:relative;
}
.section-divider span{
  position:absolute;top:50%;left:50%;
  width:9px;height:9px;background:var(--red);
  transform:translate(-50%,-50%) rotate(45deg);
}

/* ---- Use case / service cards ---- */
.usecase-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--gray-light);border:1px solid var(--gray-light);}
.usecase-grid.cols-3{grid-template-columns:repeat(3,1fr);}
.usecase-card{background:var(--white);padding:32px 24px;transition:background 0.15s;}
.usecase-card:hover{background:var(--bg-alt);}
.usecase-card .icon-svg{width:34px;height:34px;stroke:var(--red);fill:none;stroke-width:1.6;margin-bottom:14px;}
.usecase-card h3{font-size:16px;margin:0 0 8px;}
.usecase-card p{font-size:13.5px;}

.deliverables{margin-top:40px;padding-top:32px;border-top:1px solid var(--gray-light);}
.deliverables-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px;list-style:none;}
.deliverables-list li{position:relative;}
.deliverables-list .term{
  font-family:'Space Mono', monospace;font-size:12px;
  border:1px solid var(--gray-light);
  padding:8px 14px;border-radius:999px;
  color:var(--black);background:var(--white);
  cursor:help;
}
.deliverables-list .term:hover,
.deliverables-list li.is-open .term{border-color:var(--black);}
.term-def{
  position:absolute;left:50%;bottom:calc(100% + 10px);
  transform:translateX(calc(-50% + var(--shift, 0px)));
  width:max-content;max-width:260px;
  background:var(--black);color:var(--white);
  font-family:'IBM Plex Sans', Arial, sans-serif;font-size:13px;line-height:1.45;
  padding:10px 12px;border-radius:2px;
  opacity:0;visibility:hidden;
  transition:opacity 0.12s, visibility 0.12s;
  z-index:30;
}
/* small pointer under the definition, stays centered on the pill */
.deliverables-list li::after{
  content:"";position:absolute;left:50%;bottom:calc(100% + 4px);
  transform:translateX(-50%);
  border:6px solid transparent;border-top-color:var(--black);border-bottom:0;
  opacity:0;visibility:hidden;transition:opacity 0.12s, visibility 0.12s;
  z-index:30;
}
.deliverables-list li:not(.is-dismissed):hover .term-def,
.deliverables-list li:not(.is-dismissed):hover::after,
.deliverables-list li:not(.is-dismissed):focus-within .term-def,
.deliverables-list li:not(.is-dismissed):focus-within::after,
.deliverables-list li.is-open .term-def,
.deliverables-list li.is-open::after{opacity:1;visibility:visible;}

/* ---- Process steps ---- */
.process-list{list-style:none;counter-reset:step;margin-top:40px;}
.process-list li{
  counter-increment:step;
  display:grid;grid-template-columns:56px 1fr;gap:20px;
  padding:24px 0;border-top:1px solid var(--gray-light);
}
.process-list li:last-child{border-bottom:1px solid var(--gray-light);}
.process-list li::before{
  content:counter(step, decimal-leading-zero);
  font-family:'Space Mono';font-weight:700;color:var(--red);font-size:18px;
}
.process-list h4{font-size:16px;margin-bottom:6px;}
.process-list p{font-size:14px;}

.section-head-center{margin-left:auto;margin-right:auto;text-align:center;}
.process-list.process-row{
  display:grid;grid-template-columns:repeat(3,1fr);gap:1px;
  background:var(--gray-light);border:1px solid var(--gray-light);
}
.process-list.process-row li,
.process-list.process-row li:last-child{
  display:block;background:var(--white);
  padding:32px 28px;border:0;
}
.process-list.process-row li::before{display:block;margin-bottom:14px;}

/* ---- Examples ---- */
.example-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:40px;}
.example-card{
  background:var(--white);
  border:1px solid var(--gray-light);
  display:flex;flex-direction:column;justify-content:space-between;
  overflow:hidden;
}
.example-card .thumb{
  width:100%;height:150px;object-fit:cover;display:block;
  background:var(--bg-alt);
  filter:grayscale(15%);
}
.example-card .thumb-placeholder{
  width:100%;height:150px;background:var(--bg-alt);border-bottom:1px solid var(--gray-light);
}
.example-card .card-body{padding:18px 20px 20px;}
.example-card .tag{font-family:'Space Mono';font-size:10px;letter-spacing:0.08em;text-transform:uppercase;color:var(--gray);}
.example-card h4{font-size:16px;margin:10px 0 16px;font-family:'Archivo';font-weight:700;}
.example-card a{font-size:13px;font-weight:700;color:var(--red);text-decoration:none;}
.example-card a:hover{text-decoration:underline;}

/* ---- About / stats ---- */
.about-teaser{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;}
.stat-row{display:flex;gap:32px;margin-top:28px;flex-wrap:wrap;}
.stat .num{font-family:'Archivo';font-weight:800;font-size:28px;color:var(--red);}
.stat .label{font-size:12px;color:var(--gray);margin-top:2px;}
.photo-placeholder{
  background:var(--bg-alt);border:1px solid var(--gray-light);
  min-height:320px;display:flex;align-items:center;justify-content:center;
  text-align:center;padding:20px;
}
.about-photo{width:100%;min-height:320px;object-fit:cover;display:block;}

/* ---- Testimonial ---- */
.testimonial-block{max-width:760px;margin:0 auto;text-align:center;position:relative;}
.testimonial-block .quote-mark{
  font-family:'Archivo';font-size:80px;color:var(--red);line-height:1;
  margin-bottom:-20px;opacity:0.85;
}
.testimonial-block p.quote-text{font-size:23px;color:var(--black);font-family:'Archivo';font-weight:600;line-height:1.45;}
.testimonial-block footer{margin-top:24px;background:none;color:inherit;padding:0;}

.testimonial-grid{
  display:grid;grid-template-columns:repeat(2,1fr);gap:24px;
  max-width:980px;margin:40px auto 0;
}
.testimonial-card{
  background:var(--white);border:1px solid var(--gray-light);
  padding:28px 26px;text-align:left;
}
.testimonial-card .stars{color:var(--red);font-size:14px;letter-spacing:2px;margin-bottom:10px;}
.testimonial-card p.quote-text{font-size:15px;color:var(--black);line-height:1.6;font-family:'IBM Plex Sans';font-weight:400;}
.testimonial-card footer{margin-top:16px;background:none;color:inherit;padding:0;}
.testimonial-card footer .name{font-weight:700;font-size:14px;color:var(--black);}
.testimonial-card footer .role{font-size:13px;color:var(--gray);margin-top:2px;}

/* ---- CTA band ---- */
.cta-band{background:var(--red);color:var(--white);padding:72px 48px;text-align:center;}
.cta-band h2{font-size:30px;margin-bottom:16px;color:var(--white);}
.cta-band .hero-actions{justify-content:center;}
.cta-band .btn-outline-w{border-color:var(--white);}
.cta-band .btn-primary{background:var(--black);border-color:var(--black);}
.cta-band .btn-primary:hover{background:#1a1a1a;}

/* ---- Forms ---- */
.form-card{
  background:var(--bg-alt);
  border:1px solid var(--gray-light);
  padding:36px;
  max-width:640px;
}
.form-row{margin-bottom:20px;}
.form-row label{
  display:block;font-size:13px;font-weight:700;margin-bottom:6px;color:var(--black);
}
.form-row .req{color:var(--red);}
.form-row input,
.form-row select,
.form-row textarea{
  width:100%;
  padding:12px 14px;
  border:1px solid var(--gray-light);
  background:var(--white);
  font-family:'IBM Plex Sans';
  font-size:14px;
  border-radius:2px;
}
.form-row textarea{min-height:120px;resize:vertical;}
.form-hint{font-size:12px;color:var(--gray);margin-top:6px;}
.form-note{font-size:13px;color:var(--gray);margin-top:18px;}
.hp-field{position:absolute !important;left:-9999px !important;width:1px;height:1px;opacity:0;}
.form-status{font-size:14px;margin-top:16px;padding:12px 14px;border-left:3px solid var(--red);background:var(--white);color:var(--black);}
.form-status[hidden]{display:none;}
.form-success h3{font-size:20px;margin-bottom:8px;}
.form-success p{font-size:14.5px;}

/* ---- Contact info cards ---- */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;}
.contact-info h3{font-size:20px;margin-bottom:16px;}
.info-item{margin-bottom:24px;}
.info-item .label{
  font-family:'Space Mono';font-size:11px;letter-spacing:0.1em;text-transform:uppercase;color:var(--gray);
  margin-bottom:4px;
}
.info-item a, .info-item span{font-size:16px;font-weight:600;text-decoration:none;}
.info-item a:hover{color:var(--red);}

/* ---- FAQ accordion ---- */
.faq-item{border-bottom:1px solid var(--gray-light);}
.faq-question{
  width:100%;text-align:left;
  background:none;border:none;
  padding:20px 0;
  font-family:'Archivo';font-weight:700;font-size:16px;color:var(--black);
  display:flex;justify-content:space-between;align-items:center;
  cursor:pointer;
}
.faq-question .icon{
  font-family:'Space Mono';font-size:20px;color:var(--red);flex-shrink:0;margin-left:16px;
  transition:transform 0.2s;
}
.faq-question[aria-expanded="true"] .icon{transform:rotate(45deg);}
.faq-answer{
  max-height:0;overflow:hidden;transition:max-height 0.25s ease;
}
.faq-answer p{padding-bottom:20px;font-size:14.5px;}
.faq-answer.open{max-height:400px;}

/* ---- Legal pages ---- */
.legal-body{max-width:760px;}
.legal-body h2{font-size:22px;margin-top:40px;margin-bottom:12px;}
.legal-body h2:first-child{margin-top:0;}
.legal-body p, .legal-body li{color:var(--gray);font-size:15px;margin-bottom:12px;}
.legal-body ul, .legal-body ol{padding-left:24px;margin-bottom:16px;}
.legal-updated{
  font-family:'Space Mono';font-size:12px;color:var(--gray);
  margin-bottom:32px;display:block;
}

/* ---- Footer ---- */
footer{background:var(--black);color:#B8B8B8;padding:56px 48px 32px;font-size:13px;}
.footer-grid{display:flex;justify-content:space-between;flex-wrap:wrap;gap:32px;max-width:1140px;margin:0 auto;}
footer a{color:#DDD;text-decoration:none;display:block;margin-bottom:10px;font-size:14px;}
footer a:hover{color:var(--red);}
footer h5{color:var(--white);font-size:12px;letter-spacing:0.08em;text-transform:uppercase;margin-bottom:16px;font-family:'Space Mono';}
.footer-bottom{
  max-width:1140px;margin:40px auto 0;padding-top:24px;
  border-top:1px solid #262626;
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;
  font-size:12px;color:#888;
}
.footer-bottom a{display:inline;margin-right:0;color:#888;}
.footer-bottom a:hover{color:var(--red);}

/* ---- Lead / Quote Modal ---- */
.modal-overlay{
  display:none;
  position:fixed;inset:0;
  background:rgba(0,0,0,0.6);
  z-index:1000;
  align-items:center;justify-content:center;
  padding:20px;
}
.modal-overlay.open{display:flex;}
.modal{
  background:var(--white);
  max-width:480px;width:100%;
  padding:36px;
  position:relative;
  max-height:90vh;overflow-y:auto;
}
.modal-close{
  position:absolute;top:16px;right:16px;
  background:none;border:none;
  width:36px;height:36px;
  font-size:22px;cursor:pointer;color:var(--black);
  line-height:1;
}
.modal h3{font-size:22px;margin-bottom:8px;}
.modal p{margin-bottom:20px;font-size:14px;}

/* ---- Utility ---- */
.text-center{text-align:center;}
.mt-0{margin-top:0;}

@media (max-width:900px){
  .container{padding:0 20px;}
  .topbar{padding:14px 20px;}
  section{padding:56px 20px;}
  .section-tight{padding:40px 20px;}
  .page-hero{padding:48px 20px;}
  .hero{padding:56px 20px 64px;}
  .hero h1{font-size:34px;}
  .page-hero h1{font-size:28px;}
  .usecase-grid{grid-template-columns:repeat(2,1fr);}
  .usecase-grid.cols-3{grid-template-columns:repeat(3,1fr);}
  .example-grid{grid-template-columns:repeat(2,1fr);}
  .testimonial-grid{grid-template-columns:1fr;}
  .about-teaser{grid-template-columns:1fr;}
  .contact-grid{grid-template-columns:1fr;}
  .primary-nav{display:none;}
  .nav-actions .btn-ghost{display:none;}
  .menu-toggle{display:flex;}
  .mobile-nav{padding:8px 20px 20px;}
  .form-card{padding:24px;}
  .footer-bottom{flex-direction:column;}
  .process-list.process-row{grid-template-columns:1fr;}
}

@media (max-width:560px){
  .usecase-grid, .usecase-grid.cols-3{grid-template-columns:1fr;}
  .example-grid{grid-template-columns:1fr;}
  .process-list li{grid-template-columns:40px 1fr;}
}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  *{animation-duration:0.01ms !important;transition-duration:0.01ms !important;}
}
