@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Manrope:wght@300;400;500;600&display=swap');

:root {
  --cream: #f8f4ef;
  --cream-2: #f1ece4;
  --sand: #e3d7c6;
  --ink: #1e1b19;
  --muted: #6f645e;
  --line: #e2d8cc;
  --card: #f2ece3;
  --paper: #fbf8f3;
  --shadow: 0 18px 40px rgba(28, 20, 12, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: #fbfaf7;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(520px 220px at 15% 12%, rgba(219, 205, 186, 0.28), transparent 62%),
    radial-gradient(520px 220px at 80% 18%, rgba(231, 220, 203, 0.3), transparent 64%);
  z-index: -1;
  pointer-events: none;
}

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

h1,
h2,
h3,
h4 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 0 0 0.5rem;
}

p {
  margin: 0 0 1rem;
  color: var(--ink);
}

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

button,
input,
textarea {
  font-family: inherit;
  color: inherit;
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

section {
  padding: 3.8rem 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 244, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.3rem 0;
}

.logo {
  font-size: 1.7rem;
  letter-spacing: 0.22rem;
  font-family: "Cormorant Garamond", serif;
}

.logo,
.wordmark {
  line-height: 1;
}

.ooo-mark {
  --dot-size: 0.16em;
  --dot-offset: -0.32em;
  --dot-inset: 0.2em;
  display: inline-flex;
  align-items: flex-end;
  gap: 0.06em;
  line-height: 1;
  font-family: "Cormorant Garamond", serif;
}

.ooo-letter {
  position: relative;
  display: inline-block;
  line-height: 1;
}

.ooo-letter::before,
.ooo-letter::after {
  content: "";
  position: absolute;
  width: var(--dot-size);
  height: var(--dot-size);
  top: var(--dot-offset);
  border-radius: 50%;
  background: currentColor;
}

.ooo-letter::before {
  left: var(--dot-inset);
}

.ooo-letter::after {
  right: var(--dot-inset);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.nav-link {
  padding-bottom: 0.2rem;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--ink);
}

.nav-link[aria-current="page"] {
  color: var(--ink);
  border-color: var(--ink);
}

.nav-icons {
  display: flex;
  gap: 0.8rem;
}

.icon-button {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.icon-button svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

.hero {
  padding: 4.5rem 0 2.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.wordmark {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  letter-spacing: 0;
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.6rem;
}

.wordmark .ooo-mark {
  gap: 0.16em;
  --dot-size: 0.19em;
  --dot-offset: -0.36em;
  --dot-inset: 0.16em;
}

.hero-tagline {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 420px;
}

.hero-actions {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.6rem;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(28, 20, 12, 0.12);
}

.button.primary {
  background: var(--ink);
  color: #fefcf9;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.image-shell {
  background: var(--card);
  border-radius: 26px;
  padding: 1.8rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.image-inset {
  background: linear-gradient(160deg, #e0d7cc, #cfc5b6);
  border-radius: 18px;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(28, 27, 25, 0.4);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
}

.section-subtext {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  margin-bottom: 0.6rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.8rem;
  margin-top: 2rem;
}

.product-card {
  background: var(--card);
  border-radius: 22px;
  padding: 1.4rem;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 320px;
}

.product-image {
  background: #e6dfd4;
  border-radius: 18px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(28, 27, 25, 0.35);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
}

.product-name {
  font-size: 1.2rem;
}

.product-desc {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.price {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.9rem;
  border-bottom: 1px solid currentColor;
  width: fit-content;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.highlight-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.5rem;
  display: grid;
  gap: 0.6rem;
  color: var(--ink);
  transition: transform 0.2s ease;
}

.highlight-card:hover {
  transform: translateY(-4px);
}

.highlight-card svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.8rem;
  margin-top: 2rem;
}

.journal-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.journal-image {
  background: var(--card);
  border-radius: 18px;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
}

.signup-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 2rem;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.signup-form {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.input {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  min-width: 240px;
  background: #fffdf8;
}

.form-message {
  color: var(--muted);
  margin-top: 1rem;
  opacity: 0;
  max-height: 0;
  transition: opacity 0.3s ease;
}

.form-message.is-visible {
  opacity: 1;
  max-height: 40px;
}

.page-hero {
  padding: 3.5rem 0 2rem;
}

.page-hero p {
  color: var(--muted);
  max-width: 560px;
}

.filters {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.filter-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  background: var(--paper);
  color: var(--muted);
  font-size: 0.9rem;
}

.product-hero {
  padding-top: 3.5rem;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem;
  align-items: start;
}

.product-media {
  display: grid;
  gap: 1rem;
}

.product-info .price {
  font-size: 1.4rem;
  margin-top: 0.6rem;
}

.color-picker {
  margin: 1.2rem 0;
  display: grid;
  gap: 0.6rem;
}

.swatch-row {
  display: flex;
  gap: 0.8rem;
}

.swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--sand);
  cursor: pointer;
}

.swatch.charcoal {
  background: #1f1c1a;
}

.swatch.is-active {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.swatch-labels {
  display: flex;
  gap: 1.4rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.detail-section {
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
  margin-top: 1.8rem;
}

.detail-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.body-copy {
  max-width: 720px;
}

.form-grid {
  display: grid;
  gap: 1rem;
  max-width: 520px;
}

.form-field label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  color: var(--muted);
}

.brand-line {
  max-width: 420px;
  color: var(--muted);
}

.contact-footer {
  margin-top: 2rem;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

body.is-loaded .reveal {
  animation: fadeUp 0.8s ease forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .two-column,
  .product-hero-grid {
    grid-template-columns: 1fr;
  }

  .nav-bar {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .nav-links {
    justify-content: center;
    flex-wrap: wrap;
  }

  .nav-icons {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    row-gap: 0.6rem;
  }

  .hero {
    padding-top: 3.5rem;
  }

  .hero-actions,
  .signup-form {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button,
  .signup-form .button,
  .signup-form .input {
    width: 100%;
  }

  .signup-card {
    padding: 1.6rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }

  body.is-loaded .reveal {
    animation: none;
  }

  .button,
  .highlight-card {
    transition: none;
  }
}
