/* =========================================================
   PD Designs — tokens
   ========================================================= */
:root{
  --ink:        #1b1b18;
  --paper:      #ffffff;
  --stone:      #f4f4f4;
  --sand:       #c9bfae;
  --green:      #5c7a2e;
  --green-dark: #43591f;
  --orange:      #de6f1e;
  --orange-dark: #b8590f;
  --muted:      #6b675f;
  --line:       rgba(27,27,24,0.14);
  --line-soft:  rgba(27,27,24,0.08);

  --font-content: Calibri, Arial, "Malgun Gothic Semilight", "Malgun Gothic", Nirmala, sans-serif;
  --font-display: var(--font-content);
  --font-body: var(--font-content);
  --font-mono: var(--font-content);
  --font-brand: "Eurostile Bold", Eurostile, "Arial Black", Arial, sans-serif;
}


.orbitron-brand {
  font-family: "Orbitron", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; }
  .project-tile{ opacity:1 !important; transform:none !important; }
}

body{
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--paper);
  font-size:16px;
  line-height:1.6;
}

a{ color:inherit; text-decoration:none; }
img{
  max-width:100%; display:block;
  -webkit-user-drag:none; user-select:none; -webkit-touch-callout:none;
}

::selection{ background:var(--orange); color:var(--paper); }

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline:2px solid var(--orange);
  outline-offset:3px;
}

h1,h2,h3,h4{ font-family:var(--font-display); font-weight:500; letter-spacing:-0.01em; margin:0; }
em{ font-style:italic; color:var(--orange-dark); }

.label-tag{
  font-family:var(--font-mono);
  font-size:0.72rem;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--green-dark);
  margin-bottom:1rem;
  display:inline-block;
  border-bottom:1px solid var(--line);
  padding-bottom:0.4rem;
}

.section{ padding:6.5rem 0; border-top:1px solid var(--line-soft); }
.section-title{ font-size:clamp(1.9rem,3.2vw,2.6rem); margin-bottom:2.75rem; max-width:22ch; }

.body-copy{ color:var(--muted); font-size:1.02rem; max-width:52ch; }

.btn-brass{
  background:var(--orange);
  color:var(--paper);
  border:1px solid var(--orange);
  border-radius:0;
  padding:0.85rem 1.6rem;
  font-family:var(--font-mono);
  font-size:0.78rem;
  letter-spacing:0.08em;
  text-transform:uppercase;
  transition:background .25s ease, color .25s ease;
}
.btn-brass:hover{ background:var(--orange-dark); border-color:var(--orange-dark); color:var(--paper); }

/* =========================================================
   Registration marks — signature blueprint motif
   ========================================================= */
.reg-marks{ position:fixed; inset:0; pointer-events:none; z-index:1200; }
.reg{ position:absolute; width:22px; height:22px; }
.reg::before,.reg::after{ content:""; position:absolute; background:rgba(27,27,24,0.35); }
.reg::before{ width:100%; height:1px; top:50%; }
.reg::after{ width:1px; height:100%; left:50%; }
.reg-tl{ top:14px; left:14px; }
.reg-tr{ top:14px; right:14px; }
.reg-bl{ bottom:14px; left:14px; }
.reg-br{ bottom:14px; right:14px; }
@media (max-width:767px){ .reg-marks{ display:none; } }

/* =========================================================
   Nav
   ========================================================= */
body{ padding-top:4.6rem; }
.section:first-of-type{ padding-top:3rem; }

.site-nav{
  padding:1.1rem 0;
  background:rgba(255,255,255,0.96);
  backdrop-filter:blur(6px);
  border-bottom:1px solid var(--line);
  transition:padding .3s ease, box-shadow .3s ease;
}
.site-nav.scrolled{
  padding:0.75rem 0;
  box-shadow:0 1px 0 var(--line);
}
.navbar-brand{
  display:flex;
  align-items:center;
  gap:0.6rem;
  /* font-family:var(--font-brand); */
  /* font-weight:700; */
  /* letter-spacing:0.06em; */
  /* font-size:1rem; */
  /* color:var(--ink); */
}
.navbar-brand span{ color:var(--green); }
.brand-mark{
  height:80px; width:auto; padding:4px; 
  /* color: var(--green); */
  /* background:var(--stone); */
  /* border:1.5px solid var(--muted);  */
  /* border-radius:8px; */
}

.navbar-nav .nav-link{
  font-family:var(--font-mono);
  font-size:0.78rem;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--muted);
  padding:0.5rem 1rem !important;
  transition:color .3s ease;
}
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active{ color:var(--green-dark); }
.navbar-toggler{ border:none; color:var(--ink); font-size:1.4rem; box-shadow:none !important; }
@media (max-width:991px){
  .navbar-collapse{ background:var(--paper); margin-top:1rem; padding:1rem 1.25rem; border:1px solid var(--line); }
}

/* =========================================================
   Studio strip + schedule list
   ========================================================= */
.studio-strip h2{ font-size:clamp(1.7rem,3vw,2.35rem); max-width:20ch; margin-bottom:1.5rem; }

.schedule-list{ list-style:none; margin:0; padding:0; border-top:1px solid var(--line); }
.schedule-list li{
  display:flex; justify-content:space-between; align-items:baseline;
  padding:1.1rem 0; border-bottom:1px solid var(--line);
}
.sched-key{ font-family:var(--font-mono); font-size:0.8rem; letter-spacing:0.04em; color:var(--muted); text-transform:uppercase; }
.sched-val{ font-family:var(--font-display); font-size:1.6rem; color:var(--orange-dark); }

/* =========================================================
   Services
   ========================================================= */
.services-row{ border-top:1px solid var(--line); margin-top:0.5rem; }
.service-card{
  padding:2.5rem 1.75rem; border-bottom:1px solid var(--line); border-right:1px solid var(--line);
  position:relative;
}
.service-card:nth-child(4n){ border-right:none; }
.service-num{ font-family:var(--font-mono); font-size:0.72rem; color:var(--green); letter-spacing:0.08em; }
.service-card h3{ font-size:1.25rem; margin:0.9rem 0 0.75rem; }
.service-card p{ color:var(--muted); font-size:0.94rem; margin:0; }
@media (max-width:991px){ .service-card:nth-child(2n){ border-right:none; } .service-card:nth-child(4n){ border-right:1px solid var(--line); } }
@media (max-width:767px){ .service-card{ border-right:none !important; } }

/* =========================================================
   Credibility points + review badges (About)
   ========================================================= */
.credibility-row{ border-top:1px solid var(--line); margin-top:0.5rem; }
.credibility-card{
  display:flex; gap:1.25rem; align-items:flex-start;
  padding:2rem 1.75rem; border-bottom:1px solid var(--line); border-right:1px solid var(--line);
}
.credibility-card:nth-child(2n){ border-right:none; }
@media (max-width:767px){ .credibility-card{ border-right:none !important; } }
.credibility-icon{
  flex:none; width:48px; height:48px; border-radius:50%; background:var(--stone); color:var(--green);
  display:flex; align-items:center; justify-content:center; font-size:1.25rem;
}
.credibility-card h3{ font-size:1.1rem; margin-bottom:0.5rem; }
.credibility-card p{ color:var(--muted); font-size:0.92rem; margin:0; }

.review-badges{ display:flex; flex-wrap:wrap; gap:1.5rem; margin-top:2.5rem; }
.review-badge{
  display:flex; align-items:center; gap:0.75rem; border:1px solid var(--line); padding:0.85rem 1.4rem;
  font-family:var(--font-mono); font-size:0.82rem;
}
.review-badge strong{ color:var(--orange-dark); }
.review-badge .stars{ color:var(--orange); letter-spacing:0.05em; }

/* =========================================================
   Engagement models (About)
   ========================================================= */
.engagement-row{ border-top:1px solid var(--line); margin-top:0.5rem; }
.engagement-card{
  padding:2.25rem 1.75rem; border-bottom:1px solid var(--line); border-right:1px solid var(--line);
}
.engagement-card:last-child{ border-right:none; }
.engagement-icon{
  width:44px; height:44px; border-radius:50%; background:var(--stone); color:var(--green);
  display:flex; align-items:center; justify-content:center; font-size:1.1rem; margin-bottom:1.25rem;
}
.engagement-card h3{ font-size:1.15rem; margin-bottom:0.75rem; }
.engagement-card p{ color:var(--muted); font-size:0.92rem; margin:0; }
@media (max-width:767px){ .engagement-card{ border-right:none !important; } }

/* =========================================================
   Value we create (About)
   ========================================================= */
.value-list{ border-top:1px solid var(--line); margin-top:0.5rem; }
.value-item{ display:flex; gap:1.5rem; padding:2rem 0; border-bottom:1px solid var(--line); }
.value-item:last-child{ border-bottom:none; }
.value-icon{
  flex:none; width:52px; height:52px; border-radius:50%; background:var(--green); color:var(--paper);
  display:flex; align-items:center; justify-content:center; font-size:1.3rem;
}
.value-item h3{ font-size:1.2rem; margin-bottom:0.6rem; }
.value-item p{ color:var(--muted); font-size:0.95rem; max-width:62ch; margin:0 0 0.5rem; }
.value-item ul{ color:var(--muted); font-size:0.95rem; max-width:62ch; margin:0; padding-left:1.1rem; }
.value-item li{ margin-bottom:0.35rem; }
@media (max-width:575px){ .value-item{ flex-direction:column; gap:1rem; } }

/* =========================================================
   Work / projects grid
   ========================================================= */
.project-filters{ display:flex; flex-wrap:wrap; gap:0.6rem; margin-bottom:2.5rem; margin-top:2.5rem; justify-content:center;}
.filter-btn{
  font-family:var(--font-mono); font-size:0.72rem; letter-spacing:0.08em; text-transform:uppercase;
  background:transparent; border:1px solid var(--line); color:var(--muted);
  padding:0.55rem 1.1rem; cursor:pointer; transition:background .2s ease, color .2s ease, border-color .2s ease;
}
.filter-btn:hover{ border-color:var(--green); color:var(--green-dark); }
.filter-btn.active{ background:var(--orange); border-color:var(--orange); color:var(--paper); }

.project-grid{ display:grid; grid-template-columns:1fr; gap:1.5rem; }
@media (min-width:768px){ .project-grid{ grid-template-columns:repeat(3, 1fr); gap:1.75rem; } }
.project-empty{ color:var(--muted); text-align:center; padding:3rem 0; }

.project-tile{
  display:block; position:relative; overflow:hidden; aspect-ratio:6/4; cursor:pointer; border-radius:14px;
  opacity:0; transform:translateY(28px) scale(0.97);
  transition:opacity .6s ease, transform .6s ease, box-shadow .3s ease;
}
.project-tile.in-view{ opacity:1; transform:translateY(0) scale(1); }
.project-tile.is-hidden{ display:none; }
.project-tile:hover, .project-tile:focus-visible{ box-shadow:0 20px 40px rgba(27,27,24,0.2); transform:translateY(-6px); }
.project-tile:active{ transform:translateY(-6px) scale(0.97); }
@media (prefers-reduced-motion: no-preference){
  .project-tile:nth-child(4n+1){ transition-delay:0s; }
  .project-tile:nth-child(4n+2){ transition-delay:.08s; }
  .project-tile:nth-child(4n+3){ transition-delay:.16s; }
  .project-tile:nth-child(4n+4){ transition-delay:.24s; }
}
.project-tile img{
  width:100%; height:100%; object-fit:cover;
  filter:grayscale(55%) sepia(12%) saturate(120%) brightness(0.88);
  transition:transform .6s ease, filter .6s ease;
}
.project-tile:hover img{ transform:scale(1.08); filter:grayscale(20%) sepia(8%) saturate(120%) brightness(0.95); }
.tile-overlay{
  position:absolute; inset:0; display:flex; flex-direction:column; justify-content:flex-end;
  padding:1.5rem; background:linear-gradient(180deg, rgba(27,27,24,0) 45%, rgba(27,27,24,0.82) 100%);
  color:var(--paper);
}
.tile-sheet{ font-family:var(--font-mono); font-size:0.7rem; letter-spacing:0.1em; color:var(--sand); }
.tile-category{
  position:absolute; top:1rem; left:1rem; font-family:var(--font-mono); font-size:0.65rem; letter-spacing:0.06em;
  text-transform:uppercase; color:var(--paper); background:var(--green); padding:0.3rem 0.65rem; border-radius:4px;
}
.tile-overlay h3{
  font-size:1.3rem; color:var(--paper); margin:0.35rem 0 0.15rem;
  overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
}
.tile-overlay p{ font-size:0.85rem; color:rgba(255,255,255,0.75); margin:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

/* =========================================================
   Process — dimension-line timeline
   ========================================================= */
.process-line{ display:flex; gap:0; border-top:1px dashed var(--sand); margin-top:1rem; padding-top:2.5rem; position:relative; }
.process-step{ flex:1; padding-right:2rem; position:relative; }
.process-step:not(:last-child)::after{
  content:"›"; position:absolute; top:-2.9rem; right:-0.4rem; font-family:var(--font-mono); color:var(--orange);
}
.step-num{ font-family:var(--font-mono); font-size:0.85rem; color:var(--green-dark); display:block; margin-bottom:0.6rem; }
.process-step h3{ font-size:1.15rem; margin-bottom:0.6rem; }
.process-step p{ color:var(--muted); font-size:0.92rem; }
@media (max-width:767px){
  .process-line{ flex-direction:column; gap:2rem; }
  .process-step{ padding-right:0; padding-left:1.25rem; border-left:1px dashed var(--sand); }
  .process-step::after{ display:none; }
}

/* =========================================================
   Quote carousel
   ========================================================= */
.quote-section{ background:var(--ink); color:var(--paper); }
.quote-carousel{ max-width:56rem; margin:0 auto; text-align:center; min-height:220px; position:relative; }
.quote-slide{ display:none; margin:0; }
.quote-slide.active{ display:block; animation:fadeIn .6s ease; }
@keyframes fadeIn{ from{opacity:0; transform:translateY(6px);} to{opacity:1; transform:translateY(0);} }
.quote-slide p{
  font-family:var(--font-display); font-style:italic; font-size:clamp(1.35rem,2.6vw,1.9rem);
  line-height:1.5; margin-bottom:1.5rem; color:var(--paper);
}
.quote-slide cite{ font-family:var(--font-mono); font-size:0.78rem; letter-spacing:0.06em; color:var(--sand); font-style:normal; }
.quote-dots{ display:flex; justify-content:center; gap:0.6rem; margin-top:2.25rem; }
.quote-dots span{ width:8px; height:8px; border-radius:50%; background:rgba(250,248,244,0.25); cursor:pointer; transition:background .25s ease; }
.quote-dots span.active{ background:var(--orange); }

/* =========================================================
   Contact
   ========================================================= */
.form-label{ font-family:var(--font-mono); font-size:0.72rem; letter-spacing:0.08em; text-transform:uppercase; color:var(--muted); }
.form-control, .form-select{
  border-radius:0; border:1px solid var(--line); background:var(--stone); padding:0.7rem 0.9rem; font-size:0.95rem;
}
.form-control:focus, .form-select:focus{ border-color:var(--orange); box-shadow:none; background:var(--paper); }
.form-status{ font-family:var(--font-mono); font-size:0.8rem; margin-left:1rem; color:var(--green-dark); }

.title-block{ border:1px solid var(--line); }
.tb-row{
  display:flex; justify-content:space-between; gap:1rem; padding:1rem 1.25rem; border-bottom:1px solid var(--line);
  font-size:0.9rem;
}
.tb-row:last-child{ border-bottom:none; }
.tb-row span{ font-family:var(--font-mono); font-size:0.72rem; color:var(--muted); text-transform:uppercase; letter-spacing:0.06em; }
.tb-row strong{ font-weight:500; text-align:right; max-width:60%; }
.tb-social{ flex-wrap:wrap; }
.tb-social div{ display:flex; flex-wrap:wrap; justify-content:flex-end; gap:0.1rem; max-width:60%; }
.tb-social a{ color:var(--ink); margin-left:0.6rem; font-size:1.1rem; }
.tb-social a:hover{ color:var(--green); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer{ background:var(--ink); color:rgba(250,248,244,0.8); padding:1.8rem 0; min-height:6.5rem; }
.footer-logo{
  display:flex; align-items:center; gap:0.6rem; letter-spacing:0.06em;
}
.footer-mark{ height:44px; width:auto; flex:none; }
.footer-links{ list-style:none; display:flex; gap:1.5rem; margin:0; padding:0; flex-wrap:wrap; justify-content:center; }
.footer-links a{ font-family:var(--font-mono); font-size:0.75rem; letter-spacing:0.06em; text-transform:uppercase; }
.footer-links a:hover{ color:var(--orange); }
.footer-meta{ font-family:var(--font-mono); font-size:0.72rem; color:rgba(250,248,244,0.55); }

/* =========================================================
   Back to top
   ========================================================= */
#backToTop{
  position:fixed; bottom:1.75rem; right:1.75rem; z-index:900;
  width:44px; height:44px; border:1px solid var(--line); background:var(--paper); color:var(--ink);
  display:flex; align-items:center; justify-content:center; font-size:1rem;
  opacity:0; visibility:hidden; transform:translateY(8px);
  transition:opacity .3s ease, transform .3s ease, visibility .3s ease;
}
#backToTop.show{ opacity:1; visibility:visible; transform:translateY(0); }
#backToTop:hover{ background:var(--orange); color:var(--paper); border-color:var(--orange); }

/* =========================================================
   Project detail page
   ========================================================= */
.back-link{
  display:inline-flex; align-items:center; gap:0.5rem; font-family:var(--font-mono); font-size:0.78rem;
  letter-spacing:0.06em; text-transform:uppercase; color:var(--muted); margin-bottom:2rem; transition:color .2s ease;
}
.back-link:hover{ color:var(--green-dark); }

.pd-location{ color:var(--muted); font-family:var(--font-mono); font-size:0.85rem; letter-spacing:0.04em; margin-bottom:2.5rem; }

.pd-hero{ border-radius:16px; overflow:hidden; margin-bottom:2.5rem; box-shadow:0 20px 45px rgba(27,27,24,0.15); }
.pd-hero img{ width:100%; height:auto; filter:grayscale(15%) sepia(6%) saturate(115%); }

.pd-description{ font-size:1.05rem; max-width:70ch; margin-bottom:3rem; }

.pd-gallery{ display:grid; grid-template-columns:1fr; gap:1.25rem; }
@media (min-width:576px){ .pd-gallery{ grid-template-columns:repeat(2, 1fr); } }
.pd-gallery img{
  width:100%; height:100%; border-radius:12px; aspect-ratio:4/3; object-fit:cover;
  filter:grayscale(15%) sepia(6%) saturate(115%);
}

.pd-not-found{ padding:3rem 0; text-align:center; }

/* =========================================================
   LinkedIn embed (About)
   ========================================================= */
.linkedin-embed-section{ background:var(--stone); }
.linkedin-placeholder{
  max-width:32rem; margin:0 auto; text-align:center; border:1px solid var(--line); background:var(--paper);
  padding:3rem 2rem;
}
.linkedin-placeholder i{ font-size:2.5rem; color:#0a66c2; margin-bottom:1rem; display:block; }
.linkedin-placeholder p{ color:var(--muted); margin-bottom:1.5rem; }
.linkedin-embed-wrap iframe{ width:100%; border:none; display:block; }

/* =========================================================
   Google reviews (About)
   ========================================================= */
.google-rating{
  display:flex; align-items:center; gap:2rem; flex-wrap:wrap; border:1px solid var(--line); padding:2.5rem;
}
.google-rating > i{ font-size:2.75rem; color:#4285F4; }
.google-rating .rating-figure{ display:flex; align-items:baseline; gap:0.3rem; }
.google-rating .rating-figure strong{ font-family:var(--font-display); font-size:2.5rem; color:var(--orange-dark); }
.google-rating .rating-figure span{ color:var(--muted); font-size:1.1rem; }
.google-rating .stars{ color:var(--orange); letter-spacing:0.08em; margin:0.3rem 0; }
.google-rating .rating-note{ color:var(--muted); font-size:0.85rem; margin:0; }
.google-rating .rating-copy{ flex:1; min-width:200px; }
@media (max-width:575px){ .google-rating{ flex-direction:column; text-align:center; } }
