:root {
  --ink: #171716;
  --ink-soft: #242321;
  --paper: #ffffff;
  --paper-warm: #f2f0eb;
  --muted: #65625d;
  --line: #dfdcd5;
  --orange: #e86d0a;
  --orange-dark: #c95700;
  --header-height: 110px;
  --danger: #b42318;
  --photo-gap: 18px;
  --photo-card-min: 280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Open Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a,
button,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #ffad68;
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 15px;
  color: #fff;
  background: var(--orange);
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  padding: 0 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: rgba(20, 20, 19, 0.97);
  border-bottom: 2px solid var(--orange);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.13);
}

.logo {
  width: 170px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 3px;
  background: #f5f4f1;
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.28);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34);
}

.logo img {
  width: 100%;
  height: auto;
}

nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

nav a {
  position: relative;
  color: #eee;
  font-family: Montserrat, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

nav a:not(.nav-cta):hover::after,
nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

nav a[aria-current="page"] {
  color: var(--orange);
}

.nav-cta,
.btn-primary {
  color: #fff !important;
  background: var(--orange) !important;
}

.nav-cta {
  padding: 13px 20px;
}

.menu-toggle {
  display: none;
  border: 0;
  color: #fff;
  background: none;
  font-size: 1.6rem;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: url("assets/brand-banner.webp") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  right: -8vw;
  bottom: -140px;
  z-index: 1;
  width: 340px;
  height: 340px;
  border: 54px solid rgba(232, 109, 10, 0.18);
  border-radius: 50%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 9, 0.96) 0%, rgba(10, 10, 9, 0.82) 46%, rgba(10, 10, 9, 0.18) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.35), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 70px 7%;
  animation: reveal-up 650ms ease-out both;
}

.eyebrow,
.section-kicker {
  color: var(--orange);
  font-family: Montserrat, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 3px;
}

.hero h1 {
  max-width: 820px;
  margin: 15px 0 25px;
  font-family: Montserrat, sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.hero h1 em,
.intro h2 span,
.estimate h2 span {
  color: #f1770b;
  font-style: normal;
}

.hero-copy {
  max-width: 600px;
  color: #dedbd6;
  font-size: 1.15rem;
  line-height: 1.7;
}

.hero-actions,
.confirmation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-block;
  padding: 15px 24px;
  border: 1px solid transparent;
  font-family: Montserrat, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

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

.btn-primary:hover {
  background: var(--orange-dark) !important;
}

.btn-secondary {
  border-color: #aaa;
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
}

.btn-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 35px;
  color: #dedbd6;
  font-size: 0.82rem;
}

.intro {
  max-width: 850px;
  margin: auto;
  padding: 100px 25px;
  text-align: center;
}

.intro h2,
.section-heading h2,
.about h2,
.service-area h2,
.estimate h2 {
  margin: 12px 0 25px;
  font: 800 clamp(2rem, 4vw, 3.4rem) / 1.08 Montserrat, sans-serif;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.intro > p:last-child {
  color: #55524e;
  line-height: 1.8;
}

.services {
  padding: 90px 7%;
  background:
    linear-gradient(rgba(242, 240, 235, 0.95), rgba(242, 240, 235, 0.95)),
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(0, 0, 0, 0.03) 12px 13px);
}

.section-heading {
  margin-bottom: 45px;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
  max-width: 1400px;
  margin: 0 auto;
}

.service-card {
  grid-column: span 3;
  padding: 38px 28px;
  border-bottom: 4px solid transparent;
  background: #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.service-card:nth-child(2) {
  transform: translateY(22px);
}

.service-card-link {
  color: inherit;
  text-decoration: none;
}

.service-read-more {
  color: var(--orange-dark);
  font: 800 0.7rem / 1.5 Montserrat, sans-serif;
  letter-spacing: 0.5px;
}

.service-card-link:focus-visible {
  border-bottom-color: var(--orange);
}

.service-card:hover {
  border-color: var(--orange);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.service-card:nth-child(2):hover {
  transform: translateY(17px);
}

.icon {
  width: 55px;
  height: 55px;
  margin-bottom: 25px;
  display: grid;
  place-items: center;
  border: 2px solid var(--orange);
  color: var(--orange);
  font-family: Montserrat, sans-serif;
  font-size: 2rem;
}

.service-card h3 {
  min-height: 2.7em;
  font: 800 1.05rem / 1.3 Montserrat, sans-serif;
  text-transform: uppercase;
}

.service-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.about {
  min-height: 580px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.about-image {
  position: relative;
  overflow: hidden;
  background: var(--ink);
}

.about-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 18px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  transition: transform 800ms ease;
}

.about:hover .about-image img {
  transform: scale(1.025);
}

.about-content {
  align-self: center;
  padding: 85px 12%;
}

.about-content p {
  color: var(--muted);
  line-height: 1.8;
}

.about ul {
  margin: 25px 0;
  padding: 0;
  list-style: none;
}

.about li {
  padding: 9px 0;
  border-bottom: 1px solid #eee;
  font-weight: 600;
}

.about li::before {
  content: "✓";
  margin-right: 12px;
  color: var(--orange);
  font-weight: 700;
}

.text-link {
  color: var(--orange-dark);
  font-family: Montserrat, sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}

.service-area {
  position: relative;
  padding: 80px 10%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}

.service-area::before {
  content: "SC";
  position: absolute;
  right: 4%;
  color: rgba(255, 255, 255, 0.035);
  font: 900 13rem / 1 Montserrat, sans-serif;
}

.service-area > * {
  position: relative;
  z-index: 1;
}

.service-area p:not(.section-kicker) {
  max-width: 650px;
  color: #bbb8b2;
  line-height: 1.7;
}

.estimate {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background: var(--paper-warm);
}

.estimate-info {
  padding: 90px 12%;
  color: #fff;
  background: var(--ink-soft);
}

.estimate-info > p:not(.section-kicker) {
  color: #bbb8b2;
  line-height: 1.8;
}

.contact-line {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-line b {
  color: var(--orange);
  font: 700 0.65rem Montserrat, sans-serif;
  letter-spacing: 2px;
}

.contact-line a {
  width: fit-content;
  color: #fff;
  font-size: 1.05rem;
  text-decoration: none;
}

.estimate-form {
  padding: 70px 10%;
  background: #fff;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: block;
  margin-bottom: 17px;
  color: #33312e;
  font: 700 0.7rem Montserrat, sans-serif;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 7px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: #222;
  background: #faf9f7;
  font: 400 0.95rem "Open Sans", sans-serif;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #bbb5ac;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--orange);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(232, 109, 10, 0.1);
}

textarea {
  resize: vertical;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font: 400 0.78rem "Open Sans", sans-serif;
  letter-spacing: 0;
  text-transform: none;
}

.check input {
  width: auto;
  margin: 2px 0 0;
}

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

.btn-full {
  width: 100%;
  margin-top: 5px;
}

.form-note {
  color: #88847e;
  font-size: 0.75rem;
  text-align: center;
}

footer {
  padding: 45px 7%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  color: #aaa7a1;
  background: #11110f;
}

footer a {
  display: block;
  width: fit-content;
  margin: 7px 0;
  color: #ddd9d2;
  text-decoration: none;
}

.footer-brand p {
  color: var(--orange);
  font: 700 0.65rem Montserrat, sans-serif;
  letter-spacing: 1px;
}

.copyright {
  grid-column: 1 / 3;
  margin: 10px 0 0;
  padding-top: 22px;
  border-top: 1px solid #34322e;
  font-size: 0.75rem;
}

.article-heading {
  padding: clamp(50px, 8vw, 100px) 7%;
  border-bottom: 4px solid var(--orange);
  color: var(--paper);
  background: var(--ink-soft);
}

.article-heading-content {
  max-width: 1000px;
  margin: 0 auto;
}

.article-back-link {
  color: inherit;
  font: 700 0.75rem / 1.5 Montserrat, sans-serif;
  text-underline-offset: 5px;
}

.article-heading .section-kicker {
  margin-top: 36px;
}

.article-heading h1 {
  max-width: 900px;
  margin: 18px 0 0;
  font: 900 clamp(2.3rem, 5.5vw, 4.8rem) / 1.08 Montserrat, sans-serif;
  letter-spacing: -0.035em;
}

.article-body {
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 80px) 7%;
  box-sizing: content-box;
}

.article-body p {
  margin: 0 0 22px;
  line-height: 1.85;
}

.article-body ul {
  margin: 0 0 22px;
  padding-left: 24px;
  line-height: 1.85;
}

.article-body li::marker {
  color: var(--orange-dark);
}

.article-body h2 {
  margin: 44px 0 18px;
  padding-left: 18px;
  border-left: 4px solid var(--orange);
  font: 800 clamp(1.35rem, 3vw, 1.8rem) / 1.3 Montserrat, sans-serif;
  letter-spacing: -0.025em;
}

.article-cta {
  margin-top: 48px;
  padding: clamp(24px, 5vw, 40px);
  border-top: 4px solid var(--orange);
  color: var(--paper);
  background: var(--ink-soft);
}

.article-cta h2 {
  margin-top: 0;
  padding-left: 0;
  border-left: 0;
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.confirmation-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(16, 16, 15, 0.97), rgba(16, 16, 15, 0.78)),
    url("assets/brand-banner.webp") center / cover no-repeat;
}

.confirmation-card {
  width: min(720px, 100%);
  padding: clamp(36px, 7vw, 76px);
  border-top: 5px solid var(--orange);
  background: rgba(27, 27, 25, 0.94);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.confirmation-logo {
  margin-bottom: 60px;
}

.confirmation-card h1 {
  margin: 12px 0 20px;
  font: 900 clamp(2.6rem, 7vw, 5.2rem) / 0.96 Montserrat, sans-serif;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.confirmation-card > p:not(.section-kicker) {
  max-width: 570px;
  color: #ccc8c1;
  font-size: 1.05rem;
  line-height: 1.75;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.page-intro {
  max-width: 680px;
  margin: 22px 0 0;
  color: #ccc8c1;
  font-size: 1.05rem;
  line-height: 1.75;
}

.photo-gallery,
.manage-photos {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 80px) 7%;
  box-sizing: content-box;
}

.photo-status {
  margin: 0 0 24px;
  color: var(--muted);
  font-weight: 600;
}

.photo-status:empty {
  display: none;
}

.photo-status[data-tone="error"] {
  color: var(--danger);
}

.photo-status[data-tone="success"] {
  color: #1d7a3a;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(var(--photo-card-min), 100%), 1fr));
  gap: var(--photo-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.photo-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-bottom: 4px solid var(--orange);
  color: var(--paper);
  background: var(--ink-soft);
  font: inherit;
  text-align: left;
  cursor: zoom-in;
}

.photo-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 300ms ease;
}

.photo-card:hover img,
.photo-card:focus-visible img {
  transform: scale(1.04);
}

.photo-card-title {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 40px 18px 16px;
  background: linear-gradient(transparent, rgba(16, 16, 15, 0.9));
  font: 800 0.9rem / 1.35 Montserrat, sans-serif;
}

.photo-card-static {
  color: var(--ink);
  background: var(--paper-warm);
  cursor: default;
}

.photo-card-static:hover img {
  transform: none;
}

.photo-card-details {
  display: grid;
  gap: 8px;
  padding: 16px 18px 18px;
}

.photo-card-details span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.photo-card-details .btn {
  justify-self: start;
  margin-top: 4px;
}

.photo-viewer {
  width: min(1100px, 94vw);
  max-height: 94vh;
  padding: 0;
  border: 0;
  border-bottom: 4px solid var(--orange);
  color: var(--paper);
  background: var(--ink);
}

.photo-viewer::backdrop {
  background: rgba(10, 10, 9, 0.88);
}

.photo-viewer figure {
  margin: 0;
}

.photo-viewer img {
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  background: #000;
}

.photo-viewer figcaption {
  display: grid;
  gap: 6px;
  padding: 18px 22px 22px;
  line-height: 1.6;
}

.photo-viewer figcaption strong {
  font: 800 1rem Montserrat, sans-serif;
}

.photo-viewer figcaption span {
  color: #ccc8c1;
}

.photo-viewer-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  width: 44px;
  height: 44px;
  border: 0;
  color: #fff;
  background: rgba(16, 16, 15, 0.75);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.manage-panel {
  max-width: 560px;
  margin: 0 0 48px;
  padding: clamp(24px, 5vw, 40px);
  border-top: 4px solid var(--orange);
  background: var(--paper-warm);
}

.manage-panel h2,
.manage-heading {
  margin: 0 0 22px;
  font: 800 clamp(1.35rem, 3vw, 1.8rem) / 1.3 Montserrat, sans-serif;
  letter-spacing: -0.025em;
}

.manage-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 28px;
}

.manage-toolbar p {
  margin: 0;
}

.link-button {
  display: block;
  margin: 16px auto 0;
  padding: 4px;
  border: 0;
  color: var(--orange-dark);
  background: none;
  font: 600 0.85rem "Open Sans", sans-serif;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.btn-small {
  padding: 10px 16px;
  font-size: 0.7rem;
}

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

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

.btn-danger {
  border-color: var(--danger);
  color: var(--danger);
  background: transparent;
}

.btn-danger:hover {
  color: var(--paper);
  background: var(--danger);
}

.btn:disabled,
input:disabled,
textarea:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.footer-subtle-link {
  color: #77736d !important;
  font-size: 0.8rem;
}

[hidden] {
  display: none !important;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1050px) {
  nav {
    gap: 16px;
  }

  .service-card {
    grid-column: span 6;
  }

  .service-card:nth-child(2) {
    transform: none;
  }

  .service-card:nth-child(2):hover {
    transform: translateY(-5px);
  }
}

@media (max-width: 900px) {
  .about,
  .estimate {
    grid-template-columns: 1fr;
  }

  .about-image {
    min-height: 430px;
  }

  .service-area {
    display: block;
  }

  .service-area .btn {
    margin-top: 20px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 86px;
  }

  .site-header {
    height: var(--header-height);
    padding: 0 5%;
  }

  .logo {
    width: 132px;
  }

  nav {
    position: absolute;
    top: calc(var(--header-height) - 2px);
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 18px 5% 25px;
    border-bottom: 2px solid var(--orange);
    background: #151514;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  nav a {
    padding: 12px 0;
  }

  .site-header.open nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: 650px;
    background-position: 60% center;
  }

  .hero-content {
    padding: 60px 7%;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 13vw, 4.2rem);
  }

  .hero-overlay {
    background: rgba(10, 10, 9, 0.82);
  }

  .service-card {
    grid-column: span 12;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .services {
    padding: 70px 6% 90px;
  }

  .about-content,
  .estimate-info,
  .estimate-form {
    padding: 65px 7%;
  }

  .service-area {
    padding: 65px 7%;
  }

  footer {
    grid-template-columns: 1fr;
  }

  .copyright {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .hero-actions,
  .confirmation-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .confirmation-actions .btn {
    width: 100%;
  }

  .trust-row {
    flex-direction: column;
    gap: 10px;
  }

  .about-image {
    min-height: 310px;
  }
}

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

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