:root {
  --primary: #D0AE95;
  --secondary: #E4C6AC;
  --brown: #4D2D18;
  --accent: #BA8975;
  --black: #000000;
  --white: #FFFFFF;
  --cream: #FBF7F2;
  --soft: #F4E8DD;
  --line: rgba(77, 45, 24, 0.14);
  --shadow: 0 22px 60px rgba(77, 45, 24, 0.12);
  --font-body: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--brown);
  background: var(--white);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

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

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 84px 0;
}

.muted {
  background: var(--cream);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(77, 45, 24, 0.08);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  background: var(--brown);
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.brand small {
  display: block;
  margin-top: -4px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
}

.nav-toggle {
  display: inline-grid;
  gap: 5px;
  width: 42px;
  height: 42px;
  place-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--brown);
  transition: transform 0.24s ease, opacity 0.2s ease;
}

.nav-toggle:hover {
  border-color: rgba(77, 45, 24, 0.28);
  transform: translateY(-1px);
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
  position: absolute;
  top: 74px;
  left: 20px;
  right: 20px;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: 0.22s ease;
}

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

.nav-menu a {
  padding: 10px 12px;
  border-radius: 10px;
  color: rgba(77, 45, 24, 0.82);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-menu a:hover,
.nav-menu a.is-active {
  color: var(--brown);
  background: var(--cream);
}

.nav-menu .btn,
.nav-menu .btn:hover,
.nav-menu .btn.is-active {
  color: var(--white);
  background: var(--brown);
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--brown);
  border-radius: 999px;
  color: var(--white);
  background: var(--brown);
  box-shadow: 0 12px 24px rgba(77, 45, 24, 0.12);
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.28) 42%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(77, 45, 24, 0.18);
}

.btn:hover::after {
  transform: translateX(120%);
}

.btn-small {
  min-height: 42px;
  padding-inline: 18px;
}

.btn-ghost {
  color: var(--brown);
  background: transparent;
  border-color: var(--primary);
  box-shadow: none;
}

.btn-light {
  color: var(--brown);
  background: var(--white);
  border-color: var(--white);
}

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 46px;
  padding-bottom: 56px;
  background:
    radial-gradient(circle at 82% 20%, rgba(228, 198, 172, 0.38), transparent 34%),
    linear-gradient(180deg, #fff 0%, #fbf7f2 100%);
}

.hero-grid {
  display: grid;
  gap: 44px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--font-display);
  line-height: 1.08;
}

h1 {
  max-width: 700px;
  margin-bottom: 18px;
  color: var(--brown);
  font-size: clamp(2.35rem, 6.2vw, 4.2rem);
  font-weight: 700;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 5vw, 3.25rem);
}

h3 {
  line-height: 1.25;
}

.hero-copy p,
.section-heading p,
.about-copy,
.contact-copy p,
.cta-box p {
  color: rgba(77, 45, 24, 0.75);
}

.hero-copy p {
  max-width: 660px;
  font-size: 1rem;
}

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

.hero-visual {
  position: relative;
}

.visual-card {
  min-height: 330px;
  display: grid;
  align-content: end;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(77, 45, 24, 0.12);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(77, 45, 24, 0.1), transparent 42%),
    linear-gradient(135deg, #f8eee5, #d0ae95);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.visual-card::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.26) 50%, transparent 64%);
  transform: translateX(-42%);
  animation: soft-sweep 8s ease-in-out infinite;
}

.visual-card > * {
  position: relative;
  z-index: 1;
}

.visual-card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-overlay {
  display: grid;
  gap: 10px;
  width: min(420px, 100%);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(14px);
}

.visual-card span,
.gallery-placeholder span,
.project-thumb span {
  display: inline-flex;
  width: fit-content;
  padding: 8px 12px;
  border: 1px solid rgba(77, 45, 24, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  color: rgba(77, 45, 24, 0.74);
  font-size: 0.78rem;
  font-weight: 800;
}

.visual-card strong {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.visual-card p {
  max-width: 280px;
  margin-bottom: 0;
}

.floating-note {
  position: relative;
  z-index: 2;
  width: fit-content;
  max-width: 188px;
  margin: -14px 18px 0 auto;
  padding: 13px 16px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
  font-size: 0.92rem;
  font-weight: 800;
  animation: float-note 5s ease-in-out infinite;
}

.event-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 28px;
  padding-inline: 10px;
  padding-top: 18px;
  padding-bottom: 4px;
}

.timeline-line {
  position: absolute;
  top: 25px;
  left: 6%;
  right: 6%;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(77, 45, 24, 0.16);
}

.timeline-line::after {
  content: "";
  display: block;
  width: 38%;
  height: 100%;
  border-radius: inherit;
  background: var(--brown);
  animation: timeline-flow 4.8s ease-in-out infinite;
}

.timeline-step {
  display: grid;
  justify-items: center;
  gap: 8px;
  color: rgba(77, 45, 24, 0.72);
  font-size: 0.68rem;
  font-weight: 800;
  text-align: center;
}

.timeline-step span {
  width: 15px;
  height: 15px;
  border: 3px solid rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.28);
  animation: timeline-pulse 4.8s ease-in-out infinite;
}

.timeline-step small {
  line-height: 1.15;
}

.timeline-step:nth-child(3) span {
  animation-delay: 1.2s;
}

.timeline-step:nth-child(4) span {
  animation-delay: 2.4s;
}

.timeline-step:nth-child(5) span {
  animation-delay: 3.6s;
}

.marquee-band {
  max-width: 100%;
  margin-top: 44px;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.54);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 36px;
  padding: 17px 0;
  color: rgba(77, 45, 24, 0.66);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: marquee 30s linear infinite;
}

.marquee-track span {
  position: relative;
  white-space: nowrap;
}

.marquee-track span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -22px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--primary);
  transform: translateY(-50%);
}

.quick-info {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.quick-info article {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.quick-info strong,
.quick-info span {
  display: block;
}

.quick-info strong {
  font-size: 1.2rem;
}

.quick-info span {
  color: rgba(77, 45, 24, 0.66);
}

.split,
.contact-grid {
  display: grid;
  gap: 34px;
}

.quick-info,
.values-grid,
.services-grid,
.projects-grid {
  scrollbar-width: thin;
  scrollbar-color: rgba(186, 137, 117, 0.38) transparent;
}

.quick-info::-webkit-scrollbar,
.values-grid::-webkit-scrollbar,
.services-grid::-webkit-scrollbar,
.projects-grid::-webkit-scrollbar {
  height: 7px;
}

.quick-info::-webkit-scrollbar-thumb,
.values-grid::-webkit-scrollbar-thumb,
.services-grid::-webkit-scrollbar-thumb,
.projects-grid::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(186, 137, 117, 0.34);
}

.values-grid,
.services-grid,
.projects-grid {
  display: grid;
  gap: 18px;
}

.values-grid {
  margin-top: 34px;
}

.card,
.service-card,
.project-card,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(77, 45, 24, 0.07);
}

.card,
.service-card {
  padding: 26px;
}

.card-number {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--primary);
  font-weight: 800;
}

.card p,
.service-card p,
.project-card p {
  margin-bottom: 0;
  color: rgba(77, 45, 24, 0.68);
}

.centered {
  text-align: center;
}

.centered p {
  max-width: 680px;
  margin-inline: auto;
}

.services-grid {
  margin-top: 30px;
}

.service-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card::before,
.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 0 rgba(208, 174, 149, 0);
  transition: box-shadow 0.24s ease;
}

.service-card:hover,
.project-card:hover {
  border-color: rgba(186, 137, 117, 0.34);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-card:hover::before,
.project-card:hover::before {
  box-shadow: inset 0 0 0 1px rgba(208, 174, 149, 0.46);
}

.micro-cta {
  display: grid;
  gap: 18px;
  align-items: center;
  margin-top: 30px;
  padding: 24px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid var(--line);
}

.micro-cta p {
  margin: 0;
  font-weight: 700;
}

.project-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover .project-thumb {
  transform: scale(1.015);
}

.project-card:focus-visible,
.btn:focus-visible,
.nav-toggle:focus-visible,
.modal-close:focus-visible,
.gallery-btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(186, 137, 117, 0.34);
  outline-offset: 3px;
}

.project-thumb {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 42%),
    linear-gradient(135deg, var(--soft), var(--primary));
  transition: transform 0.3s ease;
}

.project-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(77, 45, 24, 0.18));
}

.project-thumb span {
  position: relative;
  z-index: 1;
}

.project-body {
  padding: 22px;
}

.project-body small {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
  font-weight: 800;
}

.project-body p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.cta-section {
  padding-block: 42px;
}

.cta-box {
  padding: 42px 26px;
  border-radius: 28px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 40%),
    var(--brown);
  box-shadow: var(--shadow);
}

.cta-box p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-links {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.contact-links a,
.footer-links a {
  color: var(--accent);
  font-weight: 800;
}

.download-btn {
  width: fit-content;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.form-row {
  display: grid;
  gap: 7px;
}

label {
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  color: var(--brown);
  background: var(--white);
}

textarea {
  resize: vertical;
}

.error {
  min-height: 18px;
  color: #9d392f;
  font-size: 0.82rem;
  font-weight: 700;
}

.success-message {
  min-height: 24px;
  margin: 0;
  color: #326b3f;
  font-weight: 800;
}

.footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  background: var(--cream);
}

.footer-inner {
  display: grid;
  gap: 14px;
}

.footer p {
  margin: 0;
  color: rgba(77, 45, 24, 0.68);
}

.footer-links {
  display: flex;
  gap: 18px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  padding: 18px;
}

.modal.is-open {
  display: grid;
  place-items: center;
}

.modal.is-open .modal-backdrop {
  animation: modal-fade 0.2s ease both;
}

.modal.is-open .modal-panel {
  animation: modal-rise 0.24s ease both;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
}

.modal-panel {
  position: relative;
  width: min(980px, 100%);
  max-height: min(860px, calc(100vh - 36px));
  overflow: auto;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}

.modal-close {
  position: sticky;
  top: 14px;
  left: calc(100% - 58px);
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brown);
  background: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-gallery {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 10px;
  align-items: center;
  padding: 0 20px 20px;
}

.gallery-placeholder {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 24px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent 48%),
    linear-gradient(135deg, var(--soft), var(--primary));
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.gallery-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(77, 45, 24, 0.18));
}

.gallery-placeholder > * {
  position: relative;
  z-index: 1;
}

.gallery-placeholder.is-changing {
  opacity: 0.55;
  transform: translateX(8px);
}

.gallery-placeholder strong {
  font-family: var(--font-display);
  font-size: 2rem;
}

.gallery-placeholder p {
  margin: 0;
}

.gallery-btn {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--brown);
  background: var(--white);
  font-size: 1.7rem;
  cursor: pointer;
}

.modal-content {
  padding: 0 24px 28px;
}

.project-meta {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 16px;
  border-radius: 16px;
  background: var(--cream);
}

.project-meta div {
  display: grid;
  gap: 2px;
}

.project-meta dt {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-meta dd {
  margin: 0;
  font-weight: 700;
}

#modal-highlights {
  display: grid;
  gap: 8px;
  padding-left: 18px;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-pending {
  opacity: 1;
  transform: translateY(18px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

@media (max-width: 679px) {
  .container {
    width: min(100% - 40px, 1120px);
  }

  .quick-info,
  .values-grid,
  .services-grid,
  .projects-grid {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(272px, 82vw);
    gap: 14px;
    width: 100vw;
    margin-inline: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 20px 18px;
    scroll-padding-left: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .quick-info {
    grid-auto-columns: minmax(250px, 78vw);
    margin-left: calc(50% - 50vw);
  }

  .values-grid,
  .services-grid,
  .projects-grid {
    margin-left: calc(50% - 50vw);
  }

  .quick-info > *,
  .values-grid > *,
  .services-grid > *,
  .projects-grid > * {
    scroll-snap-align: start;
  }

  .services-grid .wide {
    grid-column: auto;
  }

  .project-thumb {
    min-height: 190px;
  }

  .visual-card {
    min-height: 350px;
    padding: 16px;
  }

  .visual-overlay {
    padding: 16px;
    margin-bottom: 6px;
  }

  .visual-overlay strong {
    font-size: 2rem;
  }

  .visual-overlay p {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .event-timeline {
    margin-top: 8px;
    padding-inline: 2px;
  }

  .timeline-step {
    font-size: 0.62rem;
  }

  .floating-note {
    width: 100%;
    max-width: none;
    margin: 12px 0 0;
    animation: none;
  }
}

@keyframes soft-sweep {
  0%,
  45% {
    transform: translateX(-58%);
  }
  70%,
  100% {
    transform: translateX(58%);
  }
}

@keyframes float-note {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes timeline-flow {
  0% {
    transform: translateX(-105%);
  }
  55%,
  100% {
    transform: translateX(270%);
  }
}

@keyframes timeline-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.28);
  }
  18% {
    transform: scale(1.16);
    box-shadow: 0 0 0 9px rgba(255, 255, 255, 0.42);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes modal-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modal-rise {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (min-width: 680px) {
  .quick-info,
  .values-grid,
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .micro-cta,
  .footer-inner {
    grid-template-columns: 1fr auto;
  }

  .footer-inner {
    align-items: center;
  }

  .footer-inner > p {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }

  h1 {
    max-width: 650px;
    font-size: 3.65rem;
    font-weight: 700;
    line-height: 1.12;
  }

  .floating-note {
    position: absolute;
    top: 18px;
    right: 18px;
    margin: 0;
  }

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


  .service-card.wide {
    grid-column: span 3;
  }

  .modal-panel {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
  }

  .modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    left: auto;
  }

  .modal-gallery {
    min-height: 100%;
    padding: 28px 0 28px 28px;
  }

  .gallery-placeholder {
    min-height: 520px;
  }

  .modal-content {
    padding: 68px 34px 34px;
  }
}
