:root {
  --bg: #f6f2eb;
  --card: #fffdf9;
  --text: #1e1c19;
  --muted: #756f67;
  --line: rgba(30, 28, 25, .12);
  --accent: #1f1f1d;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
}

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

.site-header {
  min-height: 74px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(246, 242, 235, .88);
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 600;
}

.cross { font-size: 22px; }

nav {
  display: flex;
  gap: 26px;
  font-size: 14px;
}

nav a:hover { opacity: .6; }

.hero {
  max-width: 1200px;
  min-height: 72vh;
  margin: 0 auto;
  padding: 90px 5vw 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: .2em;
  font-weight: 600;
  margin: 0 0 16px;
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

h1 {
  font-size: clamp(64px, 9vw, 126px);
  line-height: .82;
  letter-spacing: -.045em;
  margin: 0;
}

.hero-copy {
  max-width: 570px;
  line-height: 1.7;
  color: var(--muted);
  margin: 34px 0 28px;
}

.primary-button {
  width: fit-content;
  background: var(--accent);
  color: white;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}

.wallpaper-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 5vw 100px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.section-heading h2,
.about h2 {
  font-size: clamp(44px, 6vw, 72px);
  margin: 0;
  line-height: .95;
}

.section-note {
  max-width: 440px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.wallpaper-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.wallpaper-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.image-button {
  width: 100%;
  border: 0;
  padding: 0;
  background: none;
  cursor: zoom-in;
  display: block;
}

.placeholder {
  aspect-ratio: 9 / 16;
  display: grid;
  place-items: center;
  padding: 24px;
  color: white;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(38px, 4.2vw, 66px);
  line-height: .92;
  letter-spacing: .02em;
  text-shadow: 0 2px 18px rgba(0,0,0,.25);
}

.placeholder.warm {
  background:
    radial-gradient(circle at 55% 25%, rgba(255,255,255,.45), transparent 22%),
    linear-gradient(160deg, #6f5846 0%, #b08968 50%, #2f332c 100%);
}

.placeholder.soft {
  background:
    radial-gradient(circle at 50% 20%, rgba(255,255,255,.5), transparent 20%),
    linear-gradient(160deg, #d5c6b4 0%, #8f7b68 48%, #4f5a4c 100%);
}

.placeholder.sky {
  background:
    radial-gradient(circle at 50% 22%, rgba(255,255,255,.75), transparent 18%),
    linear-gradient(180deg, #96a8b3 0%, #d9c7a5 60%, #6f6f65 100%);
}

.card-body {
  padding: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.card-body h3 {
  font-size: 24px;
  margin: 0 0 4px;
}

.card-body p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.download-button {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 13px;
  font-size: 12px;
  font-weight: 600;
}

.download-button:hover { background: #f0ebe2; }

.tiny-note {
  margin-top: 24px;
  font-size: 12px;
  color: var(--muted);
}

.about {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 90px 5vw;
  display: grid;
  grid-template-columns: 1.6fr .8fr;
  gap: 60px;
  align-items: center;
}

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

.about-copy > p:last-child {
  max-width: 650px;
  color: var(--muted);
  line-height: 1.7;
}

.coming-soon {
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 24px;
  display: grid;
  place-content: center;
  text-align: center;
  background: rgba(255,255,255,.38);
}

.cross.large { font-size: 44px; }
.coming-soon p { margin: 12px 0 4px; }
.coming-soon strong { font-family: "Cormorant Garamond", serif; font-size: 32px; }

footer {
  min-height: 100px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
}

dialog {
  border: 0;
  border-radius: 18px;
  padding: 0;
  background: #111;
  max-width: min(92vw, 500px);
  width: 100%;
}

dialog::backdrop { background: rgba(0,0,0,.78); }

dialog img {
  width: 100%;
  display: block;
}

#close-preview {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(0,0,0,.55);
  color: white;
  font-size: 26px;
  cursor: pointer;
}

@media (max-width: 900px) {
  nav a:not(:last-child) { display: none; }
  .wallpaper-grid { grid-template-columns: 1fr 1fr; }
  .about { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .site-header { padding: 0 18px; }
  .brand { font-size: 24px; }
  .hero { padding: 72px 20px 52px; min-height: 68vh; }
  h1 { font-size: clamp(58px, 19vw, 86px); }
  .wallpaper-section { padding: 64px 18px 80px; }
  .section-heading { align-items: start; flex-direction: column; }
  .wallpaper-grid { grid-template-columns: 1fr; }
  .placeholder { font-size: 58px; }
  .about { padding: 70px 18px; }
  footer { padding: 24px 18px; gap: 14px; flex-direction: column; align-items: flex-start; }
}
