/* ============================================================
   OneCut Shop — promotional site
   Warm, hand-crafted, woodshop-inspired. Not a SaaS template.
============================================================ */

:root {
  /* Wood-shop warm palette — inspired by old workbench finishes */
  --cream:        #F4ECD8;
  --cream-light:  #FBF6E9;
  --paper:        #FFFCF5;
  --walnut:       #2E1A0E;
  --walnut-soft:  #4A2D1A;
  --oak:          #8B5A2B;
  --rust:         #C8632A;
  --rust-deep:    #A04518;
  --brass:        #B8956B;
  --shadow:       rgba(46, 26, 14, 0.12);
  --shadow-soft:  rgba(46, 26, 14, 0.06);
  --shadow-strong:rgba(46, 26, 14, 0.25);

  /* Type */
  --serif-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --serif-body:    'Lora', Georgia, serif;
  --hand:          'Caveat', cursive;

  /* Layout */
  --container: 1100px;
  --container-narrow: 720px;
}

/* ============================================================
   Reset / base
============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--serif-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--walnut);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--rust-deep);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
a:hover {
  color: var(--rust);
  border-bottom-color: currentColor;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: var(--container-narrow); }

/* ============================================================
   Header
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--shadow-soft);
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--walnut);
}
.brand-mark {
  display: inline-block;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  font-size: 28px;
  color: var(--rust);
  border: 2px solid var(--oak);
  border-radius: 50%;
  background: var(--cream);
}

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-family: var(--serif-body);
  font-size: 15px;
  color: var(--walnut-soft);
  border: none;
}
.nav a:hover { color: var(--rust); }

.nav-cta {
  background: var(--walnut);
  color: var(--cream-light) !important;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 500;
}
.nav-cta:hover {
  background: var(--rust);
  color: var(--cream-light) !important;
}

/* ============================================================
   Hero
============================================================ */
.hero {
  position: relative;
  padding: 0;
  background: var(--walnut);
  color: var(--cream-light);
  overflow: hidden;
}

.hero-image-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  filter: contrast(1.1) saturate(1.1);
}
.hero-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(46,26,14,0.55) 0%, rgba(46,26,14,0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 110px 24px 130px;
  text-align: center;
  max-width: 880px;
}

.kicker {
  font-family: var(--hand);
  font-size: 28px;
  color: var(--rust);
  margin: 0 0 18px;
  letter-spacing: 0.5px;
}

.hero-title {
  font-family: var(--serif-display);
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  font-weight: 700;
  margin: 0 0 24px;
  color: var(--cream-light);
}

.hero-tagline {
  font-size: 20px;
  line-height: 1.6;
  margin: 0 auto 36px;
  max-width: 620px;
  color: var(--cream);
  font-style: italic;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--serif-body);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--rust);
  color: var(--cream-light);
  border-color: var(--rust);
}
.btn-primary:hover {
  background: var(--rust-deep);
  border-color: var(--rust-deep);
  color: var(--cream-light);
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--cream-light);
  border-color: var(--cream-light);
}
.btn-secondary:hover {
  background: var(--cream-light);
  color: var(--walnut);
}
.btn-large {
  padding: 18px 40px;
  font-size: 18px;
}

.hero-fineprint {
  font-size: 14px;
  color: var(--brass);
  font-style: italic;
  margin: 0;
}

/* ============================================================
   Sections
============================================================ */
.section {
  padding: 96px 0;
}
.section-cream {
  background: var(--cream);
  position: relative;
}
.section-cream::before, .section-cream::after {
  content: '';
  display: block;
  height: 1px;
  background: var(--shadow);
}
.section-dark {
  background: var(--walnut);
  color: var(--cream-light);
}

.section-kicker {
  font-family: var(--hand);
  font-size: 24px;
  color: var(--rust);
  margin: 0 0 8px;
}
.section-kicker.light { color: var(--brass); }
.section-kicker.centered { text-align: center; }

.section-title {
  font-family: var(--serif-display);
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.15;
  font-weight: 700;
  color: var(--walnut);
  margin: 0 0 24px;
}
.section-title.light { color: var(--cream-light); }
.section-title.centered { text-align: center; }

.section-subtitle {
  font-size: 18px;
  color: var(--walnut-soft);
  margin: 0 0 48px;
  font-style: italic;
}
.section-subtitle.centered { text-align: center; }

.section-body {
  font-size: 18px;
  line-height: 1.75;
  color: var(--walnut-soft);
  margin: 0 0 20px;
}
.section-body.light { color: var(--cream); }

.section-handnote {
  font-family: var(--hand);
  font-size: 26px;
  color: var(--rust);
  margin: 32px 0 0;
}

/* ============================================================
   Tool grid (collapsible cards)
============================================================ */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.tool-card {
  background: var(--paper);
  border: 1px solid var(--shadow);
  border-radius: 4px;
  box-shadow: 0 2px 8px var(--shadow-soft);
  transition: box-shadow 0.2s, transform 0.2s;
}
.tool-card[open] {
  box-shadow: 0 6px 24px var(--shadow);
}

.tool-card summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--serif-display);
}
.tool-card summary::-webkit-details-marker { display: none; }

.tool-card-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--walnut);
}
.tool-card-count {
  font-family: var(--hand);
  font-size: 18px;
  color: var(--rust);
}

.tool-card[open] summary {
  border-bottom: 1px solid var(--shadow);
}

.tool-list {
  margin: 0;
  padding: 16px 28px 28px;
  list-style: none;
}
.tool-list li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--shadow-soft);
  font-size: 15px;
  line-height: 1.55;
  color: var(--walnut-soft);
}
.tool-list li:last-child { border-bottom: none; }
.tool-list strong {
  color: var(--walnut);
  font-weight: 600;
}

/* ============================================================
   Image break
============================================================ */
.image-break {
  background: var(--cream);
  padding: 0;
}
.image-break-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.image-break figure {
  margin: 0;
  position: relative;
  overflow: hidden;
}
.image-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.95);
}
.image-break figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(46,26,14,0.85) 0%, transparent 100%);
  color: var(--cream-light);
  padding: 60px 32px 24px;
  font-family: var(--serif-display);
  font-style: italic;
  font-size: 18px;
  line-height: 1.4;
}

@media (max-width: 720px) {
  .image-break-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Beta form
============================================================ */
.beta-form {
  margin: 36px 0 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(184, 149, 107, 0.3);
  border-radius: 8px;
  padding: 32px;
}

.field {
  margin-bottom: 22px;
}
.field label {
  display: block;
  font-family: var(--hand);
  font-size: 22px;
  color: var(--brass);
  margin-bottom: 6px;
}
.field input, .field textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--serif-body);
  font-size: 16px;
  color: var(--cream-light);
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(184, 149, 107, 0.4);
  border-radius: 4px;
  transition: border-color 0.2s, background 0.2s;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--rust);
  background: rgba(0,0,0,0.4);
}
.field input::placeholder, .field textarea::placeholder {
  color: rgba(244, 236, 216, 0.4);
  font-style: italic;
}
.field textarea {
  resize: vertical;
  min-height: 80px;
  font-family: var(--serif-body);
}

.beta-form button {
  width: 100%;
}

.form-fineprint {
  font-size: 14px;
  color: var(--brass);
  font-style: italic;
  text-align: center;
  margin: 16px 0 0;
}

/* ============================================================
   Footer
============================================================ */
.site-footer {
  background: #1A0F08;
  color: var(--cream);
  padding: 56px 0 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 40px;
  align-items: start;
}
@media (max-width: 720px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.footer-brand .brand {
  color: var(--cream-light);
  margin-bottom: 8px;
}
.footer-brand .brand-mark {
  color: var(--rust);
  border-color: var(--brass);
  background: transparent;
}
.footer-tagline {
  font-family: var(--hand);
  font-size: 20px;
  color: var(--brass);
  margin: 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  color: var(--cream);
  font-size: 15px;
  border: none;
}
.footer-links a:hover { color: var(--rust); }

.footer-meta {
  text-align: right;
  font-size: 14px;
  color: var(--brass);
}
.footer-meta p {
  margin: 0 0 6px;
}
.footer-mini {
  font-style: italic;
  font-size: 13px;
}
@media (max-width: 720px) {
  .footer-meta { text-align: center; }
}

/* ============================================================
   Responsive
============================================================ */
@media (max-width: 720px) {
  .nav { gap: 16px; }
  .nav a:not(.nav-cta) { display: none; }
  .header-inner { padding: 14px 0; }
  .hero-content { padding: 80px 24px 90px; }
  .section { padding: 64px 0; }
  body { font-size: 17px; }
}
