/* ============================================================
   JFWeb — main.css
   ============================================================
   TABLE OF CONTENTS
   ─────────────────
   01. CSS Variables & Reset
   02. Base & Typography
   03. Utility Classes
   04. Buttons
   05. Navigation
   06. Hero Section
   07. Marquee Band
   08. Services Slider
   09. Process Section
   10. About + Contact Split
   11. Inner Page Layout (sidebar)
   12. Page Hero (inner pages)
   13. Breadcrumb
   14. Sidebar
   15. Footer
   16. Forms
   17. Blog
   18. Testimonials
   19. Reveal Animations
   20. Responsive
   ============================================================ */

/* ============================================================
   01. CSS VARIABLES & RESET
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --ink:       #1a1614;
  --paper:     #f5f0e8;
  --cream:     #ede7d9;
  --warm:      #e4dbc6;
  --accent:    #c94b14;
  --accent-dk: #a83c10;
  --navy:      #1e3a52;
  --navy-dk:   #162d40;
  --muted:     #8c7f6e;
  --line:      #d4ccba;
  --white:     #ffffff;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'DM Mono', monospace;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  12px;

  --nav-h:     68px;
  --max-w:     1260px;
  --pad-x:     4rem;
  --pad-y:     7rem;
  --pad-y-sm:  5rem;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: 0.4;
}

img  { max-width: 100%; height: auto; display: block; }
a    { color: inherit; }
ul   { list-style: none; }

/* ============================================================
   02. BASE & TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  line-height: 1;
}

p { line-height: 1.75; }

.display-font { font-family: var(--font-display); }
.mono-font    { font-family: var(--font-mono); }

/* Section eyebrow labels */
.s-eye {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: block;
}

/* Section titles */
.s-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  letter-spacing: 0.04em;
  line-height: 1;
}

/* Section header row */
.s-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 3.5rem;
}

.s-head-note {
  font-size: 0.83rem;
  color: var(--muted);
  max-width: 220px;
  text-align: right;
  line-height: 1.65;
  font-weight: 300;
}

/* Max width wrapper */
.s-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* Section padding */
.s-pad   { padding: var(--pad-y) var(--pad-x); }
.s-pad-y { padding-top: var(--pad-y); padding-bottom: var(--pad-y); }

/* ============================================================
   03. UTILITY CLASSES
   ============================================================ */
.text-accent  { color: var(--accent); }
.text-muted   { color: var(--muted); }
.text-white   { color: var(--white); }
.bg-paper     { background: var(--paper); }
.bg-cream     { background: var(--cream); }
.bg-ink       { background: var(--ink); }
.bg-navy      { background: var(--navy); }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ============================================================
   04. BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.88rem 2.1rem;
  border: 2px solid;
  transition: all 0.25s ease;
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}

.btn-fill {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-fill:hover {
  background: var(--accent-dk);
  border-color: var(--accent-dk);
}

.btn-dark {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-dark:hover {
  background: transparent;
  color: var(--ink);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--paper);
}

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-sm {
  font-size: 0.62rem;
  padding: 0.65rem 1.4rem;
  clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============================================================
   05. NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--pad-x);
  height: var(--nav-h);
  background: rgba(245,240,232,0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.site-nav.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.07);
}

/* Logo */
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.95rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  flex-shrink: 0;
}
.nav-logo-ac  { color: var(--accent); }
.nav-logo-tag {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-left: 0.3rem;
  text-transform: uppercase;
}

/* Nav links list */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-links > li { position: relative; }

/* Nav link base style */
.nav-links > li > a,
.nav-dd-trigger {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  padding: 0.45rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-dd-trigger:hover,
.nav-links > li > a.active,
.nav-dd-trigger.active { color: var(--accent); }

/* Active indicator */
.nav-links > li > a.active {
  position: relative;
}
.nav-links > li > a.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 1rem; right: 1rem;
  height: 2px;
  background: var(--accent);
}

/* Dropdown arrow */
.nav-dd-arrow {
  flex-shrink: 0;
  transition: transform 0.25s;
}
.nav-has-dd:hover .nav-dd-arrow,
.nav-has-dd.open  .nav-dd-arrow {
  transform: rotate(180deg);
}

/* Dropdown panel */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  min-width: 240px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s;
  z-index: 900;
  box-shadow: 0 8px 32px rgba(0,0,0,0.09);
}
.nav-has-dd:hover .nav-dropdown,
.nav-has-dd.open  .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Dropdown links */
.nav-dropdown a {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  padding: 0.72rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border-bottom: 1px solid var(--line);
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown a:last-child { border-bottom: none; }
.nav-dropdown a:hover,
.nav-dropdown a.nav-dd-active { background: var(--cream); color: var(--accent); }
.nav-dropdown .nav-dd-all { color: var(--accent); font-weight: 500; }
.nav-dd-ico { font-size: 0.9rem; flex-shrink: 0; }

/* CTA button */
.nav-cta {
  background: var(--ink) !important;
  color: var(--paper) !important;
  padding: 0.5rem 1.4rem !important;
  margin-left: 0.5rem;
  transition: background 0.2s !important;
  letter-spacing: 0.14em;
}
.nav-cta:hover {
  background: var(--accent) !important;
  color: #fff !important;
}

/* Hamburger button */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 900;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   06. HERO SECTION
   ============================================================ */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 57% 43%;
  padding-top: var(--nav-h);
}

/* Left column */
.hero-l {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 3rem 5rem var(--pad-x);
  animation: riseUp 0.85s ease both;
}

@keyframes riseUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
  animation: riseUp 0.85s 0.06s ease both;
}
.hero-eyebrow::before {
  content: '';
  width: 2.5rem;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.hero-h1 {
  font-family: var(--font-body);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 1.2rem;
  color: var(--ink);
  animation: riseUp 0.85s 0.11s ease both;
}

.hero-lead {
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 420px;
  margin-bottom: 1.2rem;
  font-weight: 300;
  animation: riseUp 0.85s 0.16s ease both;
}

/* Flag pills */
.hero-flags {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  animation: riseUp 0.85s 0.2s ease both;
}
.flag-pill {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--line);
  padding: 0.3rem 0.75rem;
  background: rgba(255,255,255,0.5);
}
.flag-sep { color: var(--line); font-size: 0.7rem; }

.hero-btns {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  animation: riseUp 0.85s 0.24s ease both;
}

/* Right column — dark panel */
.hero-r {
  background: var(--ink);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 1s 0.3s ease both;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.hero-bg-word {
  position: absolute;
  font-family: var(--font-display);
  font-size: 22vw;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  right: -1vw;
  bottom: -1rem;
  letter-spacing: -0.02em;
}

/* Stats card */
.hero-card {
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 2.4rem 2.2rem;
  width: 320px;
  background: rgba(255,255,255,0.045);
}
.hero-card-lbl {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.6rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.hero-stat {
  padding: 1rem;
  border-right: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.hero-stat:nth-child(2n) { border-right: none; }
.hero-stat:nth-child(3),
.hero-stat:nth-child(4)  { border-bottom: none; }
.hero-stat-n {
  font-family: var(--font-display);
  font-size: 3rem;
  color: #fff;
  line-height: 1;
  display: block;
}
.hero-stat-n em { color: var(--accent); font-style: normal; }
.hero-stat-l {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-top: 0.25rem;
  display: block;
}
.hero-tags {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.hero-tag {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  letter-spacing: 0.1em;
  padding: 0.26rem 0.65rem;
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.42);
  text-transform: uppercase;
}

/* ============================================================
   07. MARQUEE BAND
   ============================================================ */
.marquee-band {
  background: var(--accent);
  padding: 0.82rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  animation: marquee 30s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.13em;
  color: #fff;
  padding: 0 2rem;
}
.marquee-dot {
  color: rgba(255,255,255,0.4);
  font-size: 0.45rem;
  vertical-align: middle;
}

/* ============================================================
   08. SERVICES SLIDER
   ============================================================ */
#services {
  padding: var(--pad-y) 0;
  background: var(--paper);
}
.svc-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.svc-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}
.svc-top-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
}
.svc-note {
  font-size: 0.82rem;
  color: var(--muted);
  max-width: 200px;
  text-align: right;
  line-height: 1.6;
  font-weight: 300;
}
.view-all-link {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s;
}
.view-all-link:hover { gap: 0.8rem; }

/* Slider controls bar */
.slider-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.slider-info {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  flex: 1;
}
.slider-info strong { color: var(--ink); }

/* Dots */
.slider-dots {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}
.slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: all 0.3s;
  flex-shrink: 0;
}
.slider-dot.active {
  background: var(--accent);
  width: 22px;
  border-radius: 4px;
}

/* Arrow buttons */
.slider-arrows { display: flex; gap: 0.4rem; }
.slider-arr {
  width: 40px;
  height: 40px;
  border: 2px solid var(--line);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s;
  color: var(--ink);
  font-size: 1rem;
  flex-shrink: 0;
}
.slider-arr:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(201,75,20,0.04);
}
.slider-arr:disabled { opacity: 0.28; cursor: not-allowed; }

/* Slider viewport + track */
.slider-viewport {
  overflow: hidden;
  width: 100%;
}
.slider-track {
  display: flex;
  will-change: transform;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Service cards */
.svc-card {
  flex: 0 0 25%;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-right: none;
  padding: 2.2rem 1.8rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.svc-card.last-in-view { border-right: 1px solid var(--line); }
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.4s ease;
}
.svc-card:hover { background: var(--cream); }
.svc-card:hover::before { width: 100%; }
.svc-card-ico  { font-size: 2rem; margin-bottom: 1rem; display: block; line-height: 1; }
.svc-card-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  margin-bottom: 0.65rem;
  color: var(--ink);
}
.svc-card-desc {
  font-size: 0.83rem;
  line-height: 1.68;
  color: #6a5f52;
  font-weight: 300;
  flex: 1;
  margin-bottom: 1.1rem;
}
.svc-card-link {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s;
  margin-top: auto;
}
.svc-card:hover .svc-card-link { gap: 0.65rem; }

/* ============================================================
   09. PROCESS SECTION
   ============================================================ */
#process {
  background: var(--cream);
  padding: var(--pad-y) var(--pad-x);
}
.proc-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
}
.proc-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 3rem;
}
.proc-note {
  font-size: 0.82rem;
  color: var(--muted);
  max-width: 240px;
  text-align: right;
  line-height: 1.6;
  font-weight: 300;
}
.proc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.proc-step {
  background: var(--cream);
  padding: 2.2rem 1.8rem;
  position: relative;
  transition: background 0.3s;
}
.proc-step::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.4s;
}
.proc-step:hover { background: var(--warm); }
.proc-step:hover::before { width: 100%; }
.proc-step-num {
  font-family: var(--font-display);
  font-size: 4.5rem;
  color: rgba(212,204,186,0.85);
  line-height: 1;
  margin-bottom: 0.8rem;
  display: block;
}
.proc-step-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.55rem;
}
.proc-step-desc {
  font-size: 0.83rem;
  line-height: 1.7;
  color: #6a5f52;
  font-weight: 300;
}

/* ============================================================
   10. ABOUT + CONTACT SPLIT
   ============================================================ */
#about-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* About left (dark navy) */
.about-l {
  background: var(--navy);
  padding: 6rem var(--pad-x);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-l::before {
  content: 'JF';
  position: absolute;
  font-family: var(--font-display);
  font-size: 30vw;
  color: rgba(255,255,255,0.025);
  right: -4vw;
  bottom: -3rem;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.about-inner      { position: relative; z-index: 2; }
.about-eye        { color: rgba(201,75,20,0.85); }
.about-title      { color: #fff; margin-bottom: 1.4rem; }
.about-body {
  color: rgba(255,255,255,0.55);
  font-size: 0.92rem;
  line-height: 1.82;
  font-weight: 300;
  margin-bottom: 1.8rem;
}
.about-body strong { color: #fff; font-weight: 500; }
.about-body p + p  { margin-top: 0.8rem; }

/* Feature list */
.feats { display: flex; flex-direction: column; gap: 3px; }
.feat {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  transition: background 0.3s;
}
.feat:hover { background: rgba(255,255,255,0.08); }
.feat-ico   { font-size: 1.1rem; flex-shrink: 0; margin-top: 0.1rem; }
.feat-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  color: #fff;
  margin-bottom: 0.2rem;
}
.feat-desc {
  font-size: 0.79rem;
  color: rgba(255,255,255,0.44);
  line-height: 1.58;
  font-weight: 300;
}

/* Contact right */
.contact-r {
  background: var(--paper);
  padding: 6rem var(--pad-x);
  display: flex;
  align-items: center;
}
.contact-inner   { max-width: 480px; width: 100%; }
.contact-eye     { color: var(--accent); }
.contact-title {
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.4rem;
  color: var(--ink);
}
.contact-sub {
  font-size: 0.86rem;
  color: var(--muted);
  margin-bottom: 2rem;
  font-weight: 300;
  line-height: 1.65;
}

/* ============================================================
   11. INNER PAGE LAYOUT
   ============================================================ */
.inner-layout {
  display: flex;
  gap: 4rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem var(--pad-x) 7rem;
  align-items: flex-start;
}
.inner-content { flex: 1; min-width: 0; }

/* Content sections within inner pages */
.content-section { margin-bottom: 4rem; }
.content-section:last-child { margin-bottom: 0; }

/* Feature grid (2-col) for service pages */
.feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.feat-card {
  background: var(--paper);
  padding: 1.6rem 1.5rem;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  transition: background 0.3s;
}
.feat-card:hover { background: var(--cream); }
.feat-card-ico   { font-size: 1.4rem; flex-shrink: 0; margin-top: 0.05rem; }
.feat-card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}
.feat-card-desc {
  font-size: 0.82rem;
  line-height: 1.65;
  color: #6a5f52;
  font-weight: 300;
}

/* Info note box */
.info-note {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 1.6rem 1.8rem;
  margin-top: 2rem;
}
.info-note-ico { font-size: 1.4rem; flex-shrink: 0; }
.info-note p   { font-size: 0.87rem; color: #5a5550; line-height: 1.72; font-weight: 300; }
.info-note strong { color: var(--ink); font-weight: 500; }

/* ============================================================
   12. PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--ink);
  padding: 9rem var(--pad-x) 5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: attr(data-word);
  position: absolute;
  font-family: var(--font-display);
  font-size: 26vw;
  color: rgba(255,255,255,0.028);
  right: -2vw;
  bottom: -3rem;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.page-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 6rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: 1.4rem;
}
.page-hero h1 span { color: var(--accent); }
.page-hero .lead {
  font-size: 1rem;
  line-height: 1.78;
  color: rgba(255,255,255,0.58);
  max-width: 560px;
  font-weight: 300;
}

/* ============================================================
   13. BREADCRUMB
   ============================================================ */
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.breadcrumb a   { color: rgba(201,75,20,0.8); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.bc-sep { opacity: 0.4; }

/* ============================================================
   14. SIDEBAR
   ============================================================ */
.sidebar {
  width: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

/* Widget base */
.sb-widget {
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
}
.sb-widget + .sb-widget { margin-top: 1px; }

/* Widget header */
.sb-widget-head {
  padding: 0.85rem 1.2rem;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.sb-tag {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Services list */
.sb-svc-list { }
.sb-svc-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.72rem 1.2rem;
  text-decoration: none;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  transition: background 0.2s, color 0.2s;
  font-size: 0.83rem;
}
.sb-svc-list li:last-child .sb-svc-link { border-bottom: none; }
.sb-svc-link:hover                      { background: var(--cream); color: var(--accent); }
.sb-svc-ico  { font-size: 1rem; flex-shrink: 0; }
.sb-svc-name { flex: 1; }
.sb-svc-arr  { font-size: 0.75rem; opacity: 0; transition: opacity 0.2s; }
.sb-svc-link:hover .sb-svc-arr { opacity: 1; }
.sb-svc-all  { color: var(--accent); font-weight: 500; }

/* Hosting widget */
.sb-hosting-body   { padding: 1.4rem 1.2rem; }
.sb-hosting-ico    { font-size: 2rem; display: block; margin-bottom: 0.8rem; }
.sb-hosting-text   { font-size: 0.83rem; line-height: 1.65; color: #5a5550; font-weight: 300; margin-bottom: 0.6rem; }
.sb-hosting-text strong { color: var(--ink); font-weight: 500; }
.sb-hosting-sub    { font-size: 0.78rem; line-height: 1.6; color: var(--muted); font-weight: 300; margin-bottom: 1.1rem; }
.sb-hosting-link   {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s;
}
.sb-hosting-link:hover { gap: 0.6rem; }

/* Testimonial widget */
.sb-testimonial-body { padding: 1.4rem 1.2rem; }
.sb-quote {
  font-size: 0.85rem;
  line-height: 1.7;
  color: #5a5550;
  font-weight: 300;
  font-style: italic;
  margin-bottom: 0.8rem;
  border-left: 2px solid var(--accent);
  padding-left: 0.9rem;
}
.sb-cite       { font-size: 0.78rem; color: var(--muted); display: block; }
.sb-cite strong{ color: var(--ink); font-weight: 500; display: block; }

/* CTA widget */
.sb-widget-cta {
  background: var(--ink);
  padding: 1.8rem 1.4rem;
  border-color: var(--ink);
}
.sb-cta-text   { font-size: 0.84rem; color: rgba(255,255,255,0.6); line-height: 1.65; font-weight: 300; margin-bottom: 1.2rem; }
.sb-cta-btn    { width: 100%; text-align: center; display: block; clip-path: none; }

/* Contact widget */
.sb-email {
  display: block;
  padding: 0.9rem 1.2rem;
  font-size: 0.82rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s;
  word-break: break-all;
}
.sb-email:hover { color: var(--accent); }
.sb-response {
  padding: 0.55rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.sb-locations {
  padding: 0.55rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ============================================================
   15. FOOTER
   ============================================================ */
.site-footer { background: var(--ink); }

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4.5rem var(--pad-x) 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* Brand column */
.footer-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.05em;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.9rem;
}
.footer-logo span { color: var(--accent); }
.footer-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.36);
  line-height: 1.72;
  font-weight: 300;
  max-width: 240px;
  margin-bottom: 0.9rem;
}
.footer-location {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 0.9rem;
}

/* Social links */
.footer-socials { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.footer-socials a {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.28rem 0.7rem;
  transition: all 0.2s;
}
.footer-socials a:hover { color: var(--accent); border-color: var(--accent); }

/* Footer columns */
.footer-col-head {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.26);
  margin-bottom: 1.1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-weight: 400;
}
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.38);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--accent); }
.footer-all-services { color: var(--accent) !important; }

/* Footer bar */
.footer-bar {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.6rem var(--pad-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy,
.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
}

/* ============================================================
   16. FORMS
   ============================================================ */
.fg { margin-bottom: 1.2rem; }
.fg label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 0.4rem;
}
.fg input,
.fg textarea,
.fg select {
  width: 100%;
  padding: 0.8rem 0.95rem;
  background: #fff;
  border: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
  border-radius: 0;
}
.fg input:focus,
.fg textarea:focus,
.fg select:focus { border-color: var(--accent); }
.fg textarea { resize: vertical; min-height: 110px; }
.fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }

/* Form submit button */
.form-submit {
  width: 100%;
  padding: 0.92rem;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 2px solid var(--accent);
  cursor: pointer;
  transition: all 0.25s;
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.form-submit:hover { background: var(--accent-dk); border-color: var(--accent-dk); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* Form note */
.form-note {
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 0.8rem;
  font-weight: 300;
}

/* Form error */
.form-error {
  font-size: 0.78rem;
  color: #c0392b;
  margin-top: 0.5rem;
  padding: 0.6rem 0.8rem;
  background: rgba(192,57,43,0.06);
  border-left: 2px solid #c0392b;
}

/* Success message */
.form-success {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(201,75,20,0.3);
  background: rgba(201,75,20,0.04);
}

/* Char counter */
.char-counter {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.char-counter.warn { color: #e2a000; }
.char-counter.over { color: #c0392b; }

/* ============================================================
   17. BLOG
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.blog-card {
  background: var(--paper);
  padding: 2rem;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: background 0.3s;
  position: relative;
}
.blog-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.4s;
}
.blog-card:hover             { background: var(--cream); }
.blog-card:hover::before     { width: 100%; }
.blog-card-cat {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.7rem;
}
.blog-card-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.35;
  margin-bottom: 0.7rem;
  color: var(--ink);
}
.blog-card-excerpt {
  font-size: 0.83rem;
  color: #6a5f52;
  line-height: 1.68;
  font-weight: 300;
  flex: 1;
  margin-bottom: 1rem;
}
.blog-card-meta {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: auto;
}

/* ============================================================
   18. TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.testimonial-card {
  background: var(--paper);
  padding: 2rem;
  transition: background 0.3s;
}
.testimonial-card:hover { background: var(--cream); }
.testimonial-stars {
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.9rem;
}
.testimonial-quote {
  font-size: 0.9rem;
  line-height: 1.72;
  color: #5a5550;
  font-weight: 300;
  font-style: italic;
  margin-bottom: 1.2rem;
  border-left: 2px solid var(--accent);
  padding-left: 1rem;
}
.testimonial-author strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.15rem;
}
.testimonial-author span {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   19. REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for grid children */
.reveal-grid > *:nth-child(1) { transition-delay: 0s; }
.reveal-grid > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-grid > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-grid > *:nth-child(4) { transition-delay: 0.24s; }

/* ============================================================
   20. RESPONSIVE
   ============================================================ */

/* Large screens */
@media (max-width: 1200px) {
  :root { --pad-x: 3rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

/* Tablet */
@media (max-width: 1024px) {
  :root { --pad-x: 2rem; }
  .proc-grid { grid-template-columns: repeat(2,1fr); }
  .sidebar   { width: 240px; }
  .inner-layout { gap: 2.5rem; padding: 4rem var(--pad-x) 5rem; }
}

/* Mobile nav breakpoint */
@media (max-width: 900px) {
  .site-nav { padding: 0 1.5rem; }
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 2px solid var(--accent);
    padding: 0.5rem 0 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links > li > a,
  .nav-dd-trigger { padding: 0.75rem 2rem; width: 100%; text-align: left; }
  .nav-dropdown {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--line);
    min-width: auto;
    display: none;
  }
  .nav-has-dd.open .nav-dropdown { display: block; }
  .nav-dropdown a { padding-left: 3rem; }
  .nav-cta { margin: 0.5rem 2rem !important; justify-content: center; }

  /* Hero */
  #hero { grid-template-columns: 1fr; }
  .hero-r { min-height: 300px; }
  .hero-l { padding: 3rem 1.5rem; }

  /* Sections */
  #about-contact { grid-template-columns: 1fr; }
  .about-l, .contact-r { padding: 4rem 1.5rem; }
  #services  { padding: var(--pad-y-sm) 0; }
  .svc-wrap  { padding: 0 1.5rem; }
  #process   { padding: var(--pad-y-sm) 1.5rem; }
  .proc-head { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .proc-note { text-align: left; max-width: 100%; }
  .svc-top   { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
  .svc-top-right { align-items: flex-start; }
  .svc-note  { text-align: left; max-width: 100%; }

  /* Inner layout */
  .inner-layout { flex-direction: column; padding: 3rem 1.5rem 4rem; }
  .sidebar { width: 100%; position: static; }

  /* Blog + testimonials */
  .blog-grid, .testimonials-grid { grid-template-columns: 1fr; }
}

/* Small tablet */
@media (max-width: 768px) {
  .feat-grid  { grid-template-columns: 1fr; }
  .s-head     { flex-direction: column; align-items: flex-start; gap: 0.8rem; }
  .s-head-note { text-align: left; max-width: 100%; }
  .page-hero  { padding: 7rem 1.5rem 3.5rem; }
  .blog-grid, .testimonials-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile */
@media (max-width: 580px) {
  :root { --pad-x: 1.5rem; }
  .proc-grid { grid-template-columns: 1fr; }
  .fg-row    { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; padding: 3rem 1.5rem 2rem; }
  .footer-bar   { flex-direction: column; gap: 0.5rem; padding: 1.2rem 1.5rem; text-align: center; }
  .footer-tagline { display: none; }
  .hero-flags { gap: 0.4rem; }
  .blog-grid, .testimonials-grid { grid-template-columns: 1fr; }
}
