:root {
  /* Black & white base */
  --bg: #030303;
  --bg-alt: rgba(27, 27, 29, 0.85);
  --text: #f9fafb;
  --muted: #f8f8f891;
  --border: rgba(148, 163, 184, 0.45);

  /* Pop of color for CTAs (change these 2 to re-skin the buttons) */
  --accent: #8791929c;       /* cyan */
  --accent-alt: #3b4347;   /* purple */

  --radius-lg: 1.1rem;     /* tightened from 1.6rem for less "pillowy" look */
  --radius-md: 1.1rem;
  --shadow-soft: 0 24px 60px rgba(58, 56, 56, 0.205);
  --shadow-subtle: 0 18px 40px rgba(65, 63, 63, 0.48);
  --max-width: 1120px;
}

/* Base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}



body {
  margin: 0;
  font-family: 'Roboto' ,"Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, #1f2020 0, #030303 42%, #242323 100%),
    #020617;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5; /* consistent, slightly tighter rhythm */
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Layout helpers */

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Global section spacing - tightened */

.section {
  padding: 3.5rem 0;
  position: relative;
}

.section-alt {
  padding: 3.5rem 0;
  position: relative;
}

/* content sits above ghost headings */
.section > .container,
.section-alt > .container {
  position: relative;
  z-index: 1;
}

.section-header {
  max-width: 1000px;
  margin: 0 auto 1rem; /* was 3rem */
  text-align: left;       /* more editorial / studio */
}

.section-header h2 {
  margin-bottom: 0.4rem;
  font-size: clamp(1.9rem, 2.5vw, 2.2rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family:'Shadows Into Light';
}

.section-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Section-level ghost headings */

.section-services::before,
.section-portfolio::before,
.section-process::before,
.section-about::before,
.section-testimonials::before,
.section-contact::before {
  position: absolute;
  z-index: 0;
  top: -1rem;
  right: 3%;
  font-size: clamp(3rem, 8vw, 5.6rem);
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #e5e7eb;
  opacity: 0.08; /* subtle, behind content */
  pointer-events: none;
  white-space: nowrap;
  font-family:'Titan One';
  letter-spacing: 0px;
}

.section-services::before {
  content: "SERVICES";
}

.section-portfolio::before {
  content: "WORK";
}

.section-process::before {
  content: "PROCESS";
}

.section-about::before {
  content: "ABOUT";
}

.section-testimonials::before {
  content: "CLIENTS";
}

.section-contact::before {
  content: "CONTACT";
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* Hide ghost headings on small screens to avoid clutter */
@media (max-width: 720px) {
  .section-services::before,
  .section-portfolio::before,
  .section-process::before,
  .section-about::before,
  .section-testimonials::before,
  .section-contact::before {
    display: none;
  }
}

/* Small action bar under section headers (e.g. view more work) */

.section-actions {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 1.5rem;
}

/* Glass Panels */

.glass-panel {
  background: radial-gradient(
    circle at top left,
    rgba(248, 250, 252, 0.14),
    rgba(57, 58, 59, 0.466)
  );
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

/* Header / Nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: linear-gradient(
    to right,
    rgba(35, 35, 36, 0.85),
    rgba(10, 10, 10, 0.6),
    rgba(7, 7, 7, 0.85)
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  font-family:'Roboto';
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-logo {
  width: 34px;
  height: 34px;
}

.brand-text {
  font-family: "Karla", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.84rem;
}

.site-nav ul {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.site-nav a {
  font-size: 0.95rem;
  color: var(--muted);
  position: relative;
  padding-bottom: 0.15rem;
  
}

.site-nav a:hover{
    color: white;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-alt));
  border-radius: 999px;
  transition: width 0.16s ease-out;
}

.site-nav a:hover::after {
  width: 100%;
}

/* Mobile nav toggle */

.nav-toggle {
  display: none;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(58, 56, 56, 0.205);
  padding: 0.3rem 0.45rem;
  border-radius: 999px;
}


.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #e5e7eb;
  border-radius: 999px;
  position: relative;
}

.nav-toggle span + span {
  margin-top: 4px;
}

/* Hero */

.hero {
  padding: 3.7rem 0 3.3rem; /* tightened from 4.5/4 */
  background-image: url('assets/ccc_hero.jpg');
  background-size:cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.322);
  

}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr);
  gap: 2.2rem; /* tighter gap */
  align-items: center;
  padding: 2rem 2rem; /* tightened from ~2.4 */
  position: relative;
  overflow: hidden;
}

.hero-inner::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 8% 0%, rgba(34, 211, 238, 0.16), transparent 20%),
    radial-gradient(circle at 90% 100%, rgba(168, 85, 247, 0.2), transparent 26%);
  opacity: 0.8;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-media {
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  font-size: clamp(2.3rem, 2.8vw, 3rem);
  line-height: 1.1;
  margin-bottom: 0.7rem; /* was 1rem */
  letter-spacing: 0.02em;
  font-family: 'Shadows Into Light';
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--muted);
  max-width: 30rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  color: #e5e7eb;
  margin-bottom: 0.9rem;
  opacity: 0.9;
}

.hero-actions {
  margin: 1.7rem 0 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: var(--muted);
}

.hero-badges span {
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.7);
  background: radial-gradient(
    circle at top left,
    rgba(248, 250, 252, 0.08),
    rgba(24, 24, 24, 0.9)
  );
}

/* Buttons: black & white site, color-pop CTAs */


.btn,
.btn-secondary,
.btn-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    transform 0.15s ease-out,
    box-shadow 0.15s ease-out,
    background 0.15s ease-out,
    border-color 0.15s ease-out;
  white-space: nowrap;
}

.btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-alt));
  color: #e8e9eb;
  box-shadow: 0 10px 40px rgba(204, 207, 207, 0.35);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 24px 50px rgba(90, 91, 95, 0.45);
}

.btn-secondary {
  background: transparent;
  color: #e5e7eb;
  border-color: rgba(177, 184, 192, 0.378);
  box-shadow: 0 10px 40px rgba(204, 207, 207, 0.35);
  margin-right:10px;
}

.btn-secondary:hover {
  background: rgba(171, 175, 183, 0.9);
  border-color: rgba(209, 213, 219, 0.9);
  color:black;
  box-shadow: 0 24px 50px rgba(90, 91, 95, 0.45);
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  background: transparent;
  color: #e5e7eb;
  border-color: rgba(216, 217, 219, 0.382);
}

.btn-small:hover {
  background: rgba(171, 175, 183, 0.9);
}

.full-width {
  width: 100%;
}

/* Cards / grids */

.grid {
  display: grid;
  gap: 1.8rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}


.card {
  padding: 1.5rem 1.4rem; /* tightened from 1.8 / 1.7 */
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
}

.card p {
  margin-top: 0;
  margin-bottom: 0.8rem;
  color: var(--muted);
}

.card-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.card-list li + li {
  margin-top: 0.2rem;
}

.card-list li::before {
  content: "• ";
  color: var(--accent);
}

/* Portfolio */

.portfolio-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.portfolio-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(1) contrast(.5);
  transition: transform 0.35s ease-out, filter 0.35s ease-out;
}

.portfolio-card:hover img {
  transform: scale(1.03);
  filter: saturate(1) contrast(1.1);
}

.portfolio-body {
  padding: 1.4rem 1.5rem 1.3rem;
}

.portfolio-body h3 {
  margin: 0 0 0.4rem;
}

.portfolio-body p {
  margin: 0.2rem 0;
  color: var(--muted);
  font-size: .95rem;
}

.portfolio-body .tagline {
  font-size: 0.7rem;
  color: #e5e7eb;
}

/* Process */

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
}

.process-step {
  padding: 1.8rem 1.7rem;
  border-radius: var(--radius-md);
  position: relative; /* needed for arrows */
}

/* Arrows between 1, 2, 3 on desktop */
.process-step::after {
  content: "➜";
  position: absolute;
  right: -1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  color: var(--muted);
  opacity: 0.75;
}

.process-step:last-child::after {
  display: none;
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.7rem;
  align-items: center;
  padding: 2.2rem 2.2rem;
}

.about-media{
  width:60%;
  margin:auto;
  border-radius:50px;
  border: 1px solid rgba(255, 255, 255, 0.679);
}

.about-media img{
  border-radius:30px;

}


.about-copy-2 h2 {
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family:'Shadows Into Light';

}

.about-copy-2 li {
  font-size:.7rem;
}

.about-copy-2 p {
  color: var(--muted);
  font-size:.87rem;
}

.about-copy p {
  color: var(--muted);
}

.about-highlight {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--accent);
  background: rgba(57, 58, 58, 0.9);
  border-radius: 0.7rem;
}

/* Testimonials */

.testimonial .quote {
  font-size: 0.96rem;
  font-style: italic;
  color: #e5e7eb;
}

.testimonial .client {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.7rem;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 2.4rem;
  align-items: flex-start;
}

.contact-copy {
  padding: 2rem 1.9rem;
}

.contact-points {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-points li + li {
  margin-top: 0.25rem;
}

.contact-points li::before {
  content: "↳ ";
  color: var(--accent);
}

/* Form styles */

.contact-form {
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.7rem;
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(235, 241, 241, 0.473);
  font: inherit;
  color: var(--text);
  background: rgba(109, 111, 114, 0.9);
  outline: none;
  transition:
    border-color 0.15s ease-out,
    box-shadow 0.15s ease-out,
    background 0.15s ease-out;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.85);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  background: rgba(61, 62, 63, 0.9);
  box-shadow: 0 0 0 1px rgba(128, 130, 131, 0.7);
}

textarea {
  resize: vertical;
}

.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.6rem;
}

.form-success {
  margin-top: 0.7rem;
  font-size: 0.9rem;
  color: #4ade80;
}

.form-error {
  margin-top: 0.7rem;
  font-size: 0.9rem;
  color: #f97373;
}

/* Footer */

.site-footer {
  padding: 1.6rem 0 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.322);
  background: radial-gradient(circle at top, #12121344 0, #00000062 50%);
  font-size: 0.86rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-nav {
  display: flex;
  gap: 1.25rem;
}

.footer-nav a:hover {
  color: #e5e7eb;
}

/* Reveal on scroll – snappier, less floaty */

.fade-in {
  opacity: 0;
  transform: translateY(12px); /* was 18px */
  transition:
    opacity 0.4s ease-out,
    transform 0.4s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 960px) {
  .hero-inner,
  .about-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero{
      background-image: url('assets/ccc_hero.jpeg');
      background-size:cover;
      background-position-x: -600px;

  }
  .hero-inner {
    padding: 2rem 1.8rem;
  }

  .hero-media {
    order: 1;
  }

  .hero-actions .btn, .btn-secondary {
    display:block;
    margin:0;
    font-size:.8rem;
  }




  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid {
    padding: 1.8rem 1.6rem;
  }

  /* Slightly smaller section spacing on tablets */
  .section,
  .section-alt {
    padding: 3rem 0;
  }

  /* Hide arrows between process steps on smaller screens */
  .process-step::after {
    display: none;
  }

  .section-actions {
    justify-content: flex-start;
  }
}

/* Scroll Fade In Animation */
.fade-in {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* Modal Overlay */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

/* Modal Window */
.modal-window {
  position: relative;
  width: 99%;
  max-width: 1100px;
  height: 80vh;
  display: flex;
  flex-direction: column;
  border-radius: 1rem;
  overflow: hidden;
}

/* Close Button */
.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  border-radius: 6px;
  padding: 0 10px;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* allow [hidden] to actually hide the modal */
.modal-overlay[hidden] {
  display: none !important;
}


/* Iframe */
.modal-iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: inherit;
}


@media (max-width: 720px) {
  .header-inner {
    padding-inline: 1.2rem;
  }

  .contact-points{
    display:none;
  }
  .about-media img{
    width:100%;
  }

  .about-media {
    width:100%;
  }

  .about-highlight
  {
    display:none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    inset-inline: 0;
    top: 49px;
    background: rgb(22, 21, 21);
    border-bottom: 1px solid rgba(165, 169, 173, 0.9);
    border-top: 1px solid rgba(165, 169, 173, 0.9);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease-out, opacity 0.2s ease-out;
  }

  .site-nav.open {
    transform: translateY(0%);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: center;
    padding: 1rem 2rem 1.1rem;
    gap: 0.9rem;
  }

  .grid-3,
  .process-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid-4 {
    grid-template-columns: minmax(0, 1fr);
  }

  .section,
  .section-alt {
    padding: 2.6rem 0; /* tighter on mobile too */
  }

  .contact-form {
    padding: 1.6rem 1.35rem;
  }

  .contact-copy {
    padding: 1.7rem 1.4rem;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .eyebrow {
    font-size:.54rem;
  }

  .hero-copy h1{
    font-size:2rem;
  }

  .section h2 {
    font-size: 1.6rem;
    line-height:30px;
  }
  .hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.65rem;
    color: var(--muted);
  }
  
  .hero-badges span {
    padding: 0.3rem 0.5rem;
    border-radius: 999px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.7);
    background: radial-gradient(
      circle at top left,
      rgba(248, 250, 252, 0.08),
      rgba(24, 24, 24, 0.9)
    );
  }
}

/* Compact Contact Form Update */
.section-contact .contact-copy h2 {
  margin-bottom: 0.8rem;
}

.section-contact p {
  margin-bottom: 1rem;
}

.contact-form {
  padding: 1.4rem 1.4rem; /* tighter */
}

.form-row {
  margin-bottom: 0.7rem; /* tighter spacing */
}

input,
select,
textarea {
  padding: 0.55rem 0.75rem; /* slightly smaller fields */
  font-size: 0.9rem;
}

textarea {
  height: 110px; /* smaller textarea */
}

.btn.full-width {
  margin-top: 0.4rem;
  padding: 0.65rem 1rem; /* slightly smaller button */
}

/* TABLET HERO OPTIMIZATION */
@media (min-width: 768px) and (max-width: 1199px) {
  .hero {
    background-size: cover;
    background-position: center top;
  }

  .hero-inner {
    padding: 2rem 2rem;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 3.5vw, 2.5rem);
  }

  .hero-subtitle {
    max-width: 28rem;
    font-size: 0.9rem;
  }
}



/* Default modal remains full width on desktop */
.modal-window {
  max-width: 900px;
  width: 90%;
}

/* About modal — smaller & consistent with Portfolio/Photography */
@media (min-width: 1024px) {
  .modal-window.about-modal {
    max-width: 750px; /* adjust this number for final fit */
  }
}
