:root {
  --bg: #f6f2ed;
  --paper: #fffdfa;
  --ink: #383635;
  --muted: #746d66;
  --line: rgba(56, 54, 53, 0.12);
  --accent: #b37f65;
  --accent-deep: #9a6b53;
  --mint: #dceee5;
  --lavender: #dbd9f4;
  --cream: #f7ecd8;
  --blush: #f5d9da;
  --sand: #efdcc4;
  --shadow: 0 20px 48px rgba(78, 62, 48, 0.08);
  --radius-large: 28px;
  --radius-medium: 18px;
  --radius-small: 12px;
  --max-width: 1380px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

a {
  color: inherit;
}

.announcement-bar {
  display: grid;
  grid-template-columns: 24px 1fr 24px;
  align-items: center;
  gap: 18px;
  min-height: 50px;
  padding: 0 26px;
  background: var(--accent);
  color: #fff8f2;
}

.announcement-bar p {
  margin: 0;
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.announcement-arrow {
  text-align: center;
  font-size: 1.2rem;
  opacity: 0.8;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 253, 250, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(56, 54, 53, 0.08);
}

.site-header-inner,
.section-shell,
.dialog-shell {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}

.page-shell {
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
}

.site-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid rgba(56, 54, 53, 0.44);
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  line-height: 1;
}

.brand-copy strong {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.site-nav a,
.site-tools a {
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
}

.site-tools {
  display: flex;
  gap: 18px;
  justify-content: flex-end;
}

main {
  display: grid;
  gap: 58px;
  padding-bottom: 72px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100svh - 122px);
  background: linear-gradient(180deg, rgba(235, 226, 214, 0.82), rgba(235, 226, 214, 0.94));
}

.hero-illustration {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(247, 236, 216, 0.85), transparent 20%),
    radial-gradient(circle at 80% 15%, rgba(245, 217, 218, 0.85), transparent 22%),
    radial-gradient(circle at 60% 36%, rgba(220, 238, 229, 0.7), transparent 18%),
    linear-gradient(180deg, #ddd5ca 0%, #e7dfd4 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  min-height: calc(100svh - 124px);
  width: min(var(--max-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 90px;
  text-align: center;
}

.hero-domain {
  margin: 0 0 18px;
  font-size: 0.96rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-deep);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1,
.section-head h2,
.contact-strip h2,
.feature-panel h2 {
  margin: 0;
  line-height: 1;
  font-weight: 600;
}

.hero h1 {
  max-width: 12ch;
  margin: 0 auto;
  color: #fffdfa;
  font-family: "Fraunces", serif;
  font-size: clamp(3.2rem, 6vw, 5.8rem);
  text-shadow: 0 2px 18px rgba(94, 79, 64, 0.08);
}

.hero-text {
  max-width: 34rem;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.02rem;
  line-height: 1.6;
}

.hero-actions,
.contact-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff9f1;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}

.button-secondary {
  color: inherit;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.floating-shape {
  position: absolute;
  border: 5px solid rgba(144, 119, 93, 0.64);
  border-radius: 32px;
  opacity: 0.84;
  animation: drift 12s ease-in-out infinite;
}

.shape-laptop {
  inset: auto 0 0 auto;
  width: 300px;
  height: 210px;
  border-radius: 24px 24px 12px 12px;
}

.shape-laptop::after {
  content: "";
  position: absolute;
  left: -30px;
  right: -30px;
  bottom: -22px;
  height: 26px;
  border: 5px solid rgba(144, 119, 93, 0.64);
  border-top: none;
  border-radius: 0 0 28px 28px;
}

.shape-phone {
  inset: 0 auto auto 22%;
  width: 94px;
  height: 210px;
  border-radius: 24px;
}

.shape-phone::before,
.shape-phone::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 34px;
  height: 10px;
  margin-left: -17px;
  border-radius: 999px;
  background: rgba(144, 119, 93, 0.64);
}

.shape-phone::before {
  top: 14px;
}

.shape-phone::after {
  bottom: 14px;
}

.shape-chip {
  inset: auto auto 6% 38%;
  width: 220px;
  height: 58px;
  border-radius: 28px;
  background: rgba(247, 236, 216, 0.45);
  animation-delay: -5s;
}

.shape-headphones {
  inset: 22% 18% auto auto;
  width: 190px;
  height: 240px;
  border-radius: 999px;
}

.shape-headphones::before,
.shape-headphones::after {
  content: "";
  position: absolute;
  bottom: 8px;
  width: 60px;
  height: 88px;
  border: 5px solid rgba(144, 119, 93, 0.64);
  border-radius: 44px;
  background: rgba(220, 238, 229, 0.6);
}

.shape-headphones::before {
  left: 4px;
}

.shape-headphones::after {
  right: 4px;
}

.shape-monitor {
  inset: auto 0 24% auto;
  width: 240px;
  height: 160px;
  border-radius: 20px;
}

.shape-monitor::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -48px;
  width: 68px;
  height: 48px;
  margin-left: -34px;
  border: 5px solid rgba(144, 119, 93, 0.64);
  border-top: none;
  border-radius: 0 0 18px 18px;
}

.shape-keyboard {
  inset: 12% auto auto 50%;
  width: 44px;
  height: 190px;
  border-radius: 20px;
}

.shape-bowl {
  inset: auto auto 24% -2%;
  width: 320px;
  height: 170px;
  border-radius: 50% 50% 44% 44%;
  background: rgba(239, 220, 196, 0.38);
}

.shape-bowl::before {
  content: "";
  position: absolute;
  inset: 54px 90px 34px;
  border: 5px solid rgba(144, 119, 93, 0.64);
  border-radius: 50%;
}

.shape-bowl::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 112%;
  height: 20px;
  margin-left: -56%;
  border: 5px solid rgba(144, 119, 93, 0.64);
  border-top: none;
  border-radius: 0 0 120px 120px;
}

.shape-cup {
  inset: auto auto 18% 38%;
  width: 140px;
  height: 180px;
  border-radius: 20px 20px 52px 52px;
  background: rgba(239, 220, 196, 0.5);
}

.shape-cup::before {
  content: "";
  position: absolute;
  right: -42px;
  top: 42px;
  width: 56px;
  height: 76px;
  border: 5px solid rgba(144, 119, 93, 0.64);
  border-left: none;
  border-radius: 0 50px 50px 0;
}

.shape-cup::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -86px;
  width: 52px;
  height: 74px;
  margin-left: -26px;
  border-radius: 999px;
  border-left: 5px solid rgba(203, 193, 171, 0.8);
  border-right: 5px solid rgba(203, 193, 171, 0.8);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  opacity: 0.85;
}

.collection-section,
.catalog-section,
.services,
.contact-strip,
.feature-band {
  display: grid;
  gap: 24px;
  padding-top: 18px;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 420px);
  align-items: end;
  gap: 24px;
}

.section-head h2,
.contact-strip h2,
.feature-panel h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.05em;
}

.section-head p,
.services-layout p,
.hardware-card p,
.software-card p,
.contact-strip p,
.toolbar-copy span,
.feature-panel p,
.stats-inline span {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.collection-card {
  overflow: hidden;
  display: grid;
  gap: 0;
  border-radius: 16px;
  text-decoration: none;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.collection-art {
  position: relative;
  min-height: 220px;
}

.collection-copy {
  display: grid;
  gap: 6px;
  padding: 20px 22px 24px;
  background: rgba(255, 255, 255, 0.92);
}

.collection-copy strong {
  font-size: 1.2rem;
  font-weight: 500;
}

.collection-copy span {
  color: var(--muted);
}

.collection-lavender .collection-art {
  background: var(--lavender);
}

.collection-cream .collection-art {
  background: rgba(247, 236, 216, 0.8);
}

.collection-mint .collection-art {
  background: var(--mint);
}

.collection-blush .collection-art {
  background: var(--blush);
}

.collection-sand .collection-art {
  background: var(--sand);
}

.collection-art::before,
.collection-art::after {
  content: "";
  position: absolute;
  border: 4px solid rgba(162, 116, 67, 0.78);
}

.collection-art-software::before {
  inset: 28px 78px 48px 78px;
  border-radius: 18px;
  background: rgba(46, 56, 68, 0.92);
}

.collection-art-software::after {
  left: 50%;
  bottom: 30px;
  width: 56px;
  height: 12px;
  margin-left: -28px;
  border-top: none;
  border-radius: 0 0 12px 12px;
}

.collection-art-hardware::before {
  inset: 34px 88px 30px 88px;
  border-radius: 120px 120px 96px 96px;
  background: rgba(255, 183, 105, 0.25);
}

.collection-art-hardware::after {
  left: 50%;
  top: 72px;
  width: 74px;
  height: 74px;
  margin-left: -37px;
  border-radius: 50%;
  box-shadow:
    -72px 0 0 -26px rgba(162, 116, 67, 0.78),
    72px 0 0 -26px rgba(162, 116, 67, 0.78),
    0 72px 0 -26px rgba(162, 116, 67, 0.78);
}

.collection-art-services::before {
  inset: 72px 80px auto 80px;
  height: 70px;
  border-radius: 20px;
}

.collection-art-services::after {
  inset: auto 70px 38px 70px;
  height: 24px;
  border-radius: 12px;
  box-shadow:
    -88px 0 0 -4px rgba(162, 116, 67, 0.78),
    88px 0 0 -4px rgba(162, 116, 67, 0.78);
}

.collection-art-contact::before {
  inset: 54px 76px auto 76px;
  height: 100px;
  border-radius: 20px 20px 12px 12px;
  border-bottom-width: 6px;
}

.collection-art-contact::after {
  left: 50%;
  top: 30px;
  width: 110px;
  height: 60px;
  margin-left: -55px;
  border-bottom: none;
  border-radius: 110px 110px 0 0;
}

.collection-art-audio::before {
  inset: 26px 62px;
  border-radius: 120px;
}

.collection-art-audio::after {
  left: 50%;
  bottom: 42px;
  width: 112px;
  height: 72px;
  margin-left: -56px;
  border-radius: 40px;
  box-shadow:
    -64px 10px 0 -24px rgba(162, 116, 67, 0.78),
    64px 10px 0 -24px rgba(162, 116, 67, 0.78);
}

.feature-band {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
  margin-top: -8px;
}

.feature-panel,
.stats-inline,
.inventory-toolbar,
.contact-strip,
.software-card,
.hardware-card,
.services-layout article,
.dialog-copy,
.dialog-form-panel {
  background: var(--paper);
  border: 1px solid rgba(56, 54, 53, 0.08);
  box-shadow: var(--shadow);
}

.feature-panel {
  padding: 34px;
  border-radius: var(--radius-large);
}

.stats-inline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 24px;
  border-radius: var(--radius-large);
}

.stats-inline div {
  display: grid;
  gap: 6px;
  align-content: center;
  padding: 18px;
  border-radius: 18px;
  background: #fcfaf6;
}

.stats-inline strong {
  font-family: "Fraunces", serif;
  font-size: 2.2rem;
  color: var(--accent-deep);
}

.software-grid,
.hardware-grid,
.services-layout {
  display: grid;
  gap: 18px;
}

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

.software-card {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 24px;
}

.software-topline,
.hardware-card-head,
.hardware-meta,
.inventory-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}

.software-type,
.software-status,
.hardware-status,
.hardware-delivery {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.82rem;
}

.software-type {
  background: rgba(220, 238, 229, 0.9);
  color: #4b6456;
}

.software-status,
.hardware-status {
  background: rgba(179, 127, 101, 0.12);
  color: var(--accent-deep);
}

.software-title,
.hardware-name {
  margin: 0;
  font-size: 1.3rem;
}

.software-detail,
.hardware-category,
.dialog-meta {
  color: var(--muted);
}

.software-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.software-tags li {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(56, 54, 53, 0.06);
  font-size: 0.82rem;
  color: var(--muted);
}

.software-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.software-links a {
  color: var(--accent-deep);
  font-weight: 700;
  text-decoration: none;
}

.inventory-toolbar,
.contact-strip {
  padding: 24px 28px;
  border-radius: var(--radius-large);
}

.toolbar-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.filter-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font: inherit;
}

.filter-button.is-active {
  color: #fff9f1;
  border-color: transparent;
  background: var(--accent-deep);
}

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

.hardware-card {
  display: grid;
  gap: 16px;
  padding: 26px;
  border-radius: 24px;
}

.hardware-condition {
  margin: 6px 0 0;
  color: var(--muted);
}

.hardware-price {
  font-family: "Fraunces", serif;
  font-size: 2rem;
  color: var(--accent-deep);
}

.hardware-delivery {
  background: rgba(220, 238, 229, 0.82);
  color: #4b6456;
}

.contact-strip {
  display: grid;
  grid-template-columns: 1.1fr auto;
  align-items: center;
  gap: 20px;
}

.listing-dialog {
  width: min(1080px, calc(100% - 24px));
  max-width: 1080px;
  padding: 0;
  border: none;
  border-radius: 28px;
  background: transparent;
}

.listing-dialog::backdrop {
  background: rgba(68, 56, 45, 0.34);
  backdrop-filter: blur(10px);
}

.dialog-shell {
  position: relative;
  padding: 18px;
  border-radius: 28px;
  background: transparent;
}

.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  font: inherit;
  cursor: pointer;
}

.dialog-content {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
}

.dialog-copy,
.dialog-form-panel {
  padding: 24px;
  border-radius: 22px;
}

.dialog-price {
  margin: 14px 0;
  font-family: "Fraunces", serif;
  font-size: 2.6rem;
  color: var(--accent-deep);
}

.dialog-body {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.68;
}

.dialog-copy h3 {
  margin: 0 0 10px;
}

.dialog-includes {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.inquiry-form {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  font-weight: 500;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(56, 54, 53, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  font: inherit;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.is-hidden {
  display: none;
}

.checkout-return {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 0;
}

.checkout-card {
  max-width: 760px;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -10px, 0) scale(1.02);
  }
}

@media (max-width: 980px) {
  .site-header-inner,
  .section-head,
  .collection-grid,
  .feature-band,
  .stats-inline,
  .software-grid,
  .hardware-grid,
  .services-layout,
  .contact-strip,
  .dialog-content {
    grid-template-columns: 1fr;
  }

  .site-nav,
  .site-tools {
    justify-content: flex-start;
  }

  .hero,
  .hero-content {
    min-height: 70svh;
  }

  .inventory-toolbar,
  .contact-strip {
    align-items: start;
  }

  .shape-laptop {
    width: 220px;
    height: 150px;
  }

  .shape-phone {
    left: 10%;
  }

  .shape-headphones {
    right: 8%;
    width: 140px;
    height: 180px;
  }

  .shape-bowl,
  .shape-cup {
    transform: scale(0.8);
    transform-origin: left bottom;
  }
}

@media (max-width: 720px) {
  .announcement-bar {
    grid-template-columns: 18px 1fr 18px;
    padding: 0 14px;
  }

  .site-header-inner,
  .section-shell,
  .dialog-shell {
    width: min(var(--max-width), calc(100% - 28px));
  }

  .hero h1 {
    font-size: clamp(2.6rem, 12vw, 4.1rem);
  }

  .software-card,
  .hardware-card,
  .inventory-toolbar,
  .contact-strip,
  .feature-panel,
  .stats-inline,
  .services-layout article {
    padding: 18px;
  }

  .hero-content {
    padding: 42px 0 64px;
  }

  .floating-shape {
    opacity: 0.48;
  }

  .shape-monitor,
  .shape-keyboard,
  .shape-bowl {
    display: none;
  }

  .collection-art {
    min-height: 170px;
  }
}
