:root {
  --ink: #101917;
  --ink-2: #172724;
  --spruce: #24483e;
  --spruce-2: #315f53;
  --ivory: #f7f2e9;
  --paper: #fffaf2;
  --stone: #d7d0c2;
  --steel: #7f8983;
  --brass: #b8945f;
  --copper: #e75f21;
  --charcoal: #1b1e1c;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(16, 25, 23, .16);
  --soft-shadow: 0 12px 30px rgba(16, 25, 23, .1);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--ivory);
  letter-spacing: 0;
  padding-bottom: 86px;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(14, 25, 22, .96);
  color: var(--paper);
  border-bottom: 1px solid rgba(184, 148, 95, .24);
  backdrop-filter: blur(18px);
}

.nav-shell {
  width: min(var(--max), calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--paper);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border: 1px solid var(--brass);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: var(--brass);
  font-weight: 900;
  position: relative;
}

.brand-mark::before {
  content: "";
  width: 14px;
  height: 14px;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
  position: absolute;
  top: 6px;
}

.brand-name {
  display: grid;
  line-height: 1;
  font-size: 12px;
}

.brand-name strong {
  font-size: 18px;
  letter-spacing: 0;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  color: rgba(255, 250, 242, .82);
}

.main-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
  border-color: var(--brass);
}

.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

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

.btn-primary {
  background: var(--copper);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(231, 95, 33, .22);
}

.btn-dark {
  background: var(--ink);
  color: var(--paper);
  border-color: rgba(184, 148, 95, .35);
}

.btn-outline {
  color: var(--paper);
  border-color: var(--brass);
  background: rgba(255, 255, 255, .03);
}

.btn-light {
  background: var(--paper);
  color: var(--ink);
  border-color: rgba(16, 25, 23, .1);
}

.section {
  padding: 86px 0;
}

.section-tight {
  padding: 58px 0;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--copper);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
}

h1,
h2,
h3,
.display {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
  margin: 0;
}

h1,
.display {
  font-size: 64px;
  line-height: .96;
}

h2 {
  font-size: 42px;
  line-height: 1.06;
}

h3 {
  font-size: 24px;
  line-height: 1.12;
}

p {
  line-height: 1.7;
  color: #4c5651;
}

.lead {
  font-size: 18px;
  max-width: 650px;
}

.hero {
  min-height: 720px;
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 25, 23, .96) 0%, rgba(16, 25, 23, .82) 39%, rgba(16, 25, 23, .24) 72%, rgba(16, 25, 23, .12) 100%),
    url("../photos/optimized/hero-cabinet-hardware.jpg") center / cover;
}

.hero-grid {
  position: relative;
  width: min(var(--max), calc(100% - 40px));
  min-height: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 410px;
  align-items: center;
  gap: 46px;
}

.hero-copy {
  max-width: 650px;
  padding-top: 38px;
}

.hero-copy p {
  color: rgba(255, 250, 242, .84);
}

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

.hero-proof {
  align-self: end;
  margin-bottom: 74px;
  display: grid;
  gap: 14px;
}

.proof-card {
  padding: 22px;
  background: rgba(255, 250, 242, .9);
  color: var(--ink);
  border: 1px solid rgba(184, 148, 95, .28);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.proof-card strong {
  display: block;
  font-size: 28px;
  color: var(--spruce);
}

.proof-card span {
  color: #5b625e;
  font-size: 13px;
}

.trust-ribbon {
  background: var(--paper);
  border-bottom: 1px solid rgba(16, 25, 23, .1);
}

.trust-grid {
  width: min(var(--max), calc(100% - 40px));
  min-height: 86px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
}

.icon {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(184, 148, 95, .6);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--brass);
  font-weight: 900;
  flex: 0 0 auto;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
  margin-bottom: 34px;
}

.section-head p {
  max-width: 430px;
  margin: 0;
}

.service-preview {
  display: grid;
  grid-template-columns: 1.1fr repeat(4, 1fr);
  gap: 16px;
}

.intro-panel {
  min-height: 250px;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid rgba(16, 25, 23, .1);
  display: grid;
  align-content: space-between;
}

.service-card {
  min-height: 250px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(16, 25, 23, .1);
  box-shadow: var(--soft-shadow);
  display: grid;
  grid-template-rows: 130px auto;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card div {
  padding: 18px;
}

.service-card h3 {
  font-size: 20px;
}

.dark-band {
  background: var(--ink);
  color: var(--paper);
}

.dark-band p {
  color: rgba(255, 250, 242, .74);
}

.process-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 36px;
  align-items: center;
}

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

.step {
  min-height: 142px;
  padding: 24px;
  border: 1px solid rgba(184, 148, 95, .3);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
}

.step b {
  color: var(--brass);
}

.image-stack {
  position: relative;
}

.image-stack img,
.feature-photo img,
.rounded-photo {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}

.image-stack .small-note {
  position: absolute;
  left: -28px;
  bottom: -28px;
  width: 220px;
  padding: 18px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid rgba(16, 25, 23, .12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  align-items: stretch;
}

.quote-panel {
  padding: 42px;
  background: var(--paper);
  border: 1px solid rgba(16, 25, 23, .1);
  border-radius: var(--radius);
}

.quote-panel blockquote {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.25;
}

.project-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.mini-project {
  min-height: 210px;
  padding: 16px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(16, 25, 23, .08), rgba(16, 25, 23, .02)), var(--white);
  border: 1px solid rgba(16, 25, 23, .1);
  display: grid;
  align-content: end;
}

.final-cta {
  padding: 46px;
  background:
    linear-gradient(90deg, rgba(16, 25, 23, .94), rgba(36, 72, 62, .9)),
    url("../photos/optimized/contact-arrival.jpg") center / cover;
  color: var(--paper);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.final-cta p {
  color: rgba(255, 250, 242, .78);
}

.page-hero {
  padding: 90px 0;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .42;
  background: radial-gradient(circle at 82% 22%, rgba(184, 148, 95, .25), transparent 26%),
    linear-gradient(90deg, rgba(16, 25, 23, .96), rgba(16, 25, 23, .74));
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
}

.page-hero p {
  color: rgba(255, 250, 242, .78);
}

.split-hero {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 44px;
  align-items: center;
}

.split-hero img {
  height: 390px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.services-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.detail-card {
  min-height: 230px;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid rgba(16, 25, 23, .1);
  box-shadow: 0 4px 16px rgba(16, 25, 23, .05);
}

.detail-card h3 {
  margin-top: 20px;
}

.service-feature {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 32px;
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-row {
  padding: 18px 0;
  border-bottom: 1px solid rgba(16, 25, 23, .12);
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
}

.faq-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 28px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq {
  padding: 20px 24px;
  background: var(--paper);
  border: 1px solid rgba(16, 25, 23, .1);
  border-radius: var(--radius);
}

.form-page {
  background:
    linear-gradient(180deg, rgba(247, 242, 233, .96), rgba(247, 242, 233, .96)),
    url("../photos/optimized/request-planning.jpg") center / cover fixed;
}

.request-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  align-items: start;
}

.form-shell,
.side-panel,
.contact-card,
.map-panel {
  background: rgba(255, 250, 242, .96);
  border: 1px solid rgba(16, 25, 23, .12);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.form-shell {
  padding: 34px;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field label {
  font-size: 12px;
  font-weight: 900;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(16, 25, 23, .16);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  padding: 11px 12px;
}

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

.upload-box {
  min-height: 108px;
  border: 1px dashed rgba(36, 72, 62, .45);
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: #65716b;
  text-align: center;
  background: rgba(255, 255, 255, .72);
}

.file-input {
  width: 100%;
  min-height: 108px;
  border: 1px dashed rgba(36, 72, 62, .45);
  border-radius: 6px;
  padding: 36px 18px;
  background: rgba(255, 255, 255, .72);
  color: #65716b;
}

.form-notice {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding: 14px 16px;
  border-radius: 6px;
  background: rgba(36, 72, 62, .08);
  border: 1px solid rgba(36, 72, 62, .18);
  color: var(--spruce);
  font-weight: 800;
}

.side-panel {
  padding: 26px;
  display: grid;
  gap: 18px;
}

.next-step {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  align-items: start;
}

.next-step span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--brass);
  border-radius: 50%;
  color: var(--brass);
  font-weight: 900;
}

.about-story {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 44px;
  align-items: center;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.value {
  min-height: 170px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid rgba(16, 25, 23, .1);
  border-radius: var(--radius);
}

.value h3 {
  color: var(--ink);
}

.value p {
  color: #4c5651;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(184, 148, 95, .5);
}

.moment {
  padding: 26px 22px;
  border-right: 1px solid rgba(16, 25, 23, .12);
  position: relative;
}

.moment::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--copper);
  position: absolute;
  top: -6px;
  left: 22px;
}

.contact-layout {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 24px;
  align-items: start;
}

.contact-card {
  padding: 32px;
}

.contact-grid {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.contact-line {
  padding: 18px;
  background: rgba(36, 72, 62, .06);
  border: 1px solid rgba(36, 72, 62, .12);
  border-radius: var(--radius);
}

.map-panel {
  overflow: hidden;
}

.map-art {
  min-height: 320px;
  position: relative;
  background:
    linear-gradient(30deg, transparent 0 48%, rgba(36, 72, 62, .18) 49% 50%, transparent 51%),
    linear-gradient(120deg, transparent 0 47%, rgba(184, 148, 95, .18) 48% 49%, transparent 50%),
    #ebe6dc;
}

.map-art::before {
  content: "";
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(36, 72, 62, .5);
  background: rgba(36, 72, 62, .08);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.pin {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  background: var(--copper);
  border-radius: 50% 50% 50% 0;
  transform-origin: center;
  rotate: -45deg;
  box-shadow: 0 8px 20px rgba(231, 95, 33, .28);
}

.pin::after {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--white);
  position: absolute;
  left: 9px;
  top: 9px;
}

.map-panel img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.footer {
  background: #0b1412;
  color: var(--paper);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 1fr);
  gap: 34px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255, 250, 242, .13);
}

.footer a,
.footer p {
  color: rgba(255, 250, 242, .72);
}

.footer h3 {
  font-size: 18px;
  color: var(--paper);
}

.footer-links {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 250, 242, .54);
  font-size: 12px;
}

.portal-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 46px 0 70px;
}

.portal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 28px;
  align-items: end;
  padding: 36px 0 28px;
}

.portal-hero h1 {
  max-width: 760px;
  font-size: 64px;
  margin-bottom: 14px;
}

.portal-hero p {
  max-width: 700px;
  color: var(--steel);
  font-size: 18px;
  line-height: 1.7;
}

.portal-status,
.portal-panel,
.metric,
.record-card {
  border: 1px solid rgba(16, 25, 23, .11);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, .78);
  box-shadow: var(--soft-shadow);
}

.portal-status {
  padding: 24px;
  display: grid;
  gap: 8px;
}

.portal-status span,
.portal-status small,
.portal-note,
.record-card small {
  color: var(--steel);
}

.portal-status strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  line-height: 1.05;
}

.portal-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.metric {
  padding: 18px;
  display: grid;
  gap: 4px;
}

.metric strong {
  font-size: 28px;
}

.metric span {
  color: var(--steel);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.portal-panel {
  padding: 24px;
  margin-top: 18px;
}

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

.portal-grid-two .portal-panel {
  margin-top: 0;
}

.panel-heading,
.invoice-panel {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.panel-heading h2,
.portal-panel h2 {
  font-size: 30px;
  margin: 0 0 8px;
}

.portal-search,
.portal-form input,
.portal-form select,
.portal-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(16, 25, 23, .14);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  padding: 12px 14px;
}

.portal-form textarea {
  min-height: 108px;
  resize: vertical;
}

.portal-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.portal-form label,
.compact-field {
  display: grid;
  gap: 7px;
  color: var(--steel);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.portal-form .full {
  grid-column: 1 / -1;
}

.portal-form .btn {
  align-self: end;
}

.record-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.record-card {
  padding: 14px;
  display: grid;
  gap: 6px;
}

.record-card span {
  color: var(--spruce);
}

.record-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.btn-danger {
  background: #9b2f1f;
  color: var(--paper);
  border: 1px solid rgba(155, 47, 31, .4);
}

.receipt-record {
  grid-template-columns: 92px 1fr;
  align-items: center;
}

.receipt-record img {
  width: 92px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(16, 25, 23, .12);
}

.print-invoice {
  width: min(780px, calc(100% - 40px));
  margin: 40px auto;
  padding: 40px;
  background: var(--paper);
  border: 1px solid rgba(16, 25, 23, .12);
}

.print-head {
  display: flex;
  justify-content: space-between;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 14px;
  margin-bottom: 26px;
}

.print-invoice table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.print-invoice th,
.print-invoice td {
  border-bottom: 1px solid rgba(16, 25, 23, .16);
  padding: 12px;
  text-align: left;
}

.floating-cta {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 60;
  width: min(860px, calc(100% - 28px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 9px;
  background: rgba(11, 20, 18, .94);
  color: var(--paper);
  border: 1px solid rgba(184, 148, 95, .36);
  border-radius: var(--radius);
  box-shadow: 0 20px 54px rgba(0, 0, 0, .28);
  backdrop-filter: blur(16px);
}

.floating-link {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  color: var(--paper);
  border: 1px solid rgba(255, 250, 242, .2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

.floating-back {
  background: linear-gradient(135deg, #42f58d, #65e4ff);
  color: #03120a;
  border-color: #a8fff8;
  box-shadow: 0 0 0 2px rgba(66, 245, 141, .22), 0 0 24px rgba(101, 228, 255, .46), 0 10px 28px rgba(3, 18, 10, .24);
}

@media (max-width: 980px) {
  .nav-shell,
  .hero-grid,
  .split-hero,
  .process-grid,
  .testimonial-grid,
  .service-feature,
  .faq-grid,
  .request-layout,
  .about-story,
  .contact-layout,
  .footer-grid,
  .portal-hero,
  .portal-grid-two {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none;
  }

  h1,
  .display {
    font-size: 48px;
  }

  h2 {
    font-size: 34px;
  }

  .hero,
  .hero-grid {
    min-height: auto;
  }

  .hero-grid {
    padding: 90px 0;
  }

  .hero-proof {
    margin-bottom: 0;
  }

  .trust-grid,
  .service-preview,
  .services-board,
  .values-grid,
  .timeline,
  .portal-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .final-cta {
    grid-template-columns: 1fr;
  }

  .portal-form {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .nav-shell,
  .wrap,
  .trust-grid {
    width: min(100% - 28px, var(--max));
  }

  .nav-actions .btn-outline {
    display: none;
  }

  .trust-grid,
  .service-preview,
  .steps,
  .project-strip,
  .services-board,
  .values-grid,
  .timeline,
  .form-grid,
  .portal-metrics,
  .portal-form {
    grid-template-columns: 1fr;
  }

  h1,
  .display {
    font-size: 40px;
  }

  .portal-hero h1 {
    font-size: 40px;
  }

  .panel-heading,
  .invoice-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .receipt-record {
    grid-template-columns: 1fr;
  }

  .receipt-record img {
    width: 100%;
    height: 180px;
  }

  .floating-cta {
    display: grid;
    gap: 10px;
    bottom: 12px;
  }

  .floating-link {
    font-size: 12px;
  }
}

@media print {
  body {
    background: #fff;
    padding-bottom: 0;
  }

  .site-header,
  .floating-cta,
  .no-print {
    display: none !important;
  }

  .print-invoice {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
  }
}

.insights-hero {
  padding: 96px 0;
  background:
    linear-gradient(90deg, rgba(16, 25, 23, .95), rgba(36, 72, 62, .82)),
    url("../photos/optimized/request-planning.jpg") center / cover;
  color: var(--paper);
}

.insights-hero p {
  color: rgba(255, 250, 242, .78);
}

.insights-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 40px;
  align-items: end;
}

.insights-feature {
  padding: 26px;
  border: 1px solid rgba(184, 148, 95, .42);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, .92);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.insights-feature span,
.article-card-date,
.article-card-meta,
.article-meta-row {
  color: var(--copper);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.insights-feature strong {
  display: block;
  margin: 10px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.1;
}

.insights-feature a,
.article-return {
  color: var(--spruce);
  font-weight: 900;
}

.article-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.article-card a {
  min-height: 330px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 28px;
  border: 1px solid rgba(16, 25, 23, .11);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--soft-shadow);
}

.article-card h3 {
  font-size: 30px;
}

.article-card a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.article-page-hero {
  padding: 92px 0 76px;
  background:
    linear-gradient(90deg, rgba(16, 25, 23, .96), rgba(36, 72, 62, .78)),
    url("../photos/optimized/services-workbench.jpg") center / cover;
  color: var(--paper);
}

.article-page-hero h1 {
  max-width: 980px;
}

.article-page-hero p {
  color: rgba(255, 250, 242, .82);
}

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 20px;
  color: var(--brass);
}

.article-meta-row span {
  padding: 8px 10px;
  border: 1px solid rgba(184, 148, 95, .42);
  border-radius: 999px;
  background: rgba(255, 250, 242, .08);
}

.article-section {
  padding: 76px 0;
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 34px;
  align-items: start;
}

.article-prose {
  padding: 42px;
  border: 1px solid rgba(16, 25, 23, .1);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--soft-shadow);
}

.article-block {
  padding: 0 0 30px;
  margin: 0 0 30px;
  border-bottom: 1px solid rgba(16, 25, 23, .12);
}

.article-block:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.article-block h2 {
  margin-bottom: 12px;
  font-size: 34px;
}

.article-block p {
  margin: 0;
  font-size: 17px;
  line-height: 1.82;
}

.article-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-panel {
  padding: 26px;
  border: 1px solid rgba(16, 25, 23, .11);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.sidebar-panel h2 {
  font-size: 28px;
}

.sidebar-panel .btn {
  width: 100%;
  margin-top: 10px;
}

.article-return {
  display: inline-flex;
  margin-top: 18px;
}

.article-next-step {
  margin-top: 34px;
  padding: 28px;
  border: 1px solid rgba(184, 148, 95, .35);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(36, 72, 62, .08), rgba(255, 250, 242, .92)), var(--paper);
}

.article-next-step h2 {
  font-size: 30px;
  margin-bottom: 10px;
}

.article-next-step ul {
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.article-next-step a {
  color: var(--spruce);
  font-weight: 900;
}

@media (max-width: 980px) {
  .insights-hero-grid,
  .article-shell,
  .article-card-grid {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .article-prose {
    padding: 26px;
  }

  .article-card a {
    min-height: auto;
  }
}
.article-index {
  max-width: 920px;
}

.article-link-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  list-style: none;
}

.article-link-list li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 22px 24px;
  border: 1px solid rgba(16, 25, 23, .12);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--soft-shadow);
}

.article-link-list time {
  color: var(--copper);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.article-link-list a {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 28px;
  line-height: 1.14;
}

.article-link-list a:hover {
  color: var(--copper);
}

@media (max-width: 640px) {
  .article-link-list li {
    grid-template-columns: 1fr;
  }
}
.article-page-hero .btn-outline {
  background: var(--paper);
  color: var(--ink);
  border-color: rgba(255, 250, 242, .9);
}

.article-page-hero .btn-outline:hover,
.article-page-hero .btn-outline:focus-visible {
  background: var(--white);
  color: var(--ink);
}
