/* ============================================================
   KOLSLAW, P.C. — main.css
   Palette: off-white base, forest green accent, warm slate type
   ============================================================ */

:root {
  --green:        #2d5a1b;
  --green-mid:    #3b6d11;
  --green-light:  #eaf3de;
  --green-hover:  #224414;
  --ink:          #1a1a16;
  --slate:        #3d3d38;
  --mist:         #f4f2ed;
  --warm:         #e8e5de;
  --rule:         rgba(45, 90, 27, 0.14);
  --rule-warm:    rgba(30, 28, 20, 0.1);
  --base:         #faf9f6;
  --radius:       3px;
  --max-w:        900px;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Jost', system-ui, sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body { font-family: var(--font-sans); font-weight: 300; color: var(--ink); background: var(--base); line-height: 1.75; }
img { display: block; max-width: 100%; }
a { color: inherit; }
ul { list-style: none; }

::selection { background: var(--green); color: #fff; }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--green-mid);
  outline-offset: 2px;
}

/* ---- Layout ---- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }

/* ---- Header ---- */
.site-header {
  border-bottom: 1px solid var(--rule);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 246, 0.85);
  backdrop-filter: blur(10px) saturate(1.4);
  -webkit-backdrop-filter: blur(10px) saturate(1.4);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }

.logo-wrap { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon { width: 28px; height: 28px; }
.wordmark { font-family: var(--font-sans); font-weight: 500; font-size: 15px; letter-spacing: 0.2em; color: var(--ink); }
.pc-sup { font-size: 9px; font-weight: 300; letter-spacing: 0.1em; color: var(--green-mid); vertical-align: super; margin-left: 2px; }

.nav-links { display: flex; gap: 2.5rem; }
.nav-links a { font-size: 11px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate); text-decoration: none; transition: color 0.15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--green); }

/* ---- Hero ---- */
.hero { padding: 5rem 0 4.5rem; border-bottom: 1px solid var(--rule); position: relative; overflow: hidden; }
.hero-diagonal { position: absolute; top: 0; right: 0; width: 42%; height: 100%; background-color: var(--green-light); background-image: repeating-linear-gradient(135deg, rgba(45, 90, 27, 0.12) 0px, rgba(45, 90, 27, 0.12) 1px, transparent 1px, transparent 10px); opacity: 0.3; clip-path: polygon(18% 0%, 100% 0%, 100% 100%, 0% 100%); pointer-events: none; }

.hero-eyebrow { font-size: 11px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-mid); margin-bottom: 1.5rem; display: flex; align-items: center; gap: 10px; }
.hero-eyebrow::before { content: ''; display: inline-block; width: 28px; height: 1px; background: var(--green-mid); flex-shrink: 0; }

.hero h1 { font-family: var(--font-serif); font-size: clamp(38px, 5vw, 56px); font-weight: 300; line-height: 1.1; letter-spacing: -0.01em; margin-bottom: 1.5rem; max-width: 580px; }
.hero h1 em { font-style: italic; color: var(--green); }

.hero-body { font-size: 17px; font-weight: 300; color: var(--slate); line-height: 1.8; max-width: 480px; margin-bottom: 2.5rem; }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---- Buttons ---- */
.btn { display: inline-block; font-family: var(--font-sans); font-size: 12px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; padding: 0.75rem 1.75rem; border-radius: var(--radius); transition: background 0.15s, color 0.15s, border-color 0.15s; cursor: pointer; border: 1px solid transparent; }
.btn-primary { background: var(--green); color: #fff; border-color: var(--green); }
.btn-primary:hover { background: var(--green-hover); border-color: var(--green-hover); }
.btn-outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green-light); }

/* ---- Status tag ---- */
.status-tag { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 400; letter-spacing: 0.07em; color: var(--green-mid); background: var(--green-light); padding: 5px 13px; border-radius: 2px; margin-bottom: 2rem; }
.status-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--green-mid); display: block; flex-shrink: 0; }

/* ---- Section ---- */
.section { padding: 4rem 0; border-bottom: 1px solid var(--rule); }
.section-label { font-size: 10px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green-mid); margin-bottom: 2.5rem; display: flex; align-items: center; gap: 12px; }
.section-label::after { content: ''; flex: 1; height: 1px; background: var(--rule); }

/* ---- Practice grid ---- */
.practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.practice-cell { padding: 1.75rem; border-right: 1px solid var(--rule); background: var(--base); }
.practice-cell:last-child { border-right: none; }
.practice-num { font-family: var(--font-serif); font-size: 36px; font-weight: 300; color: var(--green-mid); opacity: 0.65; line-height: 1; margin-bottom: 0.5rem; }
.practice-cell h3 { font-family: var(--font-serif); font-size: 20px; font-weight: 400; color: var(--ink); margin-bottom: 0.5rem; }
.practice-cell p { font-size: 13.5px; color: var(--slate); line-height: 1.65; font-weight: 300; }

/* ---- About split ---- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.about-grid h2 { font-family: var(--font-serif); font-size: clamp(26px, 3vw, 36px); font-weight: 300; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 1.25rem; }
.about-grid h2 em { font-style: italic; color: var(--green); }
.about-body { font-size: 15px; color: var(--slate); font-weight: 300; line-height: 1.8; }
.about-body p + p { margin-top: 1rem; }

.cred-table { width: 100%; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; border-collapse: collapse; font-size: 13px; }
.cred-table tr { border-bottom: 1px solid var(--rule); }
.cred-table tr:last-child { border-bottom: none; }
.cred-table tr:nth-child(even) td { background: var(--mist); }
.cred-table td { padding: 0.75rem 1rem; vertical-align: top; }
.cred-table td:first-child { font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-mid); white-space: nowrap; width: 38%; }
.cred-table td:last-child { color: var(--slate); font-weight: 300; }

/* ---- Tools grid ---- */
.tools-intro { font-size: 16px; color: var(--slate); font-weight: 300; line-height: 1.8; max-width: 540px; margin-bottom: 2.5rem; }
.tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tool-card { border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.5rem; background: var(--base); transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
.tool-card:hover { border-color: var(--green-mid); transform: translateY(-3px); box-shadow: 0 14px 28px -18px rgba(45, 90, 27, 0.35); }
.tool-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.tool-icon { width: 34px; height: 34px; border-radius: 50%; background: var(--green-light); display: flex; align-items: center; justify-content: center; }
.tool-icon svg { width: 16px; height: 16px; stroke: var(--green); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.tool-pill { font-size: 10px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 9px; border-radius: 2px; }
.tool-pill.live { background: var(--green-light); color: var(--green-mid); }
.tool-pill.soon { background: var(--warm); color: var(--slate); }
.tool-pill.road { background: var(--mist); color: #999; }
.tool-card h3 { font-family: var(--font-serif); font-size: 19px; font-weight: 400; color: var(--ink); margin-bottom: 0.4rem; }
.tool-card p { font-size: 13px; color: var(--slate); line-height: 1.6; font-weight: 300; margin-bottom: 0.75rem; }
.tool-meta { font-size: 11px; color: var(--green-mid); font-weight: 400; letter-spacing: 0.04em; border-top: 1px solid var(--rule); padding-top: 0.75rem; }

/* ---- Page header (inner pages) ---- */
.page-header { padding: 4rem 0 3rem; border-bottom: 1px solid var(--rule); }
.page-header h1 { font-family: var(--font-serif); font-size: clamp(32px, 4vw, 48px); font-weight: 300; line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 1rem; }
.page-header h1 em { font-style: italic; color: var(--green); }
.page-header .lead { font-size: 17px; color: var(--slate); font-weight: 300; line-height: 1.8; max-width: 520px; }

/* ---- Prose content ---- */
.prose { padding: 3rem 0; max-width: 640px; }
.prose p { font-size: 15px; color: var(--slate); font-weight: 300; line-height: 1.8; margin-bottom: 1.25rem; }
.prose h2 { font-family: var(--font-serif); font-size: 24px; font-weight: 400; color: var(--ink); margin: 2.5rem 0 0.75rem; }
.prose ul { margin: 0 0 1.25rem 1.25rem; list-style: disc; }
.prose ul li { font-size: 15px; color: var(--slate); font-weight: 300; line-height: 1.8; margin-bottom: 0.25rem; }
.prose a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }

/* ---- Notice box ---- */
.notice { background: var(--green-light); border-left: 3px solid var(--green-mid); border-radius: 0 var(--radius) var(--radius) 0; padding: 1rem 1.25rem; font-size: 13.5px; color: var(--slate); line-height: 1.65; margin-bottom: 2rem; font-weight: 300; }
.notice h3 { font-family: var(--font-serif); font-size: 19px; font-weight: 400; color: var(--ink); margin-bottom: 0.4rem; }
.notice a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.hero-note { max-width: 560px; position: relative; z-index: 1; }

/* ---- About steps ---- */
.about-steps { border: 1px solid var(--rule); border-radius: var(--radius); background: var(--base); padding: 1.75rem; }
.about-steps h3 { font-family: var(--font-serif); font-size: 20px; font-weight: 400; color: var(--ink); margin-bottom: 1rem; }
.about-steps ol { list-style: none; counter-reset: steps; }
.about-steps li { counter-increment: steps; position: relative; padding-left: 2.4rem; font-size: 13.5px; color: var(--slate); font-weight: 300; line-height: 1.65; margin-bottom: 1rem; }
.about-steps li:last-child { margin-bottom: 0; }
.about-steps li::before { content: counter(steps); position: absolute; left: 0; top: 0.1rem; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--green-light); color: var(--green-mid); font-size: 11px; font-weight: 500; display: flex; align-items: center; justify-content: center; }
.about-steps strong { font-weight: 500; color: var(--ink); }

/* ---- Contact form ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.form-wrap { display: flex; flex-direction: column; gap: 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-mid); }
.field input, .field select, .field textarea { font-family: var(--font-sans); font-size: 14px; font-weight: 300; color: var(--ink); background: #fff; border: 1px solid var(--rule-warm); border-radius: var(--radius); padding: 0.65rem 0.85rem; width: 100%; outline: none; transition: border-color 0.15s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green-mid); }
.field textarea { resize: vertical; min-height: 90px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%233b6d11' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; padding-right: 2rem; }

.checkbox-field { display: flex; gap: 0.75rem; align-items: flex-start; }
.checkbox-field input[type="checkbox"] { margin-top: 3px; accent-color: var(--green); flex-shrink: 0; width: 15px; height: 15px; cursor: pointer; }
.checkbox-field label { font-size: 12.5px; color: var(--slate); font-weight: 300; line-height: 1.6; cursor: pointer; }

.form-disclaimer { font-size: 12px; color: #999; line-height: 1.65; font-weight: 300; margin-top: 0.5rem; }
.contact-sidebar { font-size: 14px; color: var(--slate); font-weight: 300; line-height: 1.8; }
.contact-sidebar h2 { font-family: var(--font-serif); font-size: 22px; font-weight: 400; color: var(--ink); margin-bottom: 1rem; }
.contact-sidebar p { margin-bottom: 1rem; }
.contact-sidebar a { color: var(--green); text-decoration: none; }
.contact-sidebar a:hover { text-decoration: underline; }

/* ---- Footer ---- */
.site-footer { padding: 2.5rem 0; margin-top: 0; }
.footer-inner { display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; }
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-logo { width: 20px; height: 20px; opacity: 0.6; }
.footer-name { font-family: var(--font-sans); font-weight: 500; font-size: 12px; letter-spacing: 0.2em; color: var(--slate); }
.footer-nav { display: flex; gap: 2rem; flex-wrap: wrap; }
.footer-nav a { font-size: 11px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: #aaa; text-decoration: none; transition: color 0.15s; }
.footer-nav a:hover { color: var(--green); }
.footer-micro { font-size: 11.5px; color: #bbb; font-weight: 300; line-height: 1.7; }

/* ---- Utensils page hero ---- */
.utensils-hero { padding: 4rem 0 3rem; border-bottom: 1px solid var(--rule); }
.utensils-hero h1 { font-family: var(--font-serif); font-size: clamp(32px, 4vw, 48px); font-weight: 300; line-height: 1.15; margin-bottom: 1rem; }
.utensils-hero h1 em { font-style: italic; color: var(--green); }
.utensils-hero .lead { font-size: 17px; color: var(--slate); font-weight: 300; line-height: 1.8; max-width: 540px; margin-bottom: 1.5rem; }
.utensils-tag { font-size: 11px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-mid); display: flex; align-items: center; gap: 8px; }
.utensils-tag::before { content: ''; width: 20px; height: 1px; background: var(--green-mid); }

/* ---- Responsive ---- */
@media (max-width: 720px) {
  .practice-grid { grid-template-columns: 1fr; }
  .practice-cell { border-right: none; border-bottom: 1px solid var(--rule); }
  .practice-cell:last-child { border-bottom: none; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .tools-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-diagonal { display: none; }
  .nav-links { gap: 1.5rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero { padding: 3rem 0; }
  .nav-links { gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
  .tool-card:hover { transform: none; }
}
