:root {
  color-scheme: light;
  --page: oklch(98% 0.006 245);
  --surface: oklch(99% 0.004 245);
  --surface-muted: oklch(93% 0.012 245);
  --navy: oklch(24% 0.086 255);
  --navy-deep: oklch(17% 0.076 255);
  --navy-soft: oklch(38% 0.09 255);
  --grey: oklch(56% 0.024 245);
  --grey-dark: oklch(34% 0.03 245);
  --line: oklch(84% 0.018 245);
  --blue-tint: oklch(91% 0.036 245);
  --focus: oklch(62% 0.12 245);
  --shadow: 0 24px 64px oklch(17% 0.076 255 / 0.16);
  --radius: 8px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--navy-deep);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
}

h1 {
  max-width: 9.2em;
  margin-bottom: 1.1rem;
  font-size: 3rem;
  font-weight: 800;
}

h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
  font-weight: 800;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.15rem;
}

p {
  color: var(--grey-dark);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: translateY(-150%);
  transition: transform 180ms ease-out;
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(98% 0.006 245 / 0.96);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease-out, box-shadow 180ms ease-out;
  backdrop-filter: blur(12px);
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px oklch(17% 0.076 255 / 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 2rem, var(--container));
  min-height: 76px;
  margin: 0 auto;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--navy-deep);
  font-weight: 800;
  line-height: 1.12;
  text-decoration: none;
}

.brand-logo {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  object-fit: contain;
}

.nav-toggle {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy-deep);
}

.nav-toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
  transition: transform 180ms ease-out, opacity 180ms ease-out;
}

.nav-open .nav-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-open .nav-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  position: fixed;
  inset: 76px 1rem auto 1rem;
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-12px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease-out, transform 180ms ease-out, visibility 180ms ease-out;
}

.nav-open .site-nav {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.site-nav a {
  padding: 0.85rem 0.95rem;
  border-radius: calc(var(--radius) - 2px);
  color: var(--navy-deep);
  font-weight: 800;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--blue-tint);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease-out, background 180ms ease-out, border-color 180ms ease-out;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--navy);
  color: oklch(98% 0.006 245);
  box-shadow: 0 14px 32px oklch(24% 0.086 255 / 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--navy-deep);
}

.button-secondary {
  background: oklch(98% 0.006 245 / 0.12);
  border-color: oklch(98% 0.006 245 / 0.42);
  color: oklch(98% 0.006 245);
}

.hero {
  display: grid;
  align-items: center;
  min-height: 650px;
  padding: 6.5rem 1rem 7rem;
  color: oklch(98% 0.006 245);
  background:
    linear-gradient(90deg, oklch(14% 0.07 255 / 0.94) 0%, oklch(14% 0.07 255 / 0.8) 50%, oklch(14% 0.07 255 / 0.28) 100%),
    url("assets/decorating-hero.jpg") center / cover;
}

.hero-content {
  width: min(100%, var(--container));
  margin: 0 auto;
}

.intro-line,
.section-kicker {
  margin-bottom: 0.75rem;
  color: var(--navy-soft);
  font-weight: 800;
}

.hero .intro-line {
  color: oklch(84% 0.055 245);
}

.hero-copy {
  max-width: 43rem;
  margin-bottom: 2rem;
  color: oklch(91% 0.015 245);
  font-size: 1.17rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.section {
  padding: 4.5rem 1rem;
}

.section-heading {
  width: min(100%, var(--container));
  margin: 0 auto 2.2rem;
}

.section-heading p,
.section-copy p,
.contact-intro p {
  max-width: 44rem;
}

.split-layout,
.services-layout,
.contact-layout {
  display: grid;
  width: min(100%, var(--container));
  margin: 0 auto;
  gap: 2rem;
}

.about-section {
  background: var(--surface);
}

.check-list {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  margin: 1.35rem 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--navy-deep);
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.48rem;
  left: 0;
  width: 0.78rem;
  height: 0.78rem;
  background: var(--navy);
  border-radius: 50%;
  box-shadow: inset 0 0 0 3px var(--blue-tint);
}

.image-panel {
  min-height: 320px;
  margin: 0;
  overflow: hidden;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px oklch(17% 0.076 255 / 0.12);
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.services-section {
  background: var(--surface-muted);
}

.service-list {
  display: grid;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.2rem;
  border-bottom: 1px solid var(--line);
}

.service-item:last-child {
  border-bottom: 0;
}

.service-number {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  align-self: start;
  background: var(--blue-tint);
  border: 1px solid oklch(78% 0.04 245);
  border-radius: 50%;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
}

.service-item p {
  margin-bottom: 0;
}

.work-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.work-strip img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.work-strip-image-wide {
  background: var(--surface);
  object-fit: contain;
}

.contact-section {
  background: linear-gradient(180deg, var(--surface), var(--page));
}

.contact-intro {
  align-self: start;
}

.contact-details {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
  padding: 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-style: normal;
}

.contact-details a {
  color: var(--navy-deep);
  font-size: 1.08rem;
  font-weight: 800;
  text-decoration-color: var(--navy-soft);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.quote-form {
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  color: var(--navy-deep);
  font-weight: 800;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.82rem 0.9rem;
  background: var(--page);
  border: 1px solid oklch(75% 0.022 245);
  border-radius: calc(var(--radius) - 2px);
  color: var(--navy-deep);
  transition: border-color 160ms ease-out, box-shadow 160ms ease-out;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--navy-soft);
  outline: none;
  box-shadow: 0 0 0 4px oklch(38% 0.09 255 / 0.14);
}

.field.has-value label {
  color: var(--navy);
}

.field small {
  color: var(--grey);
}

.form-submit {
  width: 100%;
  margin-top: 1.25rem;
}

.form-submit.is-ready {
  box-shadow: 0 14px 36px oklch(24% 0.086 255 / 0.28);
}

.site-footer {
  padding: 1.5rem 1rem;
  background: var(--navy-deep);
  color: oklch(91% 0.012 245);
}

.thank-you-section {
  display: grid;
  min-height: calc(100svh - 151px);
  align-items: center;
  padding: 5rem 1rem;
  background:
    linear-gradient(180deg, var(--surface), var(--page) 72%),
    var(--page);
}

.thank-you-content {
  width: min(100%, 700px);
  margin: 0 auto;
}

.thank-you-content h1 {
  max-width: none;
  margin-bottom: 0.8rem;
  color: var(--navy-deep);
}

.thank-you-content p:not(.section-kicker) {
  max-width: 42rem;
  margin-bottom: 1.7rem;
  font-size: 1.12rem;
}

.footer-inner {
  display: flex;
  width: min(100%, var(--container));
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
  color: inherit;
}

.footer-inner a {
  font-weight: 800;
}

@media (max-width: 380px) {
  .brand span {
    max-width: 12rem;
  }
}

@media (min-width: 620px) {
  h1 {
    font-size: 4rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field-full {
    grid-column: 1 / -1;
  }

  .quote-form {
    padding: 1.35rem;
  }

  .work-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 760px) {
  body.nav-open {
    overflow: auto;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.6rem 0.7rem;
    font-size: 0.95rem;
  }

  .hero {
    min-height: 720px;
    padding-top: 7.5rem;
    padding-bottom: 7.5rem;
  }

  .split-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.88fr);
    align-items: start;
  }

  .image-panel {
    width: min(100%, 420px);
    min-height: 280px;
    justify-self: end;
  }

  .image-panel img {
    min-height: 280px;
    max-height: 470px;
  }

  .services-layout {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-item:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .service-item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .work-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .work-strip img {
    height: 240px;
    min-height: 0;
  }
}

@media (min-width: 980px) {
  h1 {
    font-size: 5.15rem;
  }

  h2 {
    font-size: 3rem;
  }

  .section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .quote-form {
    padding: 1.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
