@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800;900&display=swap");

:root {
  --ink: #0d1117;
  --ink-2: #111318;
  --panel: #151515;
  --paper: #f7f4ef;
  --soft: #f3f0ea;
  --muted: #65707a;
  --line: rgba(10, 17, 24, 0.14);
  --line-dark: rgba(255, 255, 255, 0.16);
  --gold: #c98a3a;
  --gold-light: #d49a4a;
  --white: #ffffff;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.26);
  --page: max(48px, calc((100vw - 1290px) / 2));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0;
}

body,
button,
input,
select,
textarea {
  letter-spacing: 0;
}

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

[hidden] {
  display: none !important;
}

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

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

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 610px;
  color: var(--white);
  font-size: 4.25rem;
  font-weight: 900;
  line-height: 1.04;
}

h2 {
  color: inherit;
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.12;
}

h3 {
  color: inherit;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.25;
}

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

.site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 26px var(--page);
  color: var(--white);
}

.brand {
  display: inline-grid;
  gap: 2px;
  min-width: max-content;
  color: var(--white);
}

.brand-word {
  font-size: 2.55rem;
  font-weight: 500;
  line-height: 1;
}

.brand small {
  color: var(--gold-light);
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  font-weight: 900;
  transition: color 180ms ease;
}

.nav-quote {
  display: none;
}

.nav a::after {
  position: absolute;
  right: 0;
  bottom: -12px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  opacity: 0;
  transform: scaleX(0.3);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav a:hover,
.nav a:focus-visible,
.nav a.is-current {
  color: var(--gold-light);
  outline: none;
}

.nav a:hover::after,
.nav a:focus-visible::after,
.nav a.is-current::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 34px;
  border-radius: 4px;
  color: var(--white);
  background: linear-gradient(135deg, var(--gold), #ad6f25);
  font-weight: 900;
  box-shadow: 0 12px 32px rgba(200, 136, 50, 0.22);
  transition: transform 180ms ease, filter 180ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-2px);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  color: var(--white);
  background: rgba(10, 17, 24, 0.72);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
}

.nav-toggle-icon {
  display: grid;
  gap: 4px;
}

.nav-toggle-icon span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.nav-toggle-text {
  display: none;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 730px;
  display: flex;
  align-items: center;
  padding: 132px var(--page) 156px;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  filter: brightness(1.1) contrast(1.04) saturate(1.06);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 10, 15, 0.95) 0%, rgba(5, 10, 15, 0.74) 36%, rgba(5, 10, 15, 0.08) 78%),
    linear-gradient(180deg, rgba(5, 10, 15, 0.22) 0%, rgba(5, 10, 15, 0.58) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(610px, 100%);
  padding-top: 42px;
}

.hero-content p {
  max-width: 560px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  font-weight: 600;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  gap: 10px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 0.92rem;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--gold), #ad6f25);
}

.button-outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(10, 17, 24, 0.42);
}

.button-outline:hover,
.button-outline:focus-visible {
  border-color: var(--gold-light);
  background: rgba(200, 136, 50, 0.16);
}

.stats-panel {
  position: relative;
  z-index: 5;
  padding: 0 var(--page);
  background: linear-gradient(180deg, transparent 0 50%, var(--paper) 50% 100%);
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1290px;
  margin: -82px auto 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    #171819;
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.stats-inner article {
  display: flex;
  min-height: 108px;
  gap: 18px;
  align-items: center;
  justify-content: center;
  padding: 22px;
  color: var(--white);
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.stats-inner article:last-child {
  border-right: 0;
}

.stats-inner svg {
  width: 34px;
  height: 34px;
  color: var(--gold-light);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.stats-inner strong {
  display: block;
  color: var(--gold-light);
  font-size: 1.72rem;
  font-weight: 900;
  line-height: 1;
}

.stats-inner span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.76rem;
  font-weight: 800;
}

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

.section-dark {
  color: var(--white);
  background:
    radial-gradient(circle at 15% 0%, rgba(200, 136, 50, 0.11), transparent 34%),
    linear-gradient(135deg, #10161d, #111111);
}

.portfolio {
  padding: 92px var(--page) 74px;
}

.portfolio-head {
  display: grid;
  max-width: 1290px;
  margin: 0 auto 28px;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}

.portfolio-head p {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.portfolio-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.chip {
  min-width: 112px;
  min-height: 34px;
  padding: 0 17px;
  border: 1px solid rgba(10, 17, 24, 0.17);
  border-radius: 6px;
  color: #60676d;
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 800;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.chip:hover,
.chip:focus-visible,
.chip.is-active {
  color: var(--white);
  border-color: var(--gold);
  background: var(--gold);
  transform: translateY(-1px);
  outline: none;
}

.portfolio-grid {
  display: grid;
  max-width: 1290px;
  margin: 0 auto;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(10, 17, 24, 0.14);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(17, 19, 24, 0.92), rgba(28, 31, 35, 0.94)),
    #111318;
  box-shadow: 0 20px 50px rgba(10, 17, 24, 0.11);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.portfolio-card:hover,
.portfolio-card:focus-within {
  border-color: rgba(200, 136, 50, 0.5);
  box-shadow: 0 24px 58px rgba(10, 17, 24, 0.16);
  transform: translateY(-5px);
}

.portfolio-card.is-hidden {
  display: none;
}

.portfolio-card img {
  width: 100%;
  height: 330px;
  object-fit: cover;
  transition: transform 340ms ease, filter 340ms ease;
}

.portfolio-card-featured {
  grid-column: span 3;
  grid-row: span 2;
}

.portfolio-card-featured img {
  height: 100%;
  min-height: 704px;
}

.portfolio-card:nth-child(2),
.portfolio-card:nth-child(3) {
  grid-column: span 3;
}

.portfolio-card:nth-child(n + 4) {
  grid-column: span 2;
}

.portfolio-card:hover img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.045);
}

.card-badge {
  position: absolute;
  top: 16px;
  left: 18px;
  padding: 7px 11px;
  border-radius: 5px;
  color: var(--white);
  background: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
}

.portfolio-body {
  min-height: 150px;
  padding: 24px 22px 22px;
  color: var(--ink);
  background: var(--white);
}

.portfolio-card-featured .portfolio-body {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--white);
  background: rgba(10, 17, 24, 0.78);
  backdrop-filter: blur(14px);
}

.portfolio-body h3 {
  font-size: 1.16rem;
}

.portfolio-body p {
  margin-top: 9px;
  color: #596169;
  font-size: 0.98rem;
  font-weight: 700;
}

.portfolio-body span {
  display: block;
  margin-top: 15px;
  color: #4d5964;
  font-size: 0.86rem;
  font-weight: 800;
}

.portfolio-card-featured .portfolio-body p,
.portfolio-card-featured .portfolio-body span {
  color: rgba(255, 255, 255, 0.82);
}

.extra-gallery summary {
  display: flex;
  width: max-content;
  margin: 0 auto;
  gap: 12px;
  align-items: center;
  list-style: none;
  color: #8f5f25;
  font-weight: 900;
  cursor: pointer;
}

.extra-gallery summary::-webkit-details-marker {
  display: none;
}

.extra-gallery {
  max-width: 1290px;
  margin: 34px auto 0;
  padding: 0;
}

.extra-gallery[open] {
  padding: 28px;
  border: 1px solid rgba(10, 17, 24, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 20px 58px rgba(10, 17, 24, 0.08);
}

.extra-gallery-head {
  display: grid;
  max-width: 820px;
  gap: 10px;
  margin-bottom: 22px;
}

.extra-gallery-head > span {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.extra-gallery-head h3 {
  color: var(--ink);
  font-size: 2rem;
}

.extra-gallery-head p {
  color: var(--muted);
  font-weight: 700;
}

.extra-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.extra-gallery figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(10, 17, 24, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(17, 19, 24, 0.92), rgba(39, 42, 45, 0.92)),
    #10151b;
  box-shadow: 0 12px 28px rgba(10, 17, 24, 0.08);
}

.extra-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: filter 240ms ease, transform 240ms ease;
}

.extra-gallery figure:hover img {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.045);
}

.extra-gallery figcaption {
  min-height: 62px;
  padding: 12px;
  color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(180deg, rgba(16, 21, 27, 0.96), rgba(16, 21, 27, 1));
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
}

.extra-gallery-cta {
  width: max-content;
  margin-top: 24px;
}

.why {
  display: grid;
  grid-template-columns: minmax(230px, 0.8fr) minmax(0, 2.8fr);
  gap: 54px;
  padding: 62px var(--page);
}

.why-intro p {
  max-width: 360px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 42px;
}

.why-grid svg,
.process-steps svg {
  width: 46px;
  height: 46px;
  color: var(--gold-light);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.why-grid h3 {
  margin-top: 18px;
}

.why-grid p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.96rem;
  font-weight: 600;
}

.process {
  display: grid;
  grid-template-columns: minmax(250px, 0.55fr) minmax(0, 2.45fr);
  gap: 42px;
  padding: 70px var(--page);
}

.process-intro p,
.trust-intro p,
.quote-intro p {
  max-width: 360px;
  margin-top: 16px;
  color: var(--muted);
  font-weight: 700;
}

.process-steps {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  list-style: none;
}

.process-steps li {
  position: relative;
}

.process-steps li:not(:last-child)::after {
  position: absolute;
  top: 23px;
  right: -14px;
  width: 42px;
  border-top: 1px dashed rgba(10, 17, 24, 0.34);
  content: "";
}

.process-steps span {
  display: grid;
  width: 42px;
  height: 42px;
  margin: 20px 0 14px;
  place-items: center;
  border: 1px solid rgba(200, 136, 50, 0.55);
  border-radius: 50%;
  color: var(--gold);
  font-weight: 900;
}

.process-steps p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 700;
}

.details {
  display: grid;
  grid-template-columns: minmax(250px, 0.65fr) minmax(0, 2.35fr);
  gap: 42px;
  padding: 66px var(--page);
}

.details-intro p {
  max-width: 390px;
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.details-intro .button {
  margin-top: 30px;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.details-grid article {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    #111318;
}

.details-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.03);
}

.details-grid h3 {
  margin: 18px 18px 0;
  color: var(--white);
  font-size: 1.1rem;
}

.details-grid p {
  margin: 8px 18px 20px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  font-weight: 600;
}

.trust {
  display: grid;
  grid-template-columns: minmax(250px, 0.65fr) minmax(0, 2.35fr);
  gap: 42px;
  padding: 72px var(--page);
}

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

.review-grid article {
  min-height: 210px;
  padding: 26px;
  border: 1px solid rgba(10, 17, 24, 0.11);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 42px rgba(10, 17, 24, 0.07);
}

.review-grid strong {
  color: var(--gold);
  font-size: 2.4rem;
  line-height: 1;
}

.review-grid p {
  margin-top: 8px;
  color: #4d5660;
  font-size: 0.92rem;
  font-weight: 600;
}

.review-grid span {
  display: block;
  margin-top: 18px;
  color: #20262d;
  font-size: 0.84rem;
  font-weight: 800;
}

.review-grid small {
  display: block;
  margin-top: 12px;
  color: var(--gold);
}

.cta-panel {
  position: relative;
  max-width: 1290px;
  min-height: 292px;
  margin: 10px auto 0;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  color: var(--white);
  background: var(--ink);
}

.cta-panel > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.cta-panel::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(10, 17, 24, 0.96) 0%, rgba(10, 17, 24, 0.86) 45%, rgba(10, 17, 24, 0.28) 100%);
}

.cta-copy {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 46px;
}

.cta-copy p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
}

.cta-actions a:not(.button) {
  display: inline-flex;
  min-width: 0;
  min-height: 52px;
  gap: 12px;
  align-items: center;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
  line-height: 1.35;
}

.cta-actions a:not(.button) span:first-child {
  flex: 0 0 auto;
  color: var(--gold-light);
  font-size: 1.5rem;
}

.cta-actions a:not(.button) span:last-child {
  overflow-wrap: anywhere;
}

.quote {
  padding: 74px var(--page) 82px;
}

.quote-intro {
  max-width: 1290px;
  margin: 0 auto 24px;
}

.quote-form {
  display: grid;
  max-width: 1290px;
  margin: 0 auto;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(10, 17, 24, 0.12);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(10, 17, 24, 0.08);
}

.quote-form label {
  display: grid;
  gap: 8px;
}

.quote-form label.full,
.quote-form .form-submit,
.quote-form .form-note,
.quote-form .form-status {
  grid-column: 1 / -1;
}

.quote-form label span {
  color: #5d6670;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid rgba(10, 17, 24, 0.14);
  border-radius: 6px;
  color: var(--ink);
  background: #f8f7f2;
  outline: none;
}

.quote-form textarea {
  min-height: 132px;
  padding-top: 13px;
  resize: vertical;
}

.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200, 136, 50, 0.14);
}

.form-submit {
  width: 100%;
}

.form-note {
  color: var(--muted);
  font-size: 0.84rem;
}

.form-status {
  min-height: 24px;
  color: #8f5f25;
  font-weight: 900;
}

.form-status.is-error {
  color: #9e2f1f;
}

.form-status a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--page);
  color: rgba(255, 255, 255, 0.65);
  background: #111111;
  font-size: 0.82rem;
}

.footer-brand .brand-word {
  font-size: 1.9rem;
}

@media (max-width: 1120px) {
  :root {
    --page: 28px;
  }

  .site-header {
    grid-template-columns: auto auto auto;
  }

  h1 {
    font-size: 3.55rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .nav-toggle {
    display: flex;
    justify-self: end;
  }

  .nav {
    position: absolute;
    top: calc(100% - 4px);
    right: var(--page);
    left: var(--page);
    display: none;
    padding: 14px;
    flex-direction: column;
    gap: 8px;
    border: 1px solid var(--line-dark);
    border-radius: 8px;
    background: rgba(10, 17, 24, 0.96);
    box-shadow: var(--shadow);
  }

  body.nav-open .nav {
    display: flex;
  }

  .nav a {
    padding: 12px 6px;
    font-size: 1.02rem;
  }

  .nav a::after {
    display: none;
  }

  .nav-quote {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin-top: 6px;
    border-radius: 6px;
    color: var(--white) !important;
    background: linear-gradient(135deg, var(--gold), #ad6f25);
  }

  .portfolio-head,
  .why,
  .process,
  .details,
  .trust {
    grid-template-columns: 1fr;
  }

  .portfolio-controls {
    justify-content: flex-start;
  }

  .portfolio-grid,
  .extra-gallery-grid,
  .why-grid,
  .process-steps,
  .details-grid,
  .review-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-card-featured {
    grid-column: span 2;
    grid-row: auto;
  }

  .portfolio-card:nth-child(2),
  .portfolio-card:nth-child(3),
  .portfolio-card:nth-child(n + 4) {
    grid-column: span 1;
  }

  .portfolio-card-featured img {
    min-height: 520px;
  }

  .quote-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-steps li::after {
    display: none;
  }
}

@media (max-width: 720px) {
  :root {
    --page: 16px;
  }

  .site-header {
    position: absolute;
    display: grid;
    grid-template-columns: auto auto;
    gap: 10px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .site-header::after {
    position: absolute;
    top: 14px;
    right: 16px;
    z-index: 90;
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(212, 154, 74, 0.62);
    border-radius: 50%;
    color: var(--white);
    content: "☰";
    background: rgba(10, 17, 24, 0.94);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.26);
    font-size: 1.42rem;
    line-height: 1;
    pointer-events: none;
  }

  body.nav-open .site-header::after {
    content: "×";
  }

  .nav-toggle {
    position: static;
    z-index: 80;
    display: flex !important;
    width: 46px;
    min-width: 0;
    height: 46px;
    padding: 0;
    flex-direction: column;
    justify-self: end;
    border-radius: 50%;
    border-color: rgba(212, 154, 74, 0.55);
    background: rgba(10, 17, 24, 0.92);
  }

  .nav-toggle-text {
    display: none;
  }

  .brand-word {
    font-size: 1.72rem;
  }

  .brand small {
    font-size: 0.6rem;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 650px;
    align-items: flex-start;
    padding-top: 104px;
    padding-bottom: 118px;
  }

  .hero-bg {
    object-position: 67% center;
    filter: brightness(1.18) contrast(1.05) saturate(1.08);
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(6, 12, 18, 0.92) 0%, rgba(6, 12, 18, 0.7) 56%, rgba(6, 12, 18, 0.24) 100%),
      linear-gradient(180deg, rgba(6, 12, 18, 0.14) 0%, rgba(6, 12, 18, 0.64) 100%);
  }

  h1 {
    max-width: 10ch;
    font-size: 2.85rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-content {
    padding-top: 8px;
  }

  .hero-content p {
    max-width: 340px;
    margin-top: 18px;
    font-size: 1rem;
  }

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

  .hero-actions {
    margin-top: 28px;
    gap: 12px;
  }

  .stats-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: -82px;
  }

  .stats-inner article {
    min-height: 108px;
    justify-content: flex-start;
    padding: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .stats-inner article:nth-child(2n) {
    border-right: 0;
  }

  .stats-inner article:nth-child(n + 3) {
    border-bottom: 0;
  }

  .stats-inner svg {
    display: none;
  }

  .portfolio {
    padding-top: 74px;
  }

  .portfolio-controls {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
  }

  .chip {
    min-width: max-content;
  }

  .extra-gallery[open] {
    padding: 16px;
  }

  .extra-gallery summary {
    width: 100%;
    justify-content: center;
  }

  .extra-gallery-head h3 {
    font-size: 1.65rem;
  }

  .portfolio-grid,
  .why-grid,
  .process-steps,
  .details-grid,
  .review-grid,
  .quote-form {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    gap: 18px;
  }

  .portfolio-card,
  .portfolio-card-featured,
  .portfolio-card:nth-child(2),
  .portfolio-card:nth-child(3),
  .portfolio-card:nth-child(n + 4) {
    grid-column: auto;
  }

  .portfolio-card img,
  .portfolio-card-featured img {
    height: 290px;
    min-height: 0;
  }

  .portfolio-card-featured .portfolio-body {
    position: static;
    border: 0;
    border-radius: 0;
    color: var(--ink);
    background: var(--white);
    backdrop-filter: none;
  }

  .portfolio-card-featured .portfolio-body p,
  .portfolio-card-featured .portfolio-body span {
    color: #596169;
  }

  .extra-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .extra-gallery figcaption {
    min-height: 74px;
    padding: 10px;
    font-size: 0.72rem;
  }

  .extra-gallery-cta {
    width: 100%;
  }

  .card-badge {
    top: 14px;
    bottom: auto;
  }

  .why,
  .process,
  .details,
  .trust,
  .quote {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .cta-panel {
    margin: 0;
    border-radius: 0;
  }

  .cta-copy {
    padding: 36px 16px;
  }

  .cta-actions,
  .cta-actions a:not(.button) {
    width: 100%;
  }

  .cta-actions a:not(.button) {
    justify-content: center;
  }

  .quote-form {
    padding: 16px;
  }

  .quote-form label.full,
  .quote-form .form-submit,
  .quote-form .form-note,
  .quote-form .form-status {
    grid-column: auto;
  }
}
