:root {
  --pe8-ink: #11130f;
  --pe8-ink-soft: #1b1e17;
  --pe8-paper: #e5e0d3;
  --pe8-paper-deep: #d2ccbc;
  --pe8-olive: #687052;
  --pe8-olive-light: #aab38a;
  --pe8-rust: #9d3c2d;
  --pe8-sand: #c9a568;
  --pe8-white: #f6f3eb;
  --pe8-muted: #797b70;
  --pe8-border: rgba(17, 19, 15, 0.2);
  --default-font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --heading-font: "Barlow Condensed", "Arial Narrow", sans-serif;
  --nav-font: "Barlow Condensed", "Arial Narrow", sans-serif;
  --background-color: var(--pe8-paper);
  --default-color: var(--pe8-ink-soft);
  --heading-color: var(--pe8-ink);
  --accent-color: var(--pe8-olive);
  --surface-color: var(--pe8-white);
  --contrast-color: var(--pe8-white);
  --nav-color: rgba(246, 243, 235, 0.82);
  --nav-hover-color: var(--pe8-white);
  --nav-mobile-background-color: var(--pe8-ink);
  --nav-dropdown-background-color: var(--pe8-ink);
  --nav-dropdown-color: var(--pe8-white);
  --nav-dropdown-hover-color: var(--pe8-olive-light);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--pe8-paper);
  color: var(--pe8-ink-soft);
  font-family: var(--default-font);
  font-size: 16px;
  line-height: 1.7;
}

body::before {
  background-image: repeating-linear-gradient(90deg, transparent 0, transparent 79px, rgba(17, 19, 15, 0.025) 80px);
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

a {
  color: var(--pe8-olive);
}

a:hover {
  color: var(--pe8-rust);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--pe8-ink);
  font-family: var(--heading-font);
  font-weight: 800;
  letter-spacing: 0.015em;
  line-height: 0.98;
  text-transform: uppercase;
}

.section,
section {
  scroll-margin-top: 80px;
}

.section {
  padding: 104px 0;
}

.light-background {
  background: var(--pe8-paper-deep);
}

.dark-background {
  background: var(--pe8-ink);
  color: rgba(246, 243, 235, 0.78);
}

.dark-background h1,
.dark-background h2,
.dark-background h3,
.dark-background h4 {
  color: var(--pe8-white);
}

.section-title {
  margin-bottom: 54px;
  max-width: 850px;
  padding-bottom: 0;
  text-align: left;
}

.section-title h2,
.faq h2 {
  font-size: clamp(3.2rem, 7vw, 6.4rem);
  line-height: 0.85;
  margin: 8px 0 24px;
}

.section-title h2::after,
.section-title h2::before {
  display: none;
}

.section-title > p:last-child,
.faq-intro {
  font-size: 1.05rem;
  margin: 0;
  max-width: 660px;
}

.eyebrow,
.aside-label {
  color: var(--pe8-rust);
  font-family: var(--heading-font);
  font-size: 0.93rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  margin: 0;
  text-transform: uppercase;
}

.dark-background .eyebrow {
  color: var(--pe8-sand);
}

.header {
  align-items: center;
  background: linear-gradient(180deg, rgba(8, 9, 7, 0.82), transparent);
  display: flex;
  min-height: 82px;
  padding: 12px 0;
  transition: background-color 0.25s ease, min-height 0.25s ease;
}

.scrolled .header {
  background: rgba(17, 19, 15, 0.97);
  border-bottom: 1px solid rgba(246, 243, 235, 0.14);
  min-height: 70px;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  height: 58px;
  margin: 0;
  max-height: none;
  width: auto;
}

.navmenu a,
.navmenu a:focus {
  color: rgba(246, 243, 235, 0.78);
  font-family: var(--nav-font);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  padding: 10px 14px;
  text-transform: uppercase;
}

.navmenu a:hover,
.navmenu .active,
.navmenu .active:focus {
  color: var(--pe8-white);
}

.navmenu .nav-order,
.navmenu .nav-order:focus {
  border: 1px solid var(--pe8-olive-light);
  color: var(--pe8-white);
  margin-left: 8px;
  padding: 10px 16px;
}

.navmenu .nav-order:hover {
  background: var(--pe8-olive);
  border-color: var(--pe8-olive);
}

.mobile-nav-toggle {
  color: var(--pe8-white);
  font-size: 30px;
}

.hero {
  align-items: center;
  display: flex;
  min-height: 820px;
  overflow: hidden;
  padding: 150px 0 110px;
  position: relative;
}

.hero::after {
  background: linear-gradient(90deg, rgba(8, 9, 7, 0.96) 0%, rgba(8, 9, 7, 0.76) 40%, rgba(8, 9, 7, 0.14) 74%, rgba(8, 9, 7, 0.2) 100%);
  content: "";
  inset: 0;
  position: absolute;
}

.hero .hero-background {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
  position: absolute;
  width: 100%;
}

.hero-grain {
  background-image: repeating-linear-gradient(0deg, transparent 0, rgba(255, 255, 255, 0.02) 1px, transparent 2px, transparent 4px);
  inset: 0;
  opacity: 0.35;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: var(--pe8-white);
  font-size: clamp(4.9rem, 9vw, 8.1rem);
  line-height: 0.77;
  margin: 20px 0 32px;
  max-width: 780px;
}

.hero-lead {
  color: rgba(246, 243, 235, 0.86);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.55;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 38px 0 26px;
}

.btn-pe8 {
  align-items: center;
  border: 1px solid transparent;
  display: inline-flex;
  font-family: var(--heading-font);
  font-size: 1rem;
  font-weight: 800;
  gap: 10px;
  justify-content: center;
  letter-spacing: 0.12em;
  min-height: 54px;
  padding: 13px 24px;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-pe8:hover {
  transform: translateY(-2px);
}

.btn-pe8-primary {
  background: var(--pe8-olive);
  border-color: var(--pe8-olive);
  color: var(--pe8-white);
}

.btn-pe8-primary:hover {
  background: var(--pe8-rust);
  border-color: var(--pe8-rust);
  color: var(--pe8-white);
}

.btn-pe8-outline {
  border-color: rgba(246, 243, 235, 0.5);
  color: var(--pe8-white);
}

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

.hero-note {
  color: rgba(246, 243, 235, 0.55);
  font-family: var(--heading-font);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.about-image-frame {
  background: var(--pe8-ink);
  border: 1px solid var(--pe8-ink);
  padding: 14px;
  position: relative;
}

.about-image-frame::before {
  border: 1px solid var(--pe8-rust);
  content: "";
  height: 120px;
  left: -14px;
  position: absolute;
  top: -14px;
  width: 120px;
  z-index: -1;
}

.about-image-frame img {
  aspect-ratio: 4 / 5;
  filter: saturate(0.65) contrast(1.08);
  object-fit: cover;
  width: 100%;
}

.image-stamp {
  background: var(--pe8-paper);
  bottom: 30px;
  color: var(--pe8-ink);
  font-family: var(--heading-font);
  font-size: 1.05rem;
  font-weight: 800;
  left: -1px;
  letter-spacing: 0.13em;
  padding: 13px 20px;
  position: absolute;
  text-transform: uppercase;
}

.about-content {
  padding-left: clamp(0px, 4vw, 64px);
}

.lead-copy {
  color: var(--pe8-ink);
  font-family: var(--heading-font);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 30px;
}

.field-rule {
  background: var(--pe8-rust);
  height: 4px;
  margin: 30px 0;
  width: 70px;
}

.about-content h3 {
  font-size: 2rem;
  margin-bottom: 18px;
}

.text-link {
  border-bottom: 2px solid var(--pe8-ink);
  color: var(--pe8-ink);
  display: inline-flex;
  font-family: var(--heading-font);
  font-weight: 800;
  gap: 10px;
  letter-spacing: 0.08em;
  margin-top: 14px;
  padding-bottom: 4px;
  text-decoration: none;
  text-transform: uppercase;
}

.services {
  background-color: var(--pe8-paper-deep);
  background-image: linear-gradient(135deg, rgba(17, 19, 15, 0.04) 25%, transparent 25%, transparent 50%, rgba(17, 19, 15, 0.04) 50%, rgba(17, 19, 15, 0.04) 75%, transparent 75%, transparent);
  background-size: 28px 28px;
}

.service-card {
  background: var(--pe8-paper);
  border: 1px solid var(--pe8-ink);
  min-height: 330px;
  overflow: hidden;
  padding: 46px;
  position: relative;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.service-card:hover {
  background: var(--pe8-ink);
  color: rgba(246, 243, 235, 0.72);
  transform: translateY(-5px);
}

.service-card > i {
  color: var(--pe8-rust);
  font-size: 2rem;
}

.service-card h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 36px 0 18px;
  max-width: 450px;
}

.service-card:hover h3 {
  color: var(--pe8-white);
}

.service-number {
  color: rgba(17, 19, 15, 0.1);
  font-family: var(--heading-font);
  font-size: 7rem;
  font-weight: 900;
  line-height: 1;
  position: absolute;
  right: 24px;
  top: 20px;
}

.service-card:hover .service-number {
  color: rgba(246, 243, 235, 0.07);
}

.portfolio {
  background: var(--pe8-paper);
}

.portfolio .portfolio-filters {
  border-bottom: 1px solid var(--pe8-ink);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
  margin: 0 0 34px;
  padding: 0 0 18px;
}

.portfolio .portfolio-filters li {
  background: transparent;
  border: 1px solid var(--pe8-border);
  border-radius: 0;
  color: var(--pe8-ink);
  cursor: pointer;
  font-family: var(--heading-font);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin: 0;
  padding: 9px 16px;
  text-transform: uppercase;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  background: var(--pe8-ink);
  color: var(--pe8-white);
}

.portfolio .portfolio-item {
  margin-bottom: 16px;
}

.portfolio-content {
  background: var(--pe8-ink);
  border: 1px solid var(--pe8-ink);
  display: flex;
  flex-direction: column;
}

.portfolio-image-wrap {
  align-items: center;
  aspect-ratio: 4 / 4.55;
  background: #050605;
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 10px;
  position: relative;
}

.portfolio-image-wrap img {
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
  width: 100%;
}

.portfolio-content:hover .portfolio-image-wrap img {
  transform: scale(1.035);
}

.portfolio .preview-link {
  align-items: center;
  background: rgba(229, 224, 211, 0.95);
  bottom: 12px;
  color: var(--pe8-ink);
  display: flex;
  height: 44px;
  justify-content: center;
  opacity: 0;
  position: absolute;
  right: 12px;
  top: auto;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  width: 44px;
}

.portfolio-content:hover .preview-link,
.portfolio .preview-link:focus {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-info {
  background: var(--pe8-ink);
  color: rgba(246, 243, 235, 0.66);
  flex: 1;
  padding: 24px;
}

.portfolio-info > span {
  color: var(--pe8-sand);
  font-family: var(--heading-font);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.portfolio-info h3 {
  color: var(--pe8-white);
  font-size: 1.8rem;
  line-height: 0.98;
  margin: 9px 0 12px;
}

.portfolio-info p {
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 18px;
}

.portfolio-order-link {
  color: var(--pe8-white);
  font-family: var(--heading-font);
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.portfolio-order-link:hover {
  color: var(--pe8-sand);
}

.process {
  background: var(--pe8-ink);
  border-bottom: 1px solid rgba(246, 243, 235, 0.12);
  border-top: 1px solid rgba(246, 243, 235, 0.12);
}

.process-grid {
  border-left: 1px solid rgba(246, 243, 235, 0.2);
  border-top: 1px solid rgba(246, 243, 235, 0.2);
}

.process-step {
  border-bottom: 1px solid rgba(246, 243, 235, 0.2);
  border-right: 1px solid rgba(246, 243, 235, 0.2);
  min-height: 300px;
  padding: 38px;
}

.process-step > span {
  color: var(--pe8-sand);
  font-family: var(--heading-font);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.process-step h3 {
  color: var(--pe8-white);
  font-size: 2rem;
  margin: 62px 0 18px;
}

.process-step p {
  color: rgba(246, 243, 235, 0.62);
  font-size: 0.92rem;
}

.faq {
  background: var(--pe8-paper-deep);
}

.faq .faq-container .faq-item {
  background: transparent;
  border-bottom: 1px solid rgba(17, 19, 15, 0.28);
  margin: 0;
  padding: 24px 50px 24px 0;
  position: relative;
}

.faq .faq-container .faq-item h3 {
  color: var(--pe8-ink);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
  padding: 0;
  text-transform: none;
}

.faq .faq-container .faq-item .faq-toggle {
  color: var(--pe8-ink);
  font-size: 1.3rem;
  right: 0;
  top: 27px;
}

.faq .faq-container .faq-item.faq-active h3,
.faq .faq-container .faq-item.faq-active .faq-toggle {
  color: var(--pe8-rust);
}

.faq .faq-container .faq-item .faq-content p {
  margin: 16px 0 0;
}

.order {
  background: var(--pe8-paper);
}

.order-aside {
  background: var(--pe8-ink);
  color: rgba(246, 243, 235, 0.68);
  padding: 42px;
  position: sticky;
  top: 100px;
}

.order-aside h3 {
  color: var(--pe8-white);
  font-size: 2.7rem;
  margin: 15px 0 24px;
}

.order-aside ul {
  border-top: 1px solid rgba(246, 243, 235, 0.18);
  list-style: none;
  margin: 30px 0;
  padding: 22px 0 0;
}

.order-aside li {
  color: rgba(246, 243, 235, 0.85);
  margin-bottom: 10px;
}

.order-aside li i {
  color: var(--pe8-sand);
  margin-right: 8px;
}

.reference-note {
  background: var(--pe8-olive);
  color: var(--pe8-white);
  margin: 34px -16px -16px;
  padding: 24px;
}

.reference-note span {
  font-family: var(--heading-font);
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reference-note p {
  font-size: 0.86rem;
  margin: 8px 0 0;
}

.pe8-form {
  background: var(--pe8-white);
  border: 1px solid var(--pe8-ink);
  padding: clamp(26px, 5vw, 54px);
}

.pe8-form fieldset {
  border: 0;
  border-bottom: 1px solid var(--pe8-border);
  margin: 0 0 34px;
  padding: 0 0 34px;
}

.pe8-form legend {
  color: var(--pe8-ink);
  font-family: var(--heading-font);
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.form-field label {
  color: var(--pe8-ink);
  display: block;
  font-family: var(--heading-font);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  background: transparent;
  border: 1px solid rgba(17, 19, 15, 0.32);
  border-radius: 0;
  color: var(--pe8-ink);
  font: inherit;
  min-height: 52px;
  padding: 12px 14px;
  width: 100%;
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--pe8-rust);
  box-shadow: 0 0 0 3px rgba(157, 60, 45, 0.12);
  outline: 0;
}

.form-field input[readonly] {
  background: rgba(17, 19, 15, 0.06);
  color: var(--pe8-muted);
}

.field-validation-error,
.validation-summary,
.validation-summary-errors {
  color: #a3281c;
  display: block;
  font-size: 0.83rem;
  margin-top: 6px;
}

.input-validation-error {
  border-color: #a3281c !important;
}

.validation-summary-valid {
  display: none;
}

.honeypot {
  height: 1px !important;
  left: -10000px !important;
  overflow: hidden !important;
  position: absolute !important;
  top: auto !important;
  width: 1px !important;
}

.form-footnote {
  color: var(--pe8-muted);
  font-size: 0.82rem;
  margin: 14px 0 0;
}

.form-status {
  align-items: flex-start;
  border: 1px solid currentColor;
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  padding: 18px 20px;
}

.form-status i {
  font-size: 1.35rem;
}

.form-status-success {
  background: #e3e7d8;
  color: #344026;
}

.form-status-error {
  background: #f2ddd7;
  color: #8c2b20;
}

.order-reference {
  display: block;
  font-family: var(--heading-font);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.contact {
  background: var(--pe8-ink);
}

.contact-details {
  border-top: 1px solid rgba(246, 243, 235, 0.2);
}

.contact-detail {
  align-items: center;
  border-bottom: 1px solid rgba(246, 243, 235, 0.2);
  display: flex;
  gap: 18px;
  padding: 24px 0;
}

.contact-detail > i {
  color: var(--pe8-sand);
  font-size: 1.6rem;
}

.contact-detail span {
  color: rgba(246, 243, 235, 0.5);
  display: block;
  font-family: var(--heading-font);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-detail strong {
  color: var(--pe8-white);
  font-size: 1rem;
}

.pe8-form-dark {
  background: #171914;
  border-color: rgba(246, 243, 235, 0.26);
}

.pe8-form-dark .form-field label,
.pe8-form-dark .pe8-form legend {
  color: var(--pe8-white);
}

.pe8-form-dark .form-field input,
.pe8-form-dark .form-field textarea {
  border-color: rgba(246, 243, 235, 0.3);
  color: var(--pe8-white);
}

.pe8-form-dark .field-validation-error,
.pe8-form-dark .validation-summary,
.pe8-form-dark .validation-summary-errors {
  color: #ef9b8c;
}

.footer {
  background: #080907;
  border-top: 1px solid rgba(246, 243, 235, 0.15);
  color: rgba(246, 243, 235, 0.58);
  padding: 76px 0 0;
}

.footer .footer-top {
  padding: 0 12px 58px;
}

.footer-logo img {
  height: 100px;
  margin-bottom: 22px;
  width: auto;
}

.footer h3 {
  color: var(--pe8-white);
  font-size: 1.35rem;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer a {
  color: rgba(246, 243, 235, 0.72);
  text-decoration: none;
}

.footer a:hover {
  color: var(--pe8-sand);
}

.footer-bottom {
  border-top: 1px solid rgba(246, 243, 235, 0.13);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.82rem;
  justify-content: space-between;
  padding: 22px 12px;
}

.footer-bottom p {
  margin: 0;
}

.policy-page {
  min-height: 70vh;
  padding-top: 170px;
}

.policy-page h1 {
  font-size: clamp(4rem, 10vw, 8rem);
  margin: 12px 0 44px;
}

.policy-notice {
  background: var(--pe8-white);
  border: 1px solid var(--pe8-ink);
  max-width: 760px;
  padding: 38px;
}

.policy-notice h2 {
  font-size: 2rem;
}

.scroll-top {
  background: var(--pe8-rust);
  border-radius: 0;
}

.scroll-top:hover {
  background: var(--pe8-olive);
}

#preloader {
  background: var(--pe8-ink);
}

#preloader::before {
  border: 4px solid rgba(246, 243, 235, 0.15);
  border-top-color: var(--pe8-sand);
}

@media (max-width: 1199px) {
  .mobile-nav-active .navmenu > ul {
    background: var(--pe8-ink);
    border: 1px solid rgba(246, 243, 235, 0.22);
    border-radius: 0;
    inset: 72px 20px 20px;
    padding: 20px;
  }

  .mobile-nav-active .navmenu a,
  .mobile-nav-active .navmenu a:focus {
    color: var(--pe8-white);
  }

  .navmenu .nav-order,
  .navmenu .nav-order:focus {
    margin: 8px 14px;
  }
}

@media (max-width: 991px) {
  .section {
    padding: 82px 0;
  }

  .hero {
    min-height: 790px;
  }

  .hero::after {
    background: linear-gradient(90deg, rgba(8, 9, 7, 0.94) 0%, rgba(8, 9, 7, 0.77) 62%, rgba(8, 9, 7, 0.35) 100%);
  }

  .about-content {
    padding-left: 0;
  }

  .order-aside {
    position: static;
  }
}

@media (max-width: 767px) {
  .section-title h2,
  .faq h2 {
    font-size: clamp(3rem, 16vw, 4.6rem);
  }

  .header .logo img {
    height: 48px;
  }

  .hero {
    min-height: 720px;
    padding-top: 125px;
  }

  .hero .hero-background {
    object-position: 64% center;
  }

  .hero::after {
    background: rgba(8, 9, 7, 0.72);
  }

  .hero h1 {
    font-size: clamp(4.4rem, 22vw, 6.7rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn-pe8 {
    width: 100%;
  }

  .service-card,
  .order-aside,
  .pe8-form {
    padding: 28px;
  }

  .process-step {
    min-height: 245px;
    padding: 28px;
  }

  .process-step h3 {
    margin-top: 40px;
  }

  .footer-bottom {
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
