/* Craftee CreeAshins — craftee.co.za */

:root {
  --sky: #7ec8e3;
  --sky-deep: #4a9bb8;
  --leaf: #2f6b45;
  --leaf-bright: #3d8a58;
  --soil: #3a2a1c;
  --cream-ink: #f7f3ea;
  --sand: #e8d9b8;
  --pumpkin: #e07828;
  --moon: #f0ecd8;
  --fog: rgba(247, 243, 234, 0.12);
  --max: 1080px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--cream-ink);
  background: var(--soil);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--sand);
  text-underline-offset: 0.18em;
}

a:hover {
  color: #fff;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.25rem, 4vw, 2.5rem);
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: #fff;
  border-radius: 0.85rem;
  padding: 0.35rem 0.55rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.brand-logo {
  height: 2.75rem;
  width: auto;
  max-width: min(48vw, 11.5rem);
  object-fit: contain;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.wordmark span {
  font-weight: 500;
  opacity: 0.85;
}

.nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav a:hover {
  text-decoration: underline;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 70% 18%, rgba(240, 236, 216, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 40% at 15% 70%, rgba(61, 138, 88, 0.35), transparent 50%),
    linear-gradient(165deg, #1a3a52 0%, #2a5a6e 28%, #3d7a58 62%, #2a4a38 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.9;
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0.42;
  mix-blend-mode: luminosity;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(30, 28, 22, 0.92) 0%,
    rgba(30, 28, 22, 0.55) 38%,
    rgba(30, 40, 50, 0.25) 70%,
    transparent 100%
  );
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: clamp(5.5rem, 14vh, 8rem) clamp(1.25rem, 4vw, 2.5rem) clamp(2.5rem, 6vh, 4rem);
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.hero-logo {
  display: block;
  width: min(100%, 22rem);
  height: auto;
  margin: 0 0 1.25rem;
  border-radius: 1.25rem;
  background: #fff;
  padding: 0.75rem 1rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  animation: rise 0.9s ease-out both;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.75rem, 8vw, 5.25rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  max-width: 11ch;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
  animation: rise 0.9s ease-out both;
}

.feature-list {
  margin: 0 0 1.35rem;
  padding-left: 1.15rem;
  color: rgba(247, 243, 234, 0.82);
}

.feature-list li {
  margin: 0.35rem 0;
}

.hero .lede {
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  max-width: 34ch;
  margin: 0 0 1.75rem;
  color: rgba(247, 243, 234, 0.92);
  animation: rise 0.9s 0.12s ease-out both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  animation: rise 0.9s 0.22s ease-out both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--pumpkin);
  color: #1a1208;
  border-color: var(--pumpkin);
}

.btn-primary:hover {
  background: #f08a38;
  color: #1a1208;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* —— Sections —— */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) clamp(1.25rem, 4vw, 2.5rem);
  max-width: var(--max);
  margin: 0 auto;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: #fff;
}

.section .support {
  margin: 0 0 2rem;
  max-width: 48ch;
  color: rgba(247, 243, 234, 0.78);
}

.band {
  background: linear-gradient(180deg, #243828 0%, #1e2a24 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.band-sky {
  background: linear-gradient(180deg, #2a4a5c 0%, #1e3848 100%);
}

.app-feature {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 760px) {
  .app-feature {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
  }
}

.app-feature img {
  width: 100%;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.app-copy h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
  color: #fff;
}

.app-copy p {
  margin: 0 0 1.25rem;
  color: rgba(247, 243, 234, 0.8);
}

.meta {
  font-size: 0.9rem;
  color: rgba(247, 243, 234, 0.55);
  margin-top: 0.75rem;
}

/* —— Legal / support pages —— */
.page-top {
  padding: 7.5rem clamp(1.25rem, 4vw, 2.5rem) 2rem;
  background: linear-gradient(165deg, #1a3a52 0%, #2a5548 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-top h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 0.4rem;
  letter-spacing: -0.02em;
}

.page-top p {
  margin: 0;
  color: rgba(247, 243, 234, 0.75);
  max-width: 42ch;
}

.prose {
  padding: 2.5rem clamp(1.25rem, 4vw, 2.5rem) 4rem;
  max-width: 720px;
  margin: 0 auto;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 2rem 0 0.6rem;
  color: #fff;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: rgba(247, 243, 234, 0.82);
}

.prose ul {
  padding-left: 1.2rem;
}

.prose strong {
  color: #fff;
  font-weight: 700;
}

.contact-block {
  margin-top: 1.5rem;
  padding: 1.25rem 1.35rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
}

.contact-block a {
  font-weight: 700;
}

/* —— Footer —— */
.site-footer {
  padding: 2rem clamp(1.25rem, 4vw, 2.5rem) 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  font-size: 0.9rem;
  color: rgba(247, 243, 234, 0.55);
}

.site-footer nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer a {
  color: rgba(247, 243, 234, 0.7);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
