:root {
  --canvas: #0f172a;
  --surface: #1e293b;
  --ink: #e2e8f0;
  --muted: #94a3b8;
  --muted2: #cbd5e1;
  --line: rgba(255,255,255,.1);
  --line-strong: rgba(255,255,255,.2);
  --accent: #f97316;
  --nav-bg: rgba(15,23,42,.9);
  --footer-bg: #0b1220;
  --bg2: #0c1424;
  --teal: #128C7E;
  --font-display: 'Outfit', sans-serif;
  --accent-deep: #ea580c;
  --teal-hover: #0e7367;
  --white: #ffffff;
  --footer-copy: #64748b;
  --success: #22c55e;
  --error: #ef4444;
  --telegram: #229ED9;
  --signal: #3A76F0;
}

h1, h2, h3, .sec-title, .page-title, .brand {
  font-family: var(--font-display);
}

.page-title {
  color: var(--accent-deep);
  font-size: 3rem;
  margin-bottom: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.sec-title {
  font-weight: 700;
  font-size: 30px;
  color: var(--accent-deep);
  margin: 8px 0 6px;
}

.sec-sub {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 28px;
}

/* hero */
.hero {
  position: relative;
  min-height: 74vh;
  display: flex;
  align-items: center;
  background: url('../Graphics/no-smoke-hero.jpg') center right / cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: transparent;
}

.hero .wrap {
  position: relative;
  z-index: 2;
  padding: 48px 28px;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.hero-panel {
  position: relative;
  z-index: 0;
  max-width: 560px;
  text-align: center;
  padding: 14px 48px 34px;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(15,23,42,.83);
  border-radius: 44px;
  filter: blur(24px);
}

.brand {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 15px;
  color: var(--accent);
  text-shadow: 0 2px 4px rgba(0,0,0,.7);
}

.hero h1 {
  font-weight: 900;
  font-size: clamp(32px, 5.2vw, 52px);
  line-height: 1.1;
  margin: 18px 0 14px;
  text-shadow: 0 4px 10px rgba(0,0,0,.6);
  max-width: 680px;
  text-align: center;
}

.cred {
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
  text-shadow: 0 2px 6px rgba(0,0,0,.7);
}

.hero .cred {
  text-align: center;
}

.lead {
  font-size: 16.5px;
  color: var(--ink);
  max-width: 560px;
  margin-bottom: 30px;
  text-shadow: 0 4px 12px rgba(0,0,0,.9);
}

.hero .lead {
  text-align: center;
  max-width: 50ch;
  margin: 0 auto 24px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero .cta-row {
  justify-content: center;
}

.btn-ghost {
  background: var(--accent);
  color: var(--white);
  border: 1px solid var(--white);
  border-radius: var(--radius);
  padding: 12px 22px;
  font-weight: 500;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: #ea580c;
}

.btn-wa {
  border-color: var(--white);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.just-ask {
  font-size: 13.5px;
  color: var(--muted2);
  margin-top: 18px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

/* proof */
.proof {
  background: var(--bg2);
  border-top: 1px solid var(--line);
  padding: 34px 28px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.proof-item { border: 1px solid rgba(249,115,22,0.45); border-radius: var(--radius); padding: 22px 20px; }

.proof-item h4 {
  font-weight: 700;
  font-size: 16px;
  color: var(--accent);
  margin-bottom: 6px;
}

.proof-item p {
  font-size: 14px;
  color: var(--muted2);
  line-height: 1.5;
}

/* before/after */
.work {
  border-top: 1px solid var(--line);
  padding: 54px 28px;
}

.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.ba {
  position: relative;
}

.ba img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: block;
  background: var(--surface);
}

.ba .tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0,0,0,.6);
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 6px 14px;
  border-radius: 4px;
}

.work-foot {
  margin-top: 22px;
}

.link-orange {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}

/* explore */
.explore {
  border-top: 1px solid var(--line);
  padding: 54px 28px;
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.nav-card {
  flex: 0 0 calc(25% - 11px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color .2s, transform .2s;
  text-align: center;
}

.nav-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.nav-card h3 {
  font-weight: 700;
  font-size: 17px;
  color: var(--accent);
  margin: 0 0 4px;
}

.nav-card span {
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 900px) { .nav-card { flex-basis: calc(50% - 7px); } }
@media (max-width: 520px) { .nav-card { flex-basis: 100%; } }



/* inner pages */
/* about */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: stretch; }
.about-media { position: relative; overflow: hidden; border-radius: 8px; border: 1px solid var(--line); }
.about-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.about-text { display: flex; flex-direction: column; justify-content: center; }
.about-text p { font-size: 1.05rem; line-height: 1.6; margin-bottom: 1rem; color: var(--muted2); }
@media (max-width: 768px) {
  .hero { background-position: center top; }
  .hero::before { background: transparent; }
  .hero .wrap { justify-content: center; }
  .hero-panel { max-width: none; width: 100%; padding: 12px 22px 28px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { position: static; }
  .about-image { position: static; width: 100%; height: auto; }
  .ba-grid { grid-template-columns: 1fr; }   /* stack the home Before/After */
  .ba img { height: auto; }                  /* show the full landscape frame instead of the 300px portrait crop */
  .project-gallery img { max-height: none; height: auto; } /* drop the height cap on mobile so Projects photos never crop */
}

/* projects */
.project-section { margin-bottom: 6rem; }
.project-section h2 { color: var(--accent-deep); font-size: 2.5rem; margin-bottom: 1rem; }
.project-section p { font-size: 1.1rem; color: var(--muted2); margin-bottom: 2rem; line-height: 1.6; }
.image-caption { font-size: 1.05rem; color: var(--ink); margin-bottom: 0.5rem; font-style: italic; text-align: center; width: 100%; }
.project-gallery { display: flex; flex-direction: column; gap: 2rem; padding-bottom: 1rem; width: 100%; }
.project-gallery img { width: 100%; max-height: 520px; border-radius: 8px; object-fit: cover; border: 1px solid var(--line); display: block; }
.image-container { position: relative; width: 100%; }
.overlay-caption { position: absolute; top: 1rem; left: 1rem; background: rgba(0, 0, 0, 0.6); padding: 0.5rem 1rem; border-radius: 4px; font-size: 1.5rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; backdrop-filter: blur(4px); box-shadow: 0 4px 6px rgba(0,0,0,0.3); z-index: 10; color: var(--white); }
.grouped-item { display: flex; flex-direction: column; gap: 0.5rem; }

/* testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; align-items: stretch; }
@media (max-width: 768px) { .testimonials-grid { grid-template-columns: 1fr; } }
.testimonial { background: rgba(255,255,255,0.03); padding: 2rem; border-radius: 8px; border: 1px solid rgba(249,115,22,0.45); margin-bottom: 0; display: flex; flex-direction: column; }
.testimonial p { font-size: 1.1rem; line-height: 1.7; color: var(--white); font-style: italic; }
.testimonial h4 { margin-top: auto; padding-top: 1rem; color: var(--muted); font-size: 1rem; text-align: right; }

/* faq */
.faq-item { margin-bottom: 2rem; background: rgba(255,255,255,0.03); padding: 1.5rem; border-radius: 8px; border: 1px solid rgba(249,115,22,0.45); }
.faq-item h3 { color: var(--ink); font-size: 1.3rem; margin-bottom: 0.75rem; }
.faq-item p { font-size: 1.05rem; line-height: 1.7; color: var(--muted2); margin-bottom: 0; }
.faq-intro { margin-bottom: 2rem; font-size: 1.2rem; text-align: center; color: var(--muted2); }
.faq-outro { margin-top: 3rem; text-align: center; color: var(--muted2); }
.faq-link { color: var(--accent-deep); text-decoration: none; }

/* contact hero */
.contact-hero { text-align: center; padding: 56px 0 42px; border-bottom: 1px solid var(--line); }
.contact-hero h1 { font-size: clamp(32px,5vw,48px); font-weight: 900; color: var(--accent-deep); margin: 10px 0 12px; letter-spacing: -.01em; }
.contact-hero .sub { font-size: 17px; color: var(--muted2); max-width: 540px; margin: 0 auto 10px; line-height: 1.6; }
.contact-hero .cred { font-size: 14px; color: var(--accent); font-weight: 600; margin-bottom: 26px; text-shadow: none; }
.contact-hero .reply-note { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* contact alt */
.alt { padding: 46px 0; }
.alt-head { text-align: center; margin-bottom: 24px; }
.alt-head h2 { font-size: 22px; color: var(--white); font-weight: 700; }
.alt-head p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.form-card { max-width: 560px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.form-group { margin-bottom: 16px; display: flex; flex-direction: column; }
.form-group label { font-size: 13.5px; color: var(--muted2); font-weight: 500; margin-bottom: 6px; }
.form-group input, .form-group textarea { padding: 13px 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: rgba(0,0,0,.25); color: var(--white); font-family: inherit; font-size: 15px; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-group textarea { min-height: 120px; resize: vertical; }
.btn-submit { width: 100%; background: var(--accent); color: var(--white); border: none; padding: 14px; font-size: 16px; font-weight: 600; border-radius: 10px; cursor: pointer; transition: background .2s; }
.btn-submit:hover { background: var(--accent-deep); }
.form-message { margin-top: 1rem; font-weight: 500; text-align: center; }
.form-message.success { color: var(--success); } 
.form-message.error { color: var(--error); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* channels */
.channels { text-align: center; padding: 6px 0 52px; }
.channels .lbl { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.chips { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 11px 18px; color: var(--muted2); font-size: 14px; font-weight: 500; transition: border-color .2s, color .2s; text-decoration: none; }
.chip:hover { border-color: var(--accent); color: var(--white); }
.chip i { font-size: 18px; color: var(--accent); }
.chip.telegram i { color: var(--telegram); }
.chip.signal img { width: 18px; height: 18px; display: inline-block; vertical-align: middle; }

/* contact cta */
.contact-cta { text-align: center; padding: 60px 28px; border-top: 1px solid var(--line); margin-top: 40px; }
.contact-cta h2 { font-size: 32px; color: var(--accent-deep); margin: 12px 0 16px; }
.contact-cta p { font-size: 16px; color: var(--muted2); max-width: 540px; margin: 0 auto 24px; line-height: 1.6; }

.page-wrap { padding: 48px 28px 24px; }
.page-wrap-narrow { max-width: 860px; margin-left: auto; margin-right: auto; }

/* ---------- Services ---------- */
body.svc-page {
  background:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px) 0 0/32px 32px,
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px) 0 0/32px 32px,
    var(--canvas);
}
.svc-page .head { text-align: center; margin-bottom: 8px; }
.svc-page .kicker { font-family: var(--font-display); font-size: 12.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.svc-page h1 { font-family: var(--font-display); font-weight: 900; font-size: 48px; line-height: 1.04; margin: 10px 0 0; color: var(--accent); text-align: center; }
.svc-page .rule { width: 54px; height: 3px; background: var(--accent); border-radius: 2px; margin: 18px auto 20px; }
.svc-page .lede { font-size: 19px; color: var(--ink); max-width: 72ch; margin: 0 auto; text-align: center; }
.cluster { margin-top: 46px; }
.cluster > .eyebrow { display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 14px; color: var(--white); margin-bottom: 16px; }
.cluster > .eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--accent); border-radius: 2px; }
.cluster > .eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.svc { background: linear-gradient(180deg, var(--surface), var(--bg2)); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 12px; padding: 20px 22px; display: flex; gap: 14px; box-shadow: 0 6px 18px rgba(0,0,0,.22); transition: transform .15s ease; }
.svc:hover { transform: translateY(-3px); }
.svc-page .ico { width: 42px; height: 42px; border-radius: 11px; background: rgba(234,88,12,.14); color: var(--accent); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.svc-page .ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin: 2px 0 6px; color: var(--white); }
.svc p { margin: 0; color: var(--muted2); font-size: 14.5px; }
@media(max-width: 720px) { .cards { grid-template-columns: 1fr; } .svc-page h1 { font-size: 36px; } }

/* ---------- How I Work (framed) — scoped to .chiw / body.chiw-body ---------- */
body.chiw-body { background: linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px) 0 0/32px 32px, linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px) 0 0/32px 32px, var(--canvas); }
.chiw-prog { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--accent-deep), var(--accent)); z-index: 30; transition: width .1s linear; }
.chiw { max-width: 900px; margin: 0 auto; padding: 60px 28px; }
.chiw h1 { font-family: var(--font-display); font-weight: 900; font-size: 56px; line-height: 1.02; margin: 0; color: var(--accent-deep); text-align: center; }
.chiw-rule { width: 0; height: 3px; background: var(--accent-deep); border-radius: 2px; margin: 20px auto 30px; transition: width 1s cubic-bezier(.2,.7,.2,1) .2s; }
.chiw-rule.in { width: 64px; }
.chiw-lede { font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1.4; text-align: center; max-width: 720px; margin: 0 auto 22px; color: var(--white); }
.chiw-intro2 { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; max-width: 800px; margin: 6px auto 0; text-align: left; }
.chiw-col { display: flex; flex-direction: column; }
.chiw-col::before { content: ""; display: block; width: 100%; height: 2px; background: var(--accent-deep); border-radius: 2px; margin-bottom: 16px; }
.chiw-col::after { content: ""; display: block; width: 100%; height: 2px; background: var(--accent-deep); border-radius: 2px; margin-top: auto; }
.chiw-col p { margin: 0 0 16px; font-size: 16px; color: var(--muted2); }
.chiw-panel { position: relative; background: rgba(19,31,54,.72); border: 2px solid rgba(234,88,12,.6); border-radius: 16px; padding: 30px 32px; margin-top: 26px; overflow: hidden; transition: border-color .3s, transform .3s; }
.chiw-panel:hover { border-color: rgba(234,88,12,.9); }
.chiw-plabel { font-family: var(--font-display); font-weight: 900; font-size: 26px; color: var(--white); margin: 0 0 6px; }
.chiw-pdiv { height: 1px; background: var(--line); margin: 14px 0 6px; }
.chiw-row { display: flex; gap: 16px; padding: 16px 8px; border-radius: 10px; transition: background .25s, transform .25s; }
.chiw-row:hover { background: rgba(255,255,255,.03); transform: translateX(4px); }
.chiw-mk { flex: 0 0 auto; width: 14px; height: 14px; margin-top: 5px; border: 2px solid var(--accent-deep); border-radius: 3px; transition: transform .3s, background .3s; }
.chiw-row:hover .chiw-mk { background: var(--accent-deep); transform: rotate(45deg); }
.chiw-row h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin: 0 0 6px; color: var(--white); }
.chiw-row p { margin: 0; color: var(--muted2); font-size: 15px; }
.chiw-row em { color: var(--accent); font-style: italic; }
.chiw-row a { color: var(--accent); font-weight: 600; text-decoration: none; position: relative; }
.chiw-row a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.chiw-row a:hover::after { transform: scaleX(1); }
.chiw-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.chiw-reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .chiw-reveal { opacity: 1; transform: none; transition: none; } .chiw-rule { transition: none; } }
@media (max-width: 720px) { .chiw h1 { font-size: 40px; } .chiw-panel { padding: 24px 20px; } .chiw-intro2 { grid-template-columns: 1fr; gap: 22px; } }
