/* ===============
   Phonumbra Styles
   =============== */
:root{
  /* Palette sampled from your images */
  --ink:#081a3a;           /* deep navy */
  --cobalt:#0a4dff;        /* electric blue */
  --azure:#42bff8;         /* light blue accents */
  --ember:#ff6a00;         /* orange */
  --gold:#ffb86b;          /* warm highlight */
  --paper:#f6f7fb;         /* near white */
  --shadow: 0 10px 30px rgba(0,0,0,.28);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font: 16px/1.6 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--paper);
  background: var(--ink);
  overflow-x:hidden;
}

/* Header */
.site-header{
  position:fixed; inset:0 0 auto 0; height:64px;
  display:flex; align-items:center; justify-content:space-between;
  padding:0 20px;
  backdrop-filter:saturate(1.4) blur(8px);
  background: linear-gradient(90deg, rgba(8,26,58,.75), rgba(8,26,58,.25));
  z-index:50;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.brand{
  display:flex; align-items:center; gap:10px; text-decoration:none; color:#fff;
  font-weight:700; letter-spacing:.3px;
}
.brand-mark{color:var(--azure); filter:drop-shadow(0 2px 6px rgba(66,191,248,.6))}
.brand-mark img{
  /* Size the gramophone icon so it fits within the 64px header but still reads clearly */
  height:80px;
  width:auto;
  display:block;
}
.brand-text img{
  /* Slightly larger than the previous 24px height, but still comfortably within the header */
  height:40px;
  width:auto;
  display:block;
}
.nav a{color:#fff;text-decoration:none;margin-left:18px;opacity:.85}
.nav a:hover{opacity:1}

/* Hero */
.hero{
  position:relative; min-height:100svh;
  display:grid; place-items:center; text-align:center;
  padding:96px 18px 40px;
  isolation:isolate;
}
.video-wrap{position:absolute; inset:0; overflow:hidden; z-index:-2}
.bg-video{width:100%; height:100%; object-fit:cover; display:block;}
.bg-fallback{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:none}
.color-vignette{
  position:absolute; inset:0;
  background: radial-gradient(70% 70% at 50% 50%, transparent 0%, rgba(0,0,0,.45) 70%, rgba(0,0,0,.7) 100%);
  z-index:1;
}
.hero-inner{max-width:1100px}
h1{
  margin:0 0 .4rem; font-size: clamp(2.2rem, 6vw, 5rem);
  font-weight:800; line-height:1.05; text-shadow:0 8px 30px rgba(0,0,0,.35);
}
h1 em{color:var(--azure); font-style:normal}
.kicker {
  margin:0 auto 1.2rem;
  max-width:850px;
  font-size:clamp(1rem, 2.4vw, 1.35rem);
  opacity:.95
}
.cred-list{display:flex; justify-content:center; padding:0; list-style:none; margin:18px 0 0; font-size:clamp(1rem, 1vw, 1rem);}
.cred-list li{background:rgba(0,0,0,.35); padding:8px 12px; border-radius:999px; border:1px solid rgba(255,255,255,.08)}

.cta-row{display:flex; gap:14px; justify-content:center; margin:16px 0 6px; font-size:clamp(1rem, 2.4vw, 1.35rem);}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:.75rem 1rem; border-radius:999px; text-decoration:none; font-weight:700;
  border:1px solid rgba(255,255,255,.15);
  transition:transform .15s ease, box-shadow .15s ease, background .2s ease;
}
.btn.primary{background:linear-gradient(180deg, var(--cobalt), #3a56ff); box-shadow: var(--shadow)}
.btn.primary:hover{transform:translateY(-1px)}
.btn.ghost{background:rgba(0,0,0,.25)}
.btn.ghost:hover{background:rgba(0,0,0,.35)}

/* Hero sub-headline: glass pill background */
.hero-tagline {
  display: inline-block;                 /* shrink-wrap to text */
  padding: 12px 16px;
  margin-top: 10px;
  border-radius: 14px;
  color: #fff;
  line-height: 1.45;
  text-shadow: 0 1px 2px rgba(0,0,0,.55);

  /* glossy chip similar to your service pills */
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px) saturate(110%);
  -webkit-backdrop-filter: blur(8px) saturate(110%);
  box-shadow: 0 10px 24px rgba(0,0,0,.35);
}

/* Center it on large screens; keep width comfortable for long text */
.hero-tagline-wrap { 
  text-align: center;
}
.hero-tagline { 
  max-width: 68ch;                       /* avoid super-long lines */
}

/* Slightly stronger background on small screens for readability */
@media (max-width: 680px) {
  .hero-tagline { background: rgba(0,0,0,.55); }
}

/* Sections */
.section{padding:80px 20px}
.section-contrast{background: linear-gradient(180deg, rgba(255,106,0,.07), rgba(10,77,255,.07));}
.section-head{max-width:900px; margin:0 auto 28px; text-align:center}
h2{font-size: clamp(1.6rem, 4.5vw, 2.6rem); margin:0 0 6px}
.section-head p{margin:0 auto; opacity:.9}

/* Cards */
.cards{
  --min: 260px;
  display:grid; grid-template-columns: repeat(auto-fit, minmax(var(--min), 1fr));
  gap:18px; max-width:1200px; margin:0 auto;
}
.card{
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(0,0,0,.24));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px; padding:20px; box-shadow: var(--shadow);
  backdrop-filter: blur(6px) saturate(1.2);
}
.card-icon{color:var(--gold); opacity:.9; margin-bottom:10px}
.card h3{margin:.2rem 0 .4rem; font-size:1.25rem}
.card p{margin:.1rem 0 .6rem; opacity:.92}
.bullets{margin:0; padding-left:18px; opacity:.9}

/* Gallery */
.gallery{display:grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap:12px; max-width:1100px; margin:0 auto}
.gallery img{width:100%; height:auto; display:block; object-fit:cover; border-radius:14px; border:1px solid rgba(255,255,255,.12)}

/* --- Fix: keep thumbnails at their natural aspect ratio --- */
.gallery figure { margin: 0; }

/* --- Caption styling (titles below each thumb) --- */
.gallery p {
  display: block;            /* override previous flex */
  margin: .45rem 0 0;        /* small gap above caption */
  padding: 0;                /* remove bottom padding that added extra column height */
  text-align: center;
  font-size: .95rem;
  line-height: 1.3;
  color: var(--gold);
  opacity: .95;
}



/* Contact form */
.contact-form{max-width:950px; margin:0 auto}
.grid{
  display:grid; grid-template-columns:repeat(2, 1fr); gap:14px;
}
.grid .span-2{grid-column:1 / -1}
label{display:flex; flex-direction:column; gap:6px; font-weight:600; opacity:.95}
input, textarea{
  background: rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.14);
  color:#fff; border-radius:12px; padding:12px; outline:none;
}
input::placeholder, textarea::placeholder{color:rgba(255,255,255,.7)}
input:focus, textarea:focus{border-color: var(--azure); box-shadow: 0 0 0 3px rgba(66,191,248,.25)}

/* Footer */
.site-footer{
  display:flex; align-items:center; justify-content:center; gap:20px;
  padding:26px; border-top:1px solid rgba(255,255,255,.08); opacity:.9
}
.to-top{color:#fff; text-decoration:none; border:1px solid rgba(255,255,255,.2); padding:6px 9px; border-radius:999px}

/* Responsive tweaks */
@media (max-width: 680px){
  .nav{display:none}
  .grid{grid-template-columns:1fr}
  /* Reduce logo sizes slightly on mobile for better fit */
  .brand-mark img{height:36px}
  .brand-text img{height:24px}
}

/* Status message for contact form */
.form-status{
  margin:8px 0 12px;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(0,0,0,.25);
  font-weight:600;
  opacity:.95;
}
.form-status.ok{
  border-color:rgba(66,191,248,.35); /* azure */
  background:rgba(66,191,248,.12);
}
.form-status.err{
  border-color:rgba(255,106,0,.35); /* ember */
  background:rgba(255,106,0,.10);
}
.maillink{
	color:#dcac60;
}


/* Video modal styling */
.video-modal{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,.85);
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:1000;
  padding:1rem;
}
.video-modal.hidden{display:none;}
.video-modal .modal-content{
  position:relative;
  width:90%;
  max-width:900px;
  aspect-ratio:16/9;
  background:#000;
  border-radius:12px;
  overflow:hidden;
}
.video-modal iframe{
  width:100%;
  height:100%;
  border:none;
}
.close-modal{
  position:absolute;
  top:-10px;
  right:-10px;
  width:40px;
  height:40px;
  border-radius:50%;
  border:none;
  background:rgba(0,0,0,.6);
  color:#fff;
  font-size:26px;
  line-height:40px;
  cursor:pointer;
}
.close-modal:hover{
  background:rgba(0,0,0,.8);
}

/* ===== ABOUT (subtle layout) ===== */
.about .kicker { margin-top: .25rem; opacity: .85; }

.about-wrap {
  max-width: 1050px;
  margin: 0 auto;
  padding: 20px;
}

.about-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px 22px;
  align-items: center;
  margin-bottom: 18px;
}

.about-avatar img {
  width: 120px;
  height: 120px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}

.about-text h2 {
  margin: 0 0 4px 0;
}

.about-text p {
  margin: .4rem 0;
  font-size: clamp(1rem, 1.4vw, 1.05rem);
  line-height: 1.6;
  opacity: .95;
}

.about-banner {
  margin: 0;
}

.about-banner img {
  width: auto;
  height: auto;
  object-fit: contain;
  max-height: 450px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  opacity: .85;
  display: block;
  margin: 0 auto;
}

@media (max-width: 800px) {
  .about-meta {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .about-avatar img {
    width: 100px;
    height: 100px;
  }
  .about-banner img {
    max-height: 300px;
  }
}