:root {
  color-scheme: light;
  --paper: #f7f3ec;
  --paper-deep: #efe6d9;
  --surface: #fffdf8;
  --surface-2: #fbf6ee;
  --ink: #241f1b;
  --graphite: #34312d;
  --muted: #746b61;
  --line: #e1d6c8;
  --line-strong: #cbbba8;
  --walnut: #5b3424;
  --walnut-2: #7a4b32;
  --wood: #b88755;
  --moss: #334238;
  --moss-dark: #202d26;
  --white: #ffffff;
  --max: 1180px;
  --radius: 8px;
  --shadow-soft: 0 18px 45px rgba(40, 31, 22, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  line-height: 1.58;
  text-rendering: optimizeLegibility;
}

body:has(.modal:not([hidden])) {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

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

h1,
h2,
h3,
.brand strong,
.stat strong {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 650;
  letter-spacing: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-size: clamp(40px, 5.1vw, 70px);
  line-height: 0.98;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4.1vw, 58px);
  line-height: 1.04;
}

h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.16;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  border-radius: var(--radius);
  padding: 10px 14px;
  background: var(--moss-dark);
  color: var(--white);
  font-weight: 800;
  transition: transform 160ms ease;
}

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

:focus-visible {
  outline: 3px solid rgba(184, 135, 85, 0.9);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(88, 65, 45, 0.13);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(16px);
}

.header-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 8px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(88, 65, 45, 0.1);
  color: var(--muted);
  font-size: 13px;
}

.header-main {
  display: grid;
  grid-template-columns: minmax(300px, auto) 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(18px, 4vw, 48px);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
}

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(184, 135, 85, 0.38);
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--moss) 0%, var(--moss-dark) 100%);
  color: var(--white);
}

.brand-mark svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-width: 3;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--graphite);
  font-size: 22px;
  line-height: 1.05;
}

.brand small {
  max-width: 330px;
  color: var(--muted);
  font-size: 12.5px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.4vw, 36px);
  color: var(--graphite);
  font-size: 15px;
}

.main-nav a,
.header-phone {
  border-bottom: 1px solid transparent;
  padding: 8px 0;
  transition: border-color 160ms ease, color 160ms ease;
}

.main-nav a:hover,
.main-nav a.active,
.header-phone:hover {
  border-color: var(--wood);
  color: var(--walnut);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone {
  color: var(--walnut);
  font-weight: 850;
  white-space: nowrap;
}

.header-cta {
  min-height: 42px;
  border: 1px solid rgba(91, 52, 36, 0.42);
  border-radius: var(--radius);
  padding: 10px 15px;
  color: var(--walnut);
  font-weight: 850;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.header-cta:hover {
  border-color: var(--walnut);
  background: var(--walnut);
  color: var(--white);
}

.hero {
  position: relative;
  display: grid;
  min-height: min(700px, calc(100vh - 111px));
  align-content: end;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(68px, 10vh, 118px) clamp(18px, 4vw, 48px) clamp(34px, 6vw, 62px);
  background:
    linear-gradient(90deg, rgba(20, 15, 12, 0.78) 0%, rgba(20, 15, 12, 0.56) 44%, rgba(20, 15, 12, 0.26) 100%),
    linear-gradient(180deg, rgba(20, 15, 12, 0.12) 0%, rgba(20, 15, 12, 0.78) 100%),
    var(--hero-image) center / cover no-repeat;
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 44%;
  background: linear-gradient(180deg, transparent, rgba(20, 15, 12, 0.52));
}

.hero-content {
  width: min(860px, 100%);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--walnut-2);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e8c494;
}

.hero-text,
.page-hero p,
.service-card p,
.work-card p,
.faq-item p,
.process-item p,
.contact-copy p,
.form-head p {
  color: var(--muted);
}

.hero-text {
  max-width: 720px;
  margin-bottom: 24px;
  color: rgba(255, 253, 248, 0.86);
  font-size: clamp(17px, 1.4vw, 20px);
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 19px;
  background: transparent;
  color: inherit;
  font-weight: 850;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

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

.button-primary {
  background: var(--walnut);
  color: var(--white);
}

.button-primary:hover {
  background: #47291d;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 253, 248, 0.08);
  color: var(--white);
}

.button-secondary:hover {
  border-color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 253, 248, 0.14);
}

.section .button-secondary,
.contact-band .button-secondary,
.lead-form .button-secondary {
  border-color: var(--line-strong);
  color: var(--walnut);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--walnut);
  font-weight: 850;
  transition: color 160ms ease;
}

.text-link::after {
  content: "→";
}

.text-link:hover {
  color: var(--wood);
}

.hero-stats,
.hero-proof {
  display: grid;
  width: min(900px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(20, 15, 12, 0.34);
  backdrop-filter: blur(10px);
}

.hero-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 14px;
}

.stat {
  padding: 14px 18px;
}

.stat + .stat,
.hero-proof div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.stat strong {
  display: block;
  color: #f0c58d;
  font-size: 32px;
  line-height: 1;
}

.stat span,
.hero-proof dd {
  color: rgba(255, 253, 248, 0.84);
  font-size: 14px;
}

.hero-proof {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-proof div {
  padding: 12px 18px;
}

.hero-proof dt {
  color: #e8c494;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-proof dd {
  margin: 4px 0 0;
}

.section,
.page-hero,
.contact-section,
.contact-band {
  padding: clamp(72px, 8vw, 122px) clamp(18px, 4vw, 48px);
}

.section > *,
.page-hero > *,
.contact-band > * {
  max-width: var(--max);
}

.page-hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(184, 135, 85, 0.12), transparent 42%),
    var(--surface);
}

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

.page-hero p {
  max-width: 700px;
  font-size: 18px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 92px);
  align-items: start;
  background: var(--moss-dark);
  color: var(--surface);
}

.intro > * {
  max-width: none;
}

.intro .eyebrow,
.contact-copy .eyebrow,
.contact-band .eyebrow {
  color: #d8bc96;
}

.intro p:last-child {
  max-width: 760px;
  color: #e5ddd2;
  font-size: 21px;
}

.section-head {
  max-width: 860px;
  margin-bottom: 38px;
}

.section-head-row {
  display: flex;
  max-width: var(--max);
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-note {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.services-list {
  display: grid;
  max-width: var(--max);
  gap: 14px;
}

.service-card {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: clamp(18px, 4vw, 46px);
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.76);
  padding: clamp(22px, 3vw, 32px);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.service-card:hover {
  border-color: rgba(122, 75, 50, 0.34);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.service-card span {
  color: var(--walnut-2);
  font-weight: 900;
}

.service-card h3 {
  max-width: 560px;
}

.service-card p {
  max-width: 760px;
  margin-bottom: 14px;
}

.clean-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.clean-list li {
  border: 1px solid rgba(203, 187, 168, 0.72);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(247, 243, 236, 0.7);
  color: var(--graphite);
  font-size: 13px;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}

.services-tiles {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-tiles .service-card {
  grid-template-columns: 1fr;
  min-height: 280px;
}

.services-tiles .service-card > span {
  margin-bottom: 22px;
}

.services-tiles .service-card h3 {
  max-width: 280px;
  font-size: 25px;
}

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

.home-portfolio {
  background:
    linear-gradient(90deg, rgba(91, 52, 36, 0.055) 1px, transparent 1px) 0 0 / 120px 100%,
    var(--paper-deep);
}

.portfolio-carousel {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: clamp(24px, 4vw, 56px);
  max-width: var(--max);
  outline: 0;
}

.carousel-stage {
  position: relative;
  min-width: 0;
}

.carousel-media {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  cursor: zoom-in;
}

.carousel-media img,
.work-card img,
.carousel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #ded5ca;
}

.carousel-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(36, 31, 27, 0.48);
  color: var(--white);
  font: 500 34px system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 160ms ease, transform 160ms ease;
}

.carousel-arrow:hover {
  background: rgba(36, 31, 27, 0.72);
}

.carousel-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.carousel-arrow-prev {
  left: 18px;
}

.carousel-arrow-next {
  right: 18px;
}

.carousel-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  min-height: 100%;
  border-top: 1px solid rgba(91, 52, 36, 0.22);
  border-bottom: 1px solid rgba(91, 52, 36, 0.22);
  padding: clamp(22px, 4vw, 38px) 0;
}

.carousel-kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--walnut-2);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.carousel-panel h3 {
  max-width: 460px;
  margin-bottom: 16px;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1;
}

.carousel-panel p {
  max-width: 430px;
  margin: 0;
  color: #5d5248;
  font-size: 18px;
}

.carousel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.carousel-count {
  display: flex;
  align-items: baseline;
  gap: 7px;
  color: var(--walnut);
  font-weight: 800;
  font-size: 28px;
}

.carousel-count span:not(:first-child) {
  color: rgba(91, 52, 36, 0.5);
  font-size: 18px;
}

.carousel-progress {
  overflow: hidden;
  height: 2px;
  background: rgba(91, 52, 36, 0.18);
}

.carousel-progress span {
  display: block;
  height: 100%;
  background: var(--walnut);
  transition: width 220ms ease;
}

.carousel-thumbs {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 10px;
  border-top: 1px solid rgba(91, 52, 36, 0.18);
  padding-top: 18px;
}

.carousel-thumb {
  position: relative;
  overflow: hidden;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0 0 10px;
  background: transparent;
  color: var(--walnut);
  cursor: pointer;
  opacity: 0.62;
  transition: opacity 160ms ease, border-color 160ms ease;
}

.carousel-thumb:hover,
.carousel-thumb.active {
  border-color: var(--walnut);
  opacity: 1;
}

.carousel-thumb img {
  height: clamp(64px, 7vw, 96px);
}

.carousel-thumb span {
  display: block;
  margin-top: 8px;
  text-align: left;
  font-size: 12px;
  font-weight: 850;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: var(--max);
  margin: 0 auto 32px;
}

.filter-button {
  border: 1px solid rgba(91, 52, 36, 0.26);
  border-radius: 999px;
  padding: 9px 14px;
  background: rgba(255, 253, 248, 0.58);
  color: var(--walnut);
  font-weight: 800;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.filter-button.active,
.filter-button:hover {
  border-color: var(--walnut);
  background: var(--walnut);
  color: var(--white);
}

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

.work-card {
  overflow: hidden;
  border: 1px solid rgba(203, 187, 168, 0.85);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: zoom-in;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.work-card:hover {
  border-color: rgba(91, 52, 36, 0.34);
  box-shadow: var(--shadow-soft);
  transform: translateY(-2px);
}

.work-card[hidden] {
  display: none;
}

.work-card img {
  transition: filter 160ms ease, transform 220ms ease;
}

.work-card:hover img {
  filter: saturate(1.04) contrast(1.02);
  transform: scale(1.015);
}

.work-media {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.work-card > div:not(.work-media) {
  padding: 18px;
}

.work-card span {
  display: block;
  margin-bottom: 7px;
  color: var(--walnut-2);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.work-card h3 {
  font-size: 24px;
}

.work-card p {
  margin-bottom: 0;
}

.process-section {
  background: var(--surface);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: var(--max);
}

.process-list.full {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.process-simple-section {
  background: var(--surface);
}

.process-simple-list {
  display: grid;
  max-width: 980px;
  gap: 12px;
}

.process-item {
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(22px, 3vw, 30px);
}

.process-simple-list .process-item {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: clamp(20px, 5vw, 72px);
  min-height: auto;
}

.process-item strong {
  display: block;
  margin-bottom: 34px;
  color: var(--walnut-2);
  font-size: 13px;
  font-weight: 900;
}

.process-simple-list .process-item strong {
  margin: 5px 0 0;
}

.process-item p {
  margin-bottom: 16px;
}

.process-result {
  display: inline-flex;
  border-top: 1px solid var(--line);
  padding-top: 10px;
  color: var(--moss);
  font-size: 14px;
  font-weight: 850;
}

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: var(--max);
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.72);
  padding: 24px;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 520px);
  gap: clamp(28px, 6vw, 88px);
  min-height: calc(100vh - 111px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(184, 135, 85, 0.16), transparent 44%),
    var(--moss-dark);
  color: var(--surface);
}

.contact-copy h1 {
  max-width: 760px;
}

.contact-copy p {
  max-width: 640px;
  color: #e5ddd2;
  font-size: 18px;
}

.contact-list {
  display: grid;
  gap: 0;
  max-width: 560px;
  margin: 34px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-list div {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 15px 0;
}

.contact-list dt {
  color: #d8bc96;
}

.contact-list dd {
  margin: 4px 0 0;
  color: var(--surface);
  font-size: 20px;
  font-weight: 850;
}

.messenger-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.messenger-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: var(--surface);
  font-weight: 850;
  transition: background 160ms ease, border-color 160ms ease;
}

.messenger-button span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: rgba(216, 188, 150, 0.18);
  color: #f1d1a7;
  font-size: 11px;
}

.messenger-button:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.lead-form {
  display: grid;
  gap: 16px;
  align-self: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  color: var(--ink);
}

.form-head h2 {
  margin-bottom: 6px;
  font-size: 34px;
}

.form-head p {
  margin-bottom: 0;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--graphite);
  font-weight: 850;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  background: var(--white);
  color: var(--ink);
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input[type="file"] {
  border-style: dashed;
  background: var(--surface-2);
  cursor: pointer;
}

.lead-form input:focus,
.lead-form textarea:focus {
  border-color: var(--wood);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(184, 135, 85, 0.18);
}

.file-hint {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
}

.form-status.success {
  color: #1f6f42;
}

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

.lead-form.is-loading {
  opacity: 0.78;
}

.lead-form.is-loading .button {
  cursor: wait;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: var(--moss-dark);
  color: var(--surface);
}

.contact-band > div {
  max-width: 760px;
}

.contact-band p {
  color: #e5ddd2;
}

.contact-band .button {
  min-height: 62px;
  padding: 17px 30px;
  font-size: 18px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(18, 14, 11, 0.88);
}

.modal[hidden] {
  display: none;
}

.modal figure {
  width: min(1080px, 100%);
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
}

.modal img {
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
  background: #0d0b09;
}

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

.modal-close {
  position: fixed;
  top: 20px;
  right: 22px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.22);
  color: var(--white);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.modal-close span {
  transform: translateY(-1px);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 4vw, 48px);
  background: #171512;
  color: #eee6dc;
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-footer a,
.site-footer span {
  color: #d0c7bb;
}

@media (max-width: 1060px) {
  .header-main {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }
}

@media (max-width: 980px) {
  .intro,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 660px;
  }

  .portfolio-carousel {
    grid-template-columns: 1fr;
  }

  .carousel-panel {
    min-height: auto;
  }

  .carousel-panel h3,
  .carousel-panel p {
    max-width: 680px;
  }

  .carousel-thumbs {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

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

  .works-grid,
  .process-list,
  .process-list.full,
  .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header {
    position: static;
  }

  .header-top {
    display: none;
  }

  .header-main {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
  }

  .brand {
    width: 100%;
  }

  .brand small {
    max-width: 250px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    gap: 18px;
  }

  .header-actions {
    order: 2;
    width: 100%;
    justify-content: space-between;
  }

  .header-cta {
    min-height: 40px;
  }

  h1 {
    font-size: clamp(39px, 11vw, 52px);
  }

  .hero {
    min-height: 690px;
    padding-top: 72px;
    background-position: 58% center;
  }

  .hero-stats,
  .hero-proof,
  .services-tiles,
  .works-grid,
  .process-list,
  .process-list.full,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .stat + .stat,
  .hero-proof div + div {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .section-note {
    font-size: 16px;
  }

  .carousel-media {
    aspect-ratio: 4 / 3;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
    font-size: 28px;
  }

  .carousel-arrow-prev {
    left: 10px;
  }

  .carousel-arrow-next {
    right: 10px;
  }

  .carousel-panel {
    gap: 24px;
  }

  .carousel-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .carousel-thumbs {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .carousel-thumb {
    flex: 0 0 116px;
  }

  .service-card,
  .process-simple-list .process-item {
    grid-template-columns: 1fr;
  }

  .services-tiles .service-card {
    min-height: auto;
  }

  .section-head-row,
  .contact-band {
    display: block;
  }

  .section-head-row .text-link {
    margin-top: 12px;
  }

  .contact-band .button {
    margin-top: 18px;
  }

  .messenger-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .header-actions,
  .hero-actions,
  .messenger-actions {
    grid-template-columns: 1fr;
  }

  .header-actions {
    display: grid;
  }

  .button,
  .header-cta,
  .messenger-button {
    width: 100%;
  }

  .hero {
    min-height: 720px;
  }
}
