:root {
  --ink: #201b14;
  --ink-soft: #4a4335;
  --muted: #8a7f6a;
  --line: #e6dcc8;
  --paper: #f6f1e7;
  --card: #fbf8f2;
  --accent: #7a2e2e;
  --accent-dark: #5c2222;
  --gold: #c9a15a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Source Sans Pro', system-ui, -apple-system, sans-serif;
  line-height: 1.5;
}

h1, h2, h3, .serif { font-family: 'Lora', Georgia, 'Times New Roman', serif; }

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

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* Nav */
.site-nav {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  gap: 24px;
}
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand strong { font-size: 24px; font-weight: 700; }
.brand span { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: none; }
@media (min-width: 720px) { .brand span { display: inline; } }

.nav-links { display: none; gap: 30px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
@media (min-width: 860px) { .nav-links { display: flex; } }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.cart-link { position: relative; font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.cart-badge {
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 800;
  border-radius: 20px; min-width: 18px; height: 18px; display: inline-flex;
  align-items: center; justify-content: center; padding: 0 5px;
}
.nav-toggle { display: inline-flex; background: none; border: 0; cursor: pointer; padding: 4px; }
@media (min-width: 860px) { .nav-toggle { display: none; } }
.mobile-panel { display: none; border-top: 1px solid var(--line); background: var(--card); }
.mobile-panel.open { display: block; }
.mobile-panel a { display: block; padding: 12px 32px; font-weight: 600; border-bottom: 1px solid var(--line); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 7px; font-size: 14.5px; font-weight: 700;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: rgba(122,46,46,0.07); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* Hero */
.hero { padding: 72px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1fr; gap: 44px; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.2fr .8fr; align-items: center; } }
.kicker { font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--accent); }
.hero h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.14; margin: 14px 0 20px; }
.hero p.lead { font-size: 17px; color: var(--ink-soft); max-width: 560px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.showcase { background: var(--ink); color: #f0e9d8; border-radius: 14px; padding: 32px; }
.showcase .kicker { color: var(--gold); }
.showcase h3 { font-size: 21px; margin: 14px 0 4px; }
.showcase .meta { font-size: 12.5px; color: #b9ae95; margin: 0 0 14px; }
.showcase p.quote { font-size: 14px; line-height: 1.75; color: #ded4bc; }
.showcase .foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(240,233,216,.16); display: flex; justify-content: space-between; font-size: 12px; color: #9c916f; }

/* sections */
.section { padding: 60px 0; }
.section-alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-size: 30px; margin: 6px 0 0; }

.grid-3 { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(3,1fr); } }
.grid-4 { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
@media (min-width: 720px) { .grid-4 { grid-template-columns: repeat(4,1fr); } }

.feature { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 26px; }
.feature .ico {
  width: 42px; height: 42px; border-radius: 50%; background: #f1e4c8;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.feature h3 { font-size: 17px; margin: 0 0 8px; }
.feature p { font-size: 14px; color: var(--ink-soft); margin: 0; line-height: 1.7; }

.work-card {
  background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 20px;
  display: flex; flex-direction: column; transition: box-shadow .15s ease, transform .15s ease;
}
.work-card:hover { box-shadow: 0 12px 26px rgba(42,36,28,.1); transform: translateY(-2px); }
.work-card .cat { font-size: 10.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.work-card h3 { font-size: 16.5px; margin: 9px 0 3px; }
.work-card .meta { font-size: 12px; color: var(--muted); margin: 0 0 14px; }
.work-card .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; }
.work-card .price { font-weight: 800; }
.work-card .add { background: none; border: 1px solid var(--line); border-radius: 6px; padding: 6px 12px; font-size: 12px; font-weight: 700; cursor: pointer; font-family: inherit; }
.work-card .add:hover { border-color: var(--accent); color: var(--accent); }

.steps { display: grid; grid-template-columns: 1fr; gap: 30px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3,1fr); } }
.steps .num { font-size: 38px; font-weight: 700; color: var(--line); margin-bottom: 8px; font-family: 'Lora', Georgia, serif; }
.steps h3 { font-size: 16.5px; margin: 0 0 8px; }
.steps p { font-size: 14px; color: var(--ink-soft); margin: 0; line-height: 1.7; }

.pricing { display: grid; grid-template-columns: 1fr; gap: 22px; max-width: 1000px; margin: 0 auto; }
@media (min-width: 780px) { .pricing { grid-template-columns: repeat(3,1fr); } }
.plan { border: 1px solid var(--line); border-radius: 12px; padding: 28px; background: #fff; position: relative; }
.plan.reco { border: 2px solid var(--accent); }
.plan .tag { position: absolute; top: -12px; left: 22px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; }
.plan h3 { font-size: 18.5px; margin: 0 0 5px; }
.plan .sub { font-size: 13px; color: var(--muted); margin: 0 0 16px; }
.plan .price { font-size: 28px; font-weight: 700; margin-bottom: 14px; }
.plan .price small { font-size: 14px; font-weight: 600; color: var(--muted); }
.plan p.desc { font-size: 13.5px; color: var(--ink-soft); line-height: 1.7; margin: 0; }

.dark-panel { background: var(--ink); color: #ded4bc; }
.dark-panel .wrap { max-width: 820px; text-align: center; padding: 56px 32px; }
.dark-panel h2 { color: #fff; font-size: 26px; margin: 10px 0 16px; }
.dark-panel .kicker { color: var(--gold); }
.dark-panel p { font-size: 15px; line-height: 1.8; margin: 0 0 12px; }

footer.site-footer { background: #1a160f; color: #8a7f6a; padding: 36px 0; font-size: 12.5px; }
footer.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer.site-footer a:hover { color: #fff; }

/* breadcrumb */
.crumb { font-size: 13px; color: var(--muted); padding: 20px 0 0; }
.crumb a:hover { color: var(--accent); }

/* product page */
.product-head { display: grid; grid-template-columns: 1fr; gap: 40px; padding: 30px 0 50px; }
@media (min-width: 860px) { .product-head { grid-template-columns: 1fr 1fr; } }
.product-head .cover {
  background: var(--ink); border-radius: 14px; aspect-ratio: 16/10; max-height: 320px; display: flex;
  align-items: center; justify-content: center; color: #f0e9d8; text-align: center; padding: 30px;
}
@media (min-width: 860px) {
  .product-head .cover { aspect-ratio: 4/5; max-height: 480px; }
}
.product-head .cover .serif { font-size: 26px; }
.product-price-box { border: 1px solid var(--line); border-radius: 10px; padding: 22px; background: #fff; margin-top: 22px; }
.product-price-box .row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.product-price-box .amount { font-size: 26px; font-weight: 800; }
.notice {
  background: #fbf3e0; border: 1px solid #ecd9a8; color: #6b5620; border-radius: 8px;
  padding: 12px 14px; font-size: 13px; line-height: 1.6; margin-top: 16px;
}

/* cart */
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 10px 0; border-bottom: 1px solid var(--line); }
.cart-table td { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.cart-table .rm { background: none; border: 0; color: var(--accent); font-size: 13px; font-weight: 700; cursor: pointer; font-family: inherit; }
.cart-summary { border: 1px solid var(--line); border-radius: 10px; padding: 24px; background: #fff; margin-top: 30px; max-width: 380px; margin-left: auto; }
.cart-summary .row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 14.5px; }
.cart-summary .total { font-weight: 800; font-size: 18px; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }

/* legal pages */
.legal h2 { font-size: 20px; margin: 34px 0 10px; }
.legal p, .legal li { font-size: 14.5px; line-height: 1.75; color: var(--ink-soft); }
.legal { max-width: 820px; padding: 40px 0 80px; }
.placeholder { background: #fdf0f0; color: var(--accent-dark); padding: 1px 6px; border-radius: 4px; font-weight: 700; }
