:root {
  --ink: #1d1a16;
  --muted: #c8b7a2;
  --paper: #211f1b;
  --stone: #e7d8c3;
  --copper: #b88552;
  --copper-dark: #8d613b;
  --white: #efe5d6;
  --cream: #f2eadc;
  --wood: #c4915c;
  --panel: rgba(29, 26, 22, 0.94);
  --panel-soft: rgba(35, 32, 28, 0.9);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background-color: #1c1a17;
  background-image:
    radial-gradient(circle at 18% 0%, rgba(184, 133, 82, 0.18), transparent 34%),
    linear-gradient(135deg, #211e1a 0%, #151411 52%, #221d18 100%);
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 8px clamp(20px, 5vw, 72px);
  background: rgba(20, 19, 16, 0.98);
  border-bottom: 1px solid rgba(176, 138, 101, 0.36);
  backdrop-filter: blur(18px);
  transition: padding 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

main {
  isolation: isolate;
  padding-top: clamp(76px, 7vw, 104px);
}

.brand {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 22px);
  min-width: 0;
}

.brand-mark-img {
  width: auto;
  height: clamp(66px, 7vw, 102px);
  flex: 0 0 auto;
  transition: height 220ms ease;
}

.brand-text {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: var(--white);
  line-height: 1;
}

.brand-name {
  color: var(--white);
  font-family: "Times New Roman", "Baskerville Old Face", Georgia, serif;
  font-size: clamp(1.3rem, 2.28vw, 2.28rem);
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-tagline {
  color: var(--wood);
  font-family: "Times New Roman", "Baskerville Old Face", Georgia, serif;
  font-size: clamp(0.6rem, 0.88vw, 0.82rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-header.scrolled {
  padding-top: 6px;
  padding-bottom: 6px;
  background: rgba(20, 19, 16, 0.99);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

.site-header.scrolled .brand-mark-img {
  height: clamp(48px, 5vw, 70px);
}

.site-header.scrolled .brand-name {
  font-size: clamp(1.12rem, 1.75vw, 1.75rem);
}

.site-header.scrolled .brand-tagline {
  font-size: clamp(0.52rem, 0.72vw, 0.68rem);
}

.nav {
  display: flex;
  gap: clamp(14px, 2vw, 30px);
  color: var(--stone);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav a {
  position: relative;
  padding: 8px 0;
}

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

.nav a:hover,
.nav a:focus-visible {
  color: var(--white);
}

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

.hero {
  position: relative;
  min-height: calc(100vh - clamp(76px, 7vw, 104px));
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(38, 25, 20, 0.84), rgba(38, 25, 20, 0.34) 58%, rgba(38, 25, 20, 0.08)),
    linear-gradient(0deg, rgba(38, 25, 20, 0.74), rgba(38, 25, 20, 0) 52%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  max-width: 760px;
  padding: 12vh clamp(22px, 6vw, 84px);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--copper);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 620px;
  margin-bottom: 18px;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.1;
}

h2 {
  margin-bottom: 0;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 3.45rem);
  font-weight: 300;
  line-height: 1.12;
}

h3 {
  margin-bottom: 12px;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--copper);
}

.hero-content p:not(.eyebrow) {
  max-width: 590px;
  color: rgba(255, 253, 248, 0.84);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 12px;
  padding: 13px 24px;
  color: var(--white);
  background: var(--copper);
  border: 1px solid var(--copper);
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--copper-dark);
}

.button.dark {
  width: 100%;
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.section {
  position: relative;
  z-index: 2;
  padding: clamp(64px, 8vw, 118px) clamp(20px, 5vw, 72px);
  margin-top: -42px;
  box-shadow: 0 -18px 44px rgba(0, 0, 0, 0.22);
}

.work-section {
  background: rgba(33, 31, 27, 0.94);
}

.services,
.appointment,
.contact {
  z-index: 3;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto 34px;
}

.carousel {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.carousel-track {
  position: relative;
  height: clamp(420px, 62vw, 680px);
  overflow: hidden;
  background: var(--ink);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 520ms ease;
}

.slide.active {
  opacity: 1;
}

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

.slide::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  content: "";
  background: linear-gradient(0deg, rgba(38, 25, 20, 0.82), rgba(38, 25, 20, 0));
}

.slide-caption {
  position: absolute;
  right: clamp(18px, 4vw, 46px);
  bottom: clamp(18px, 4vw, 46px);
  left: clamp(18px, 4vw, 46px);
  z-index: 1;
  max-width: 620px;
  color: var(--white);
}

.slide-caption span {
  display: block;
  margin-bottom: 8px;
  color: var(--wood);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.slide-caption strong {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.45rem, 3vw, 2.6rem);
  font-weight: 300;
  line-height: 1.18;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 46px;
  height: 46px;
  color: var(--ink);
  background: rgba(242, 234, 220, 0.9);
  border: 1px solid rgba(231, 216, 195, 0.82);
  border-radius: 50%;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transform: translateY(-50%);
}

.carousel-btn:hover {
  background: var(--cream);
}

.prev {
  left: 18px;
}

.next {
  right: 18px;
}

.carousel-dots {
  position: absolute;
  right: 26px;
  bottom: 20px;
  z-index: 3;
  display: flex;
  gap: 10px;
}

.carousel-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  background: rgba(231, 216, 195, 0.55);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.carousel-dots button.active {
  background: var(--copper);
}

.services {
  background: rgba(29, 26, 22, 0.96);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  max-width: 1180px;
  margin: 0 auto;
  background: rgba(176, 138, 101, 0.34);
}

.service-grid article {
  min-height: 260px;
  padding: clamp(26px, 4vw, 44px);
  background: rgba(24, 22, 19, 0.72);
  border: 1px solid rgba(226, 214, 201, 0.08);
}

.service-grid p {
  color: rgba(226, 214, 201, 0.82);
}

.seo-copy {
  max-width: 1180px;
  margin: 32px auto 0;
  color: rgba(231, 216, 195, 0.82);
  font-size: clamp(0.98rem, 1.3vw, 1.12rem);
}

.seo-copy p {
  max-width: 880px;
  margin-bottom: 0;
}

.appointment-copy p,
.form-note,
.contact-list {
  color: rgba(226, 214, 201, 0.78);
}

.service-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 34px;
  padding: 8px 10px;
  background: var(--cream);
  border: 1px solid var(--stone);
  border-radius: 4px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  font-size: 0.72rem;
}

.brand-mark.ikea {
  color: #0b4f9f;
  background: #ffd847;
  border-color: #ffd847;
  font-size: 0.82rem;
}

.brand-mark.leroy {
  color: #137345;
  background: #ffffff;
  border-color: #d7e8dc;
}

.brand-mark.praktiker {
  color: #f28c00;
  background: #1d3f79;
  border-color: #1d3f79;
}

.brand-mark.jysk {
  color: #003b79;
  background: #ffffff;
  border-color: #d5e1ed;
  font-size: 0.82rem;
}

.appointment {
  display: grid;
  grid-template-columns: minmax(0, 564px) minmax(320px, 520px);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
  justify-content: center;
  background: rgba(33, 31, 27, 0.94);
}

.appointment > * {
  width: 100%;
}

.appointment-copy {
  position: sticky;
  top: 130px;
}

.booking-form {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 40px);
  background: rgba(242, 234, 220, 0.97);
  border: 1px solid rgba(226, 214, 201, 0.62);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
}

.booking-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.booking-panel {
  align-content: start;
  color: var(--ink);
}

.booking-panel p {
  color: #5f5145;
}

.booking-title {
  margin-bottom: 8px;
  color: var(--ink) !important;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.2;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 14px;
}

input,
select,
textarea {
  width: 100%;
  color: var(--ink);
  background: #f7f0e4;
  border: 1px solid #d7cec2;
  border-radius: 4px;
  font: inherit;
  letter-spacing: 0;
}

input,
select {
  min-height: 48px;
  padding: 0 14px;
}

textarea {
  resize: vertical;
  padding: 13px 14px;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(165, 120, 85, 0.34);
  border-color: var(--copper);
}

.form-note {
  margin: -4px 0 0;
  font-size: 0.88rem;
}

.booking-form .form-note {
  color: #7a6755;
}

.contact {
  display: flex;
  justify-content: space-between;
  gap: 34px;
  background: rgba(24, 22, 19, 0.96);
  color: var(--white);
}

.contact-list {
  display: grid;
  gap: 12px;
  min-width: min(420px, 100%);
  color: rgba(255, 253, 248, 0.78);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.contact-list a:hover {
  color: var(--wood);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: var(--stone);
  background: rgba(24, 22, 19, 0.98);
  font-size: 0.9rem;
}

a:hover {
  color: var(--wood);
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 760px;
  }

  main {
    padding-top: 126px;
  }

  .section-heading,
  .contact {
    align-items: flex-start;
    flex-direction: column;
    
  }

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

  .appointment {
    grid-template-columns: 1fr;
  }

  .appointment-copy {
    position: static;
  }
}

@media (max-width: 620px) {
  .brand {
    gap: 10px;
    max-width: 100%;
  }

  .brand-mark-img {
    height: 58px;
  }

  .brand-name {
    font-size: clamp(1rem, 4.4vw, 1.25rem);
    letter-spacing: 0.18em;
  }

  .brand-tagline {
    font-size: 0.5rem;
    letter-spacing: 0.1em;
  }

  .nav {
    font-size: 0.78rem;
  }

  .hero {
    min-height: 690px;
  }

  main {
    padding-top: 112px;
  }

  .carousel-track {
    height: 520px;
  }

  .carousel-btn {
    top: 38%;
    width: 40px;
    height: 40px;
  }

  .carousel-dots {
    right: auto;
    left: 24px;
  }

  .form-row,
  .service-grid,
  .footer {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .brand-mark {
    flex: 1 1 calc(50% - 8px);
  }
}
