/* ==========================================================================
   Enhanceer — public site
   Palette is pulled straight from the mark: oxblood, a hotter crimson for
   emphasis, and a paper tone that is warm grey with a red cast rather than
   plain cream. The recurring device is the logo's sheared, offset bar stack.
   ========================================================================== */

:root {
  --oxblood: #6e0f1f;
  --oxblood-deep: #520a17;
  --crimson: #a5122c;
  --ink: #16110f;
  --ink-soft: #4a403d;
  --paper: #ece6e4;
  --paper-2: #f7f4f3;
  --sand: #d6c9c5;
  --gold: #dcae3c;
  --white: #fff;

  --shear: -14deg;
  --rhythm: clamp(4.5rem, 9vw, 8.5rem);
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --maxw: 1280px;

  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Inter Tight", "Segoe UI", Roboto, sans-serif;
}

/* --- reset ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-synthesis-weight: none;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 800; margin: 0; line-height: 0.98; letter-spacing: -0.028em; }
p { margin: 0 0 1rem; max-width: 66ch; }
::selection { background: var(--oxblood); color: #fff; }

:focus-visible {
  outline: 3px solid var(--crimson);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  html { scroll-behavior: auto; }
}

/* --- layout --------------------------------------------------------- */
.wrap { width: min(100% - (var(--gutter) * 2), var(--maxw)); margin-inline: auto; }
.band { padding-block: var(--rhythm); }
.band--tight { padding-block: clamp(3rem, 5vw, 4.5rem); }
.band--ink { background: var(--ink); color: var(--paper-2); }
.band--blood { background: var(--oxblood); color: #fff; }
.band--paper2 { background: var(--paper-2); }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: .75rem 1.25rem;
}
.skip:focus { left: 0; }

/* --- the mark: sheared bar stack ------------------------------------ */
.stack { display: grid; gap: 5px; width: 4.5rem; }
.stack i {
  display: block; height: 9px; background: currentColor;
  transform: skewX(var(--shear));
}
.stack i:nth-child(2) { margin-left: 26%; }
.stack i:nth-child(3) { margin-left: 10%; }
.stack--sm { width: 2.25rem; gap: 3px; }
.stack--sm i { height: 5px; }

/* --- header --------------------------------------------------------- */
.siteheader {
  position: sticky; top: 0; z-index: 90;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--sand);
}
.siteheader__bar {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 74px;
}
.brandmark {
  display: flex; align-items: center; gap: .7rem;
  text-decoration: none; color: var(--oxblood);
  margin-right: auto; padding: .4rem 0;
}
.brandmark img { width: 42px; height: 42px; object-fit: contain; }
.brandmark__name {
  font-family: var(--f-display); font-weight: 800; font-size: 1.35rem;
  letter-spacing: -0.03em; color: var(--oxblood); line-height: 1;
}
.brandmark__tag {
  display: block; font-family: var(--f-body); font-size: .68rem;
  letter-spacing: .04em; color: var(--ink-soft); font-weight: 500; margin-top: 3px;
}

.mainnav { display: flex; align-items: center; gap: .35rem; }
.mainnav a, .mainnav > .has-menu > button {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .55rem .8rem; text-decoration: none; border: 0; background: none;
  font-weight: 500; font-size: .97rem; color: var(--ink); cursor: pointer;
  border-radius: 2px;
}
.mainnav a:hover, .mainnav button:hover { color: var(--oxblood); }
.mainnav a.is-current { color: var(--oxblood); box-shadow: inset 0 -2px 0 var(--oxblood); }

.has-menu { position: relative; }
.megamenu {
  position: absolute; top: calc(100% + 12px); left: 50%; translate: -50% 0;
  width: min(94vw, 860px);
  background: var(--paper-2);
  border: 1px solid var(--sand);
  box-shadow: 0 26px 60px -30px rgba(22,17,15,.55);
  padding: 1.75rem;
  display: none; grid-template-columns: 1fr 1fr; gap: 1.75rem;
}
.has-menu[data-open="true"] .megamenu { display: grid; }
.megamenu h3 {
  font-size: .95rem; letter-spacing: 0; color: var(--oxblood);
  display: flex; align-items: center; gap: .55rem; margin-bottom: .9rem;
}
.megamenu ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 1.25rem; }
.megamenu li { break-inside: avoid; }
.megamenu li a {
  display: block; padding: .3rem 0; font-size: .92rem; color: var(--ink-soft);
  text-decoration: none;
}
.megamenu li a:hover { color: var(--oxblood); }
.megamenu__foot { grid-column: 1 / -1; border-top: 1px solid var(--sand); padding-top: 1rem; font-size: .88rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .8rem 1.5rem; font-weight: 600; font-size: .95rem;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  background: var(--oxblood); color: #fff;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { background: var(--oxblood-deep); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--light { background: #fff; color: var(--oxblood); }
.btn--light:hover { background: var(--paper); }
.btn--sm { padding: .55rem 1rem; font-size: .88rem; }

.burger { display: none; background: none; border: 1px solid var(--sand); padding: .6rem .7rem; cursor: pointer; }

/* --- hero ----------------------------------------------------------- */
.hero { padding-block: clamp(3rem, 7vw, 6.5rem) clamp(3rem, 6vw, 5rem); position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero__kicker {
  font-size: .95rem; color: var(--oxblood); font-weight: 600;
  display: flex; align-items: center; gap: .8rem; margin-bottom: 1.4rem;
}
.hero h1 {
  font-size: clamp(3rem, 9.5vw, 7.5rem);
  letter-spacing: -0.045em;
}
.hero h1 .line { display: block; }
.hero h1 .thin { font-weight: 400; }
.hero__lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-soft); margin-top: 1.6rem; max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.hero__lines { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 2rem; font-size: .95rem; }
.hero__lines b { display: block; font-family: var(--f-display); font-size: 1.25rem; color: var(--oxblood); }
.hero__lines span { color: var(--ink-soft); font-size: .85rem; }

/* one orchestrated entrance: the bar stack assembles on load */
.heroart { position: relative; color: var(--oxblood); }
.heroart .bar {
  height: clamp(26px, 4vw, 44px); background: currentColor;
  transform: skewX(var(--shear)); margin-bottom: 12px;
  animation: slide-in .7s cubic-bezier(.2,.7,.2,1) backwards;
}
.heroart .bar:nth-child(1) { width: 88%; animation-delay: .05s; }
.heroart .bar:nth-child(2) { width: 62%; margin-left: 30%; animation-delay: .15s; background: var(--crimson); }
.heroart .bar:nth-child(3) { width: 74%; margin-left: 12%; animation-delay: .25s; }
.heroart .bar:nth-child(4) { width: 46%; margin-left: 44%; animation-delay: .35s; background: var(--ink); }
.heroart__photo {
  margin-top: 1.25rem; border: 1px solid var(--sand);
  aspect-ratio: 4 / 5; object-fit: cover; width: 100%;
  animation: slide-in .8s .4s cubic-bezier(.2,.7,.2,1) backwards;
}
@keyframes slide-in { from { opacity: 0; transform: skewX(var(--shear)) translateX(-40px); } }

/* --- section heading ------------------------------------------------ */
.shead { display: grid; gap: .9rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.shead__mark { color: var(--oxblood); }
.band--ink .shead__mark, .band--blood .shead__mark { color: currentColor; }
.shead h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.shead p { color: var(--ink-soft); font-size: 1.05rem; }
.band--ink .shead p, .band--blood .shead p { color: rgba(255,255,255,.72); }
.shead--split { grid-template-columns: 1fr auto; align-items: end; }
.shead--split > div:first-child { display: grid; gap: .9rem; }

/* --- service list --------------------------------------------------- */
.services { border-top: 1px solid var(--sand); }
.service-row {
  display: grid; grid-template-columns: 3.5rem 1fr auto;
  gap: 1.5rem; align-items: center;
  padding: 1.5rem 0; border-bottom: 1px solid var(--sand);
  text-decoration: none; position: relative;
}
.service-row:hover { background: var(--paper-2); }
.service-row__num { font-family: var(--f-display); color: var(--oxblood); font-size: .95rem; }
.service-row h3 { font-size: clamp(1.3rem, 2.6vw, 1.9rem); }
.service-row p { color: var(--ink-soft); font-size: .96rem; margin: .35rem 0 0; }
.service-row__go { color: var(--oxblood); font-weight: 600; font-size: .9rem; white-space: nowrap; }

.grid { display: grid; gap: 1.25rem; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.tile {
  background: var(--paper-2); border: 1px solid var(--sand);
  padding: 1.6rem; display: grid; gap: .6rem; align-content: start;
  text-decoration: none; color: inherit;
}
.tile:hover { border-color: var(--oxblood); }
.tile h3 { font-size: 1.2rem; }
.tile p { font-size: .93rem; color: var(--ink-soft); margin: 0; }
.tile__price { font-size: .85rem; color: var(--oxblood); font-weight: 600; }
.band--ink .tile { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); }
.band--ink .tile p { color: rgba(255,255,255,.66); }

.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  border: 1px solid var(--sand); padding: .3rem .75rem;
  font-size: .8rem; font-weight: 600; color: var(--ink-soft);
}
.pill--blood { border-color: var(--oxblood); color: var(--oxblood); }
.pill--gold { border-color: var(--gold); color: #7a5c0e; background: color-mix(in srgb, var(--gold) 18%, transparent); }

.divisions { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2rem; }
.divisions a {
  padding: .6rem 1.1rem; border: 1px solid var(--sand); text-decoration: none;
  font-weight: 600; font-size: .92rem;
}
.divisions a.is-active { background: var(--oxblood); color: #fff; border-color: var(--oxblood); }

/* --- work ----------------------------------------------------------- */
.workgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.1rem; }
.work {
  position: relative; border: 1px solid var(--sand); background: var(--paper-2);
  cursor: zoom-in; overflow: hidden; text-align: left; padding: 0; display: block; width: 100%;
}
.work img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.work__meta { padding: 1rem 1.1rem; display: grid; gap: .2rem; }
.work__meta b { font-family: var(--f-display); font-size: 1.02rem; }
.work__meta span { font-size: .84rem; color: var(--ink-soft); }

.lightbox {
  position: fixed; inset: 0; z-index: 120; display: none;
  background: rgba(18,13,12,.94); padding: 4vh 5vw;
  align-items: center; justify-content: center;
}
.lightbox[data-open="true"] { display: flex; }
.lightbox__inner { max-width: 1000px; width: 100%; display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: center; }
.lightbox img { max-height: 82vh; object-fit: contain; margin-inline: auto; }
.lightbox__body { color: var(--paper-2); }
.lightbox__body h3 { font-size: 1.8rem; margin-bottom: .5rem; }
.lightbox__body p { color: rgba(255,255,255,.7); }
.lightbox__close {
  position: absolute; top: 1.5rem; right: 1.5rem; background: none;
  border: 1px solid rgba(255,255,255,.4); color: #fff; padding: .5rem .9rem; cursor: pointer;
}

/* --- client marquee -------------------------------------------------- */
.marquee { overflow: hidden; border-block: 1px solid var(--sand); padding-block: 1.75rem; }
.marquee__track { display: flex; gap: 3.5rem; width: max-content; animation: roll 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.client { display: grid; justify-items: center; gap: .5rem; min-width: 150px; }
.client b { font-family: var(--f-display); font-size: .85rem; letter-spacing: .01em; color: var(--ink-soft); }
.client img { height: 44px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .78; }
.client:hover img { filter: none; opacity: 1; }
@keyframes roll { to { transform: translateX(-50%); } }

/* --- stats / counters ------------------------------------------------ */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 2rem; }
.stat b { font-family: var(--f-display); font-size: clamp(2.4rem, 5vw, 3.6rem); display: block; line-height: 1; }
.stat span { font-size: .92rem; opacity: .75; }

/* --- process (a genuine sequence, so it is numbered) ------------------ */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  display: grid; grid-template-columns: 4.5rem 1fr; gap: 1.5rem;
  padding: 1.75rem 0; border-top: 1px solid var(--sand);
}
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--f-display); font-size: 1.1rem; color: var(--oxblood);
}
.step h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.step p { color: var(--ink-soft); margin: 0; }

/* --- testimonials ---------------------------------------------------- */
.quote { border-left: 3px solid var(--oxblood); padding-left: 1.4rem; display: grid; gap: .9rem; }
.quote blockquote { margin: 0; font-size: 1.08rem; }
.quote figcaption { font-size: .88rem; color: var(--ink-soft); }
.band--ink .quote figcaption { color: rgba(255,255,255,.6); }
.band--ink .quote { border-left-color: var(--crimson); }

/* --- jobs ------------------------------------------------------------ */
.job {
  display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center;
  padding: 1.6rem 0; border-bottom: 1px solid var(--sand); text-decoration: none;
}
.job:hover { background: var(--paper-2); }
.job h3 { font-size: 1.35rem; margin-bottom: .45rem; }
.job__meta { display: flex; flex-wrap: wrap; gap: .5rem; }

/* --- forms ----------------------------------------------------------- */
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .88rem; font-weight: 600; }
.field .hint { font-size: .82rem; color: var(--ink-soft); }
input[type=text], input[type=email], input[type=tel], input[type=url], input[type=password],
input[type=number], input[type=date], input[type=file], select, textarea {
  width: 100%; padding: .8rem .9rem; font: inherit; font-size: .97rem;
  background: var(--white); border: 1px solid var(--sand); color: var(--ink);
  border-radius: 0;
}
input:focus, select:focus, textarea:focus { border-color: var(--oxblood); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--oxblood) 14%, transparent); }
textarea { min-height: 140px; resize: vertical; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.error { color: #9c1024; font-size: .85rem; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice { padding: 1rem 1.2rem; border-left: 4px solid var(--oxblood); background: var(--paper-2); margin-bottom: 1.5rem; }
.notice--ok { border-color: #1d7a4c; }
.notice--bad { border-color: #9c1024; }

/* --- faq ------------------------------------------------------------- */
.faq { border-top: 1px solid var(--sand); }
.faq details { border-bottom: 1px solid var(--sand); padding: 1.15rem 0; }
.faq summary {
  cursor: pointer; font-family: var(--f-display); font-weight: 700;
  font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--oxblood); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: .8rem 0 0; color: var(--ink-soft); }

/* --- rich body ------------------------------------------------------- */
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.7rem; margin: 2rem 0 .8rem; }
.prose h3 { font-size: 1.3rem; margin: 1.6rem 0 .6rem; }
.prose ul, .prose ol { padding-left: 1.2rem; color: var(--ink-soft); }
.prose li { margin-bottom: .4rem; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.checklist li { display: grid; grid-template-columns: 1rem 1fr; gap: .75rem; align-items: start; font-size: .96rem; }
.checklist li::before { content: ""; width: 10px; height: 10px; margin-top: .45rem; background: var(--oxblood); transform: skewX(var(--shear)); }
.band--ink .checklist li::before, .band--blood .checklist li::before { background: currentColor; }

/* --- CTA strip -------------------------------------------------------- */
.ctastrip { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: center; }
.ctastrip h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.ctastrip__lines { display: grid; gap: 1rem; }
.ctaline { display: grid; gap: .15rem; border-left: 2px solid rgba(255,255,255,.35); padding-left: 1rem; }
.ctaline span { font-size: .82rem; opacity: .7; }
.ctaline a { font-family: var(--f-display); font-size: 1.3rem; text-decoration: none; }

/* --- footer ----------------------------------------------------------- */
.sitefooter { background: var(--ink); color: var(--paper-2); padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.sitefooter a { color: rgba(255,255,255,.72); text-decoration: none; }
.sitefooter a:hover { color: #fff; }
.footgrid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footgrid h4 { font-size: .95rem; margin-bottom: 1rem; color: #fff; }
.footgrid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: .93rem; }
.footbottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.14);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .85rem; color: rgba(255,255,255,.6);
}
.socials { display: flex; gap: .6rem; }
.socials a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.22);
}
.socials a:hover { background: var(--oxblood); border-color: var(--oxblood); }

/* --- page header ------------------------------------------------------ */
.pagehead { padding-block: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--sand); }
.pagehead h1 { font-size: clamp(2.4rem, 7vw, 5rem); }
.pagehead p { font-size: 1.1rem; color: var(--ink-soft); margin-top: 1rem; }
.crumbs { font-size: .85rem; color: var(--ink-soft); margin-bottom: 1.25rem; display: flex; gap: .5rem; }
.crumbs a { text-decoration: none; }

/* --- responsive -------------------------------------------------------- */
@media (max-width: 1024px) {
  .footgrid { grid-template-columns: 1fr 1fr; }
  .hero__grid { grid-template-columns: 1fr; }
  .heroart { max-width: 460px; }
  .ctastrip { grid-template-columns: 1fr; }
  .lightbox__inner { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .burger { display: block; }
  .mainnav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper-2); border-bottom: 1px solid var(--sand);
    flex-direction: column; align-items: stretch; padding: 1rem var(--gutter) 1.5rem;
    max-height: 78vh; overflow-y: auto;
  }
  .siteheader[data-open="true"] .mainnav { display: flex; }
  .megamenu { position: static; translate: none; width: auto; display: grid; border: 0; box-shadow: none; padding: .5rem 0 1rem; background: none; grid-template-columns: 1fr; }
  .megamenu ul { columns: 1; }
  .service-row { grid-template-columns: 1fr; gap: .5rem; }
  .service-row__num { display: none; }
  .job { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .footgrid { grid-template-columns: 1fr; }
}

/* --- utility ---------------------------------------------------------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
