
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  background-color: #f7f7f5;
  color: #111111;
  line-height: 1.6;
}

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

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.5rem;
}

/* Header & Nav */

.site-header {
  border-bottom: 1px solid #e2e2de;
  background: #ffffffd9;
  backdrop-filter: blur(6px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 2px solid #111;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 50%;
}

.brand-mark::before {
  top: 0;
  background: #111;
}

.brand-mark::after {
  bottom: 0;
  background: #fff;
}

.brand-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #f15025;
  box-shadow: 0 0 0 1px #111;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-name {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.brand-tagline {
  font-size: 0.75rem;
  color: #666660;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.25rem;
  color: #33332e;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: #f15025;
  transition: width 0.2s ease-out;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  width: 100%;
}

/* Buttons */

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  cursor: pointer;
  transition: transform 0.1s ease-out, box-shadow 0.1s ease-out, background 0.1s ease-out;
  white-space: nowrap;
}

.btn-primary {
  background: #111111;
  color: #ffffff;
  box-shadow: 0 7px 16px rgba(0,0,0,0.18);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 9px 20px rgba(0,0,0,0.22);
}

.btn-outline {
  border-color: #ccccc4;
  background: #ffffff;
  color: #22221c;
}

.btn-outline:hover {
  background: #f0f0ea;
}

.btn-small {
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
}

/* Layout */

.main-content {
  flex: 1 0 auto;
}

.page-header {
  padding: 3rem 0 1rem;
}

.page-kicker {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  color: #8a8a80;
  margin-bottom: 0.75rem;
}

.page-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.page-subtitle {
  max-width: 640px;
  color: #55554c;
  font-size: 0.95rem;
}

.page-body {
  padding-bottom: 3rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
  gap: 2.5rem;
}

.section {
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section-text {
  font-size: 0.95rem;
  color: #33332b;
}

.card {
  border-radius: 1rem;
  border: 1px solid #e0e0d8;
  padding: 1.25rem;
  background: #ffffff;
}

.card-muted {
  background: #f4f4ee;
}

.meta {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8a8a80;
  margin-bottom: 0.5rem;
}

/* Lists */

.simple-list {
  list-style: none;
  display: grid;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.simple-list li::before {
  content: "•";
  margin-right: 0.5rem;
  color: #f15025;
}

/* Story & book cards */

.item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}

.item-card {
  border-radius: 1rem;
  border: 1px solid #e0e0d8;
  padding: 1.25rem;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.item-title {
  font-weight: 600;
  font-size: 0.98rem;
}

.item-meta {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #a0a098;
}

.item-desc {
  font-size: 0.9rem;
  color: #44443c;
}

.item-tag {
  display: inline-flex;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid #ddddd0;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #77776d;
}

/* Forms */

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
  gap: 2rem;
}

.form-field {
  margin-bottom: 1rem;
}

label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.4rem;
  color: #77776d;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid #d4d4cc;
  font: inherit;
  background: #fbfbf7;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #f15025;
  box-shadow: 0 0 0 1px rgba(241,80,37,0.25);
  background: #ffffff;
}

/* Footer */

.site-footer {
  border-top: 1px solid #e2e2de;
  padding: 1.5rem 0 2rem;
  font-size: 0.78rem;
  color: #77776f;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
  }
  .nav-links {
    flex-wrap: wrap;
    padding-top: 0.5rem;
  }
  .grid-2,
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .page-header {
    padding-top: 2rem;
  }
}
