:root {
  --paper: #f4f0e8;
  --ink: #10243d;
  --red: #d45139;
  --blue: #a9c6d4;
  --olive: #777f53;
  --line: rgba(16, 36, 61, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

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

main {
  min-height: 100vh;
  overflow: hidden;
  position: relative;
}

main::before {
  background-image: radial-gradient(rgba(16, 36, 61, 0.08) 0.7px, transparent 0.7px);
  background-size: 5px 5px;
  content: "";
  inset: 0;
  opacity: 0.22;
  pointer-events: none;
  position: fixed;
  z-index: 5;
}

.site-header {
  align-items: center;
  background: #D27659;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 20px 5vw;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  height: 48px;
}

.brand img {
  display: block;
  filter: drop-shadow(0 1px 0 rgba(16, 36, 61, 0.2));
  height: 30px;
  object-fit: contain;
  width: auto;
}

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

.status {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 999px;
  display: flex;
  font-size: 0.72rem;
  font-weight: 700;
  gap: 9px;
  letter-spacing: 0.13em;
  padding: 10px 15px;
  text-transform: uppercase;
  color: #fff;
}

.status-dot {
  animation: pulse 2.4s ease-in-out infinite;
  background: #fff;
  border-radius: 50%;
  height: 7px;
  width: 7px;
}

.language-switch {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  height: 39px;
  justify-content: center;
  letter-spacing: 0.12em;
  padding: 0 14px;
  transition: background 180ms ease, color 180ms ease;
}

.language-switch:hover,
.language-switch:focus-visible {
  background: #fff;
  color: var(--red);
  outline: none;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(40px, 7vw, 112px);
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.82fr);
  margin: 0 auto;
  max-width: 1440px;
  min-height: 100vh;
  padding: calc(5vh + 88px) 5vw 10vh;
}

.hero-copy {
  max-width: 780px;
}

.eyebrow {
  align-items: center;
  display: flex;
  font-size: 0.72rem;
  font-weight: 700;
  gap: 12px;
  letter-spacing: 0.16em;
  margin: 0 0 28px;
  text-transform: uppercase;
}

.eyebrow::before {
  background: var(--red);
  border-radius: 50%;
  content: "";
  height: 10px;
  width: 10px;
}

h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4rem, 7vw, 7.5rem);
  font-weight: 400;
  letter-spacing: -0.065em;
  line-height: 0.91;
  margin: 0;
  max-width: 920px;
}

h1 em {
  color: var(--red);
  display: block;
  font-weight: 400;
  padding-left: clamp(38px, 6vw, 100px);
}

.intro {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.05rem, 1.4vw, 1.32rem);
  line-height: 1.55;
  margin: 34px 0 0;
  max-width: 590px;
}

.actions {
  align-items: center;
  display: flex;
  gap: 28px;
  margin-top: 38px;
}

.primary-button {
  align-items: center;
  background: var(--ink);
  border: 1px solid var(--ink);
  color: white;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 24px;
  letter-spacing: 0.08em;
  padding: 17px 20px;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  background: transparent;
  color: var(--ink);
  transform: translateY(-2px);
}

.arrow {
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1;
}

.platforms {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.74rem;
  gap: 8px;
}

.platforms > span {
  color: rgba(16, 36, 61, 0.62);
  flex-basis: 100%;
}

.platforms strong {
  font-size: 0.85rem;
}

.platforms i {
  background: var(--red);
  border-radius: 50%;
  height: 4px;
  width: 4px;
}

.visual {
  margin: 0 auto;
  max-width: 540px;
  position: relative;
  width: 100%;
}

.visual::before {
  background: var(--blue);
  border-radius: 50%;
  content: "";
  height: clamp(190px, 24vw, 360px);
  left: -19%;
  opacity: 0.68;
  position: absolute;
  top: -9%;
  width: clamp(190px, 24vw, 360px);
}

.visual-card {
  background: #f9f5ed;
  box-shadow: 0 28px 75px rgba(16, 36, 61, 0.16);
  padding: 17px;
  position: relative;
  transform: rotate(2.2deg);
  z-index: 1;
}

.card-topline,
.card-caption {
  align-items: center;
  display: flex;
  font-size: 0.64rem;
  font-weight: 700;
  justify-content: space-between;
  letter-spacing: 0.13em;
  padding: 0 2px 14px;
  text-transform: uppercase;
}

.card-caption {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  padding: 14px 2px 1px;
  text-transform: none;
}

.caption-mark {
  color: var(--red);
  font-size: 1.1rem;
}

.room-scene {
  background: #e9dfcf;
  min-height: clamp(390px, 47vw, 610px);
  overflow: hidden;
  position: relative;
}

.room-scene::before {
  background: linear-gradient(104deg, rgba(255, 255, 255, 0.72), transparent 48%);
  clip-path: polygon(0 0, 67% 0, 34% 100%, 0 100%);
  content: "";
  inset: 0;
  position: absolute;
}

.sun {
  background: #f5c75c;
  border-radius: 50%;
  height: 74px;
  left: 12%;
  position: absolute;
  top: 10%;
  width: 74px;
}

.window-view {
  background: #e8dccd;
  border: 10px solid #f8f1e7;
  border-bottom-width: 18px;
  height: 52%;
  overflow: hidden;
  position: absolute;
  right: 9%;
  top: 9%;
  width: 39%;
}

.sky {
  background: linear-gradient(#92bfd4 0 67%, #4b819f 67%);
  inset: 0;
  position: absolute;
}

.hill {
  background: var(--olive);
  border-radius: 70% 70% 0 0;
  bottom: 0;
  position: absolute;
}

.hill-one {
  height: 35%;
  left: -14%;
  transform: rotate(8deg);
  width: 78%;
}

.hill-two {
  background: #536848;
  height: 25%;
  right: -20%;
  width: 70%;
}

.wall-art {
  align-items: center;
  border: 3px solid var(--ink);
  color: var(--red);
  display: flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 5vw, 5.5rem);
  height: 25%;
  justify-content: center;
  left: 10%;
  line-height: 1;
  position: absolute;
  top: 30%;
  transform: rotate(-3deg);
  width: 28%;
}

.bed {
  background: #d2765a;
  bottom: 0;
  height: 31%;
  position: absolute;
  right: 0;
  width: 72%;
}

.bed::after {
  background: #b94d37;
  content: "";
  inset: 66% 0 0;
  position: absolute;
}

.pillow {
  background: #f7eee3;
  border-radius: 36% 38% 22% 20%;
  height: 44%;
  position: absolute;
  top: -15%;
  width: 36%;
  z-index: 1;
}

.pillow-one {
  left: 9%;
  transform: rotate(3deg);
}

.pillow-two {
  left: 38%;
  transform: rotate(-4deg);
}

.side-table {
  background: var(--ink);
  bottom: 0;
  height: 23%;
  left: 5%;
  position: absolute;
  width: 17%;
}

.side-table::before {
  background: var(--red);
  content: "";
  height: 6px;
  left: -8%;
  position: absolute;
  top: 0;
  width: 116%;
}

.side-table span {
  border: 3px solid #f7eee3;
  border-radius: 50% 50% 45% 45%;
  height: 32%;
  left: 25%;
  position: absolute;
  top: 22%;
  width: 50%;
}

.plant {
  bottom: 22%;
  height: 18%;
  left: 7%;
  position: absolute;
  width: 13%;
  z-index: 2;
}

.plant b {
  background: #ba573f;
  bottom: 0;
  height: 40%;
  left: 24%;
  position: absolute;
  width: 52%;
}

.plant i {
  background: var(--olive);
  border-radius: 100% 0 100% 0;
  height: 48%;
  left: 34%;
  position: absolute;
  top: 8%;
  transform: rotate(-35deg);
  width: 27%;
}

.plant i:nth-child(2) {
  left: 53%;
  top: 0;
  transform: rotate(28deg);
}

.plant i:nth-child(3) {
  left: 18%;
  top: 25%;
  transform: rotate(-65deg);
}

.scribble {
  bottom: -52px;
  color: var(--red);
  font-family: "Brush Script MT", cursive;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  margin: 0;
  position: absolute;
  right: -2%;
  transform: rotate(-7deg);
  z-index: 2;
}

.promise {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 35px;
  grid-template-columns: 0.7fr 2fr;
  margin: 0 auto;
  max-width: 1440px;
  padding: 40px 5vw;
}

.promise > p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  margin: 0;
}

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

.promise-list span {
  font-size: 0.78rem;
  line-height: 1.5;
}

.promise-list b {
  color: var(--red);
  display: block;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

footer {
  display: flex;
  font-size: 0.72rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1440px;
  padding: 30px 5vw;
}

footer a {
  border-bottom: 1px solid currentColor;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(212, 81, 57, 0.32);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(212, 81, 57, 0);
  }
}

@media (max-width: 940px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: calc(7vh + 88px);
  }

  .visual {
    margin-top: 28px;
    max-width: 620px;
  }

  .room-scene {
    min-height: 620px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 20px;
  }

  .brand {
    height: 43px;
  }

  .brand img {
    height: 26px;
  }

  .hero {
    gap: 36px;
    min-height: auto;
    padding: calc(7vh + 72px) 20px 90px;
  }

  .eyebrow {
    font-size: 0.62rem;
    margin-bottom: 22px;
  }

  h1 {
    font-size: clamp(3.35rem, 17vw, 5rem);
  }

  h1 em {
    padding-left: 22px;
  }

  .intro {
    font-size: 1.04rem;
    margin-top: 28px;
  }

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

  .visual {
    width: 92%;
  }

  .room-scene {
    min-height: 430px;
  }

  .visual::before {
    height: 210px;
    width: 210px;
  }

  .scribble {
    right: -5%;
  }

  .promise {
    grid-template-columns: 1fr;
    padding: 34px 20px;
  }

  .promise-list {
    grid-template-columns: 1fr;
  }

  .status {
    font-size: 0.6rem;
    padding: 9px 11px;
  }

  .language-switch {
    font-size: 0.64rem;
    height: 35px;
    padding: 0 11px;
  }

  footer {
    padding: 26px 20px;
  }
}

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

  .status-dot {
    animation: none;
  }

  .primary-button {
    transition: none;
  }

  .language-switch {
    transition: none;
  }
}
