:root {
  --ink: #202124;
  --muted: #626a73;
  --line: #d9dee3;
  --paper: #ffffff;
  --soft: #f4f6f5;
  --mint: #d9efe3;
  --blue: #dfe9f8;
  --clay: #f4dfd2;
  --yellow: #f5edc8;
  --accent: #0f766e;
  --forest: #183f33;
  --serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 188px;
  height: 56px;
  gap: 0;
  background: url("./file.svg") left center / contain no-repeat;
  text-decoration: none;
  font-weight: 850;
}

.brand > span {
  display: none;
}

.brand-wordmark {
  display: grid;
  gap: 0;
  line-height: 1;
}

.brand-wordmark span:first-child {
  font-size: 21px;
  letter-spacing: 0;
}

.brand-wordmark span:last-child {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand-mark {
  display: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}

.top-nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.top-nav a {
  text-decoration: none;
}

.header-actions {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: 72vh;
  padding: clamp(28px, 6vw, 80px) clamp(18px, 5vw, 72px);
  background: #f7f4ee;
}

.home-hero {
  min-height: 92vh;
  position: relative;
  align-items: center;
  padding-top: 120px;
  background:
    linear-gradient(90deg, rgba(246, 242, 234, 0.98) 0%, rgba(246, 242, 234, 0.92) 35%, rgba(246, 242, 234, 0.34) 60%, rgba(246, 242, 234, 0.02) 100%),
    url("./pins-imagegen-selected/small-desk-setup-finds.png") 72% center / cover no-repeat;
  overflow: hidden;
}

.compact-hero {
  min-height: 58vh;
}

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

.home-page .site-header {
  position: absolute;
  z-index: 4;
  width: 100%;
  border-bottom: 0;
  background: transparent;
  color: #1d1f1d;
  padding: 28px clamp(22px, 5vw, 92px);
}

.home-page .brand {
  width: 252px;
  min-width: 252px;
  height: 74px;
}

.home-page .brand-mark {
  position: relative;
  width: 42px;
  height: 42px;
  border: 2px solid #222;
  border-radius: 0;
  background: transparent;
  color: transparent;
}

.home-page .brand-mark::before,
.home-page .brand-mark::after {
  content: "";
  position: absolute;
  background: #222;
}

.home-page .brand-mark::before {
  left: 0;
  right: 0;
  top: 14px;
  height: 2px;
}

.home-page .brand-mark::after {
  top: 0;
  bottom: 0;
  left: 18px;
  width: 2px;
}

.home-page .top-nav {
  flex: 1;
  justify-content: center;
  gap: clamp(24px, 4vw, 58px);
  color: #222;
  font-size: 17px;
  font-weight: 550;
}

.home-page .header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  min-width: 220px;
}

.search-button {
  position: relative;
  display: inline-block;
  width: 32px;
  height: 32px;
  text-decoration: none;
}

.search-button::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid #222;
  border-radius: 50%;
  left: 4px;
  top: 3px;
}

.search-button::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 2px;
  background: #222;
  left: 20px;
  top: 22px;
  transform: rotate(45deg);
  transform-origin: left center;
}

.subscribe-button {
  padding: 12px 21px;
  border: 1px solid rgba(32, 33, 36, 0.22);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  font-size: 16px;
  font-weight: 650;
  backdrop-filter: blur(10px);
}

.home-page .hero-copy {
  position: relative;
  z-index: 2;
  max-width: 690px;
}

.home-page h1 {
  max-width: 690px;
  font-family: var(--serif);
  font-size: clamp(58px, 6.6vw, 108px);
  font-weight: 700;
  line-height: 0.93;
  color: #202020;
}

.home-page .hero-text {
  max-width: 530px;
  margin-top: 28px;
  color: #272727;
  font-size: clamp(20px, 1.55vw, 27px);
  line-height: 1.24;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(42px, 6vw, 84px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-text {
  max-width: 560px;
  margin: 22px 0 0;
  color: #44494f;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-actions a {
  padding: 10px 14px;
  border: 1px solid #30363c;
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.home-page .hero-actions {
  gap: 28px;
  margin-top: 44px;
}

.home-page .hero-actions a {
  min-width: 210px;
  padding: 19px 28px;
  border-radius: 7px;
  text-align: center;
  font-size: 20px;
}

.primary-action {
  border-color: var(--forest) !important;
  background: var(--forest) !important;
  color: #fff;
}

.primary-action::after {
  content: " ->";
}

.secondary-action {
  border-color: rgba(32, 33, 36, 0.28) !important;
  background: rgba(255, 255, 255, 0.58) !important;
  color: #202020;
  backdrop-filter: blur(8px);
}

.hero-image {
  width: 100%;
  max-height: 590px;
  object-fit: contain;
}

.photo-hero {
  aspect-ratio: 4 / 5;
  max-height: 680px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(20, 20, 20, 0.16);
}

.intro-band {
  padding: 20px clamp(18px, 5vw, 72px);
  background: var(--ink);
  color: #f7f7f7;
}

.intro-band p {
  max-width: 1100px;
  margin: 0 auto;
  font-size: 15px;
}

.section-heading {
  padding: 58px clamp(18px, 5vw, 72px) 22px;
}

.page-copy {
  max-width: 920px;
}

.page-copy p {
  color: var(--muted);
  font-size: 18px;
}

.page-copy h2 {
  margin-top: 32px;
  font-size: 28px;
}

.section-heading h2,
.notes h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0 clamp(18px, 5vw, 72px) 64px;
}

.setup-board {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  gap: 16px;
  padding: 0 clamp(18px, 5vw, 72px) 34px;
}

.setup-card {
  display: grid;
  grid-template-rows: auto auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.setup-card.large-card {
  grid-row: span 2;
}

.setup-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}

.setup-card.large-card img {
  aspect-ratio: 4 / 5;
}

.setup-card div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}

.setup-card h3 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.06;
}

.setup-card:not(.large-card) h3 {
  font-size: 23px;
}

.setup-card p:not(.tag) {
  margin: 0;
  color: var(--muted);
}

.setup-card a {
  align-self: flex-start;
  margin-top: auto;
  padding: 10px 14px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
}

.quick-fixes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0 clamp(18px, 5vw, 72px) 62px;
}

.quick-fixes a {
  display: grid;
  gap: 8px;
  min-height: 142px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f9faf8;
  text-decoration: none;
}

.quick-fixes span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.quick-fixes strong {
  font-size: 18px;
  line-height: 1.15;
}

.quick-fixes small {
  color: var(--muted);
  font-size: 14px;
}

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

.product-card {
  display: block;
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.product-card div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 250px;
  padding: 22px;
}

.tag {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.15;
}

.product-card p:not(.tag) {
  margin: 0;
  color: var(--muted);
}

.product-card a {
  align-self: flex-start;
  margin-top: auto;
  padding: 10px 14px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 750;
}

.notes {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(24px, 5vw, 72px);
  padding: 62px clamp(18px, 5vw, 72px);
  background: var(--blue);
}

.notes ul {
  margin: 0;
  padding-left: 20px;
  color: #30363c;
  font-size: 18px;
}

.notes li + li {
  margin-top: 12px;
}

.idea-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0 clamp(18px, 5vw, 72px) 64px;
}

.idea-list article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  min-height: 160px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.idea-list span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--mint);
  color: var(--accent);
  font-weight: 800;
}

.idea-list h3 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.15;
}

.idea-list p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  background: #101214;
  color: #f6f6f6;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: #f6f6f6;
  font-weight: 750;
}

@media (max-width: 900px) {
  .hero,
  .notes {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .home-page .site-header {
    position: relative;
    padding: 18px clamp(18px, 5vw, 36px);
    background: #f6f2ea;
  }

  .home-page .brand {
    width: 220px;
    min-width: auto;
    height: 64px;
  }

  .home-page .top-nav {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding-top: 8px;
  }

  .home-page .header-actions {
    min-width: auto;
  }

  .home-hero {
    align-items: flex-start;
    min-height: 680px;
    padding-top: 54px;
    padding-bottom: 230px;
    background:
      linear-gradient(180deg, rgba(246, 242, 234, 0.98) 0%, rgba(246, 242, 234, 0.92) 42%, rgba(246, 242, 234, 0.28) 100%),
      url("./pins-imagegen-selected/small-desk-setup-finds.png") center bottom / cover no-repeat;
  }

  .home-page h1 {
    font-size: clamp(50px, 14vw, 82px);
  }

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

  .setup-board,
  .quick-fixes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .setup-card.large-card {
    grid-row: auto;
  }

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

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

  .top-nav {
    width: 100%;
    justify-content: space-between;
  }

  .home-page .site-header {
    gap: 16px;
  }

  .home-page .header-actions {
    display: none;
  }

  .home-page .top-nav {
    width: 100%;
    justify-content: flex-start;
    font-size: 14px;
  }

  .home-page .hero-actions {
    gap: 12px;
  }

  .home-page .hero-actions a {
    min-width: 0;
    flex: 1 1 155px;
    padding: 14px 16px;
    font-size: 16px;
  }

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

  .setup-board,
  .quick-fixes {
    grid-template-columns: 1fr;
  }

  .setup-card img,
  .setup-card.large-card img {
    aspect-ratio: 4 / 5;
  }

  .product-card {
    min-height: auto;
  }

  .product-card div {
    min-height: auto;
  }
}
