/* Ordinary Tree Goods — simple one-page site */
/* No external dependencies. Safe to drop into Netlify/GitHub Pages/S3. */

:root{
  --bg: #f7f5f1;
  --ink: #111111;
  --muted: #5a5a5a;
  --line: rgba(17,17,17,.14);
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --radius: 18px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: var(--bg);
  color: var(--ink);
  line-height: 1.35;
}

/* Accessibility: Skip link */
.skip-link{
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--ink);
  color: var(--bg);
  padding: 8px 16px;
  z-index: 100;
  text-decoration: none;
}
.skip-link:focus{
  top: 0;
}

/* Accessibility: Visually hidden but available to screen readers */
.visually-hidden{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Accessibility: Focus styles */
a:focus,
button:focus{
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.wrap{
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
}

.wrap.center{
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero{
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--line);
}

.logo{
  display:block;
  width: min(420px, 80vw);
  height:auto;
}

.tagline{
  margin: 12px 0 0;
  font-size: 18px;
  color: var(--muted);
}

.cta{
  display:flex;
  gap: 12px;
  margin-top: 22px;
}

.btn{
  display:inline-block;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  color: var(--bg);
  background: var(--ink);
  text-decoration:none;
  font-weight: 600;
  letter-spacing: .2px;
}

.btn.ghost{
  background: transparent;
  color: var(--ink);
}

.section{
  padding: 56px 0;
}

h2{
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: .2px;
}

.lead{
  margin: 0 0 22px;
  color: var(--muted);
  max-width: 70ch;
}

.grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}

.card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb{
  height: 160px;
  width: 100%;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(17,17,17,.06), rgba(17,17,17,.02));
  border: 1px solid var(--line);
}

.card h3{
  margin: 0 0 6px;
  font-size: 16px;
}

.card p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.band{
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.band-inner{
  display:grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: start;
}

.mark{
  width: 96px;
  height: auto;
  margin-top: 2px;
}

.marks{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.label{
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .3px;
  text-transform: uppercase;
}

.logo.small{
  width: min(420px, 100%);
}

.contact-line{
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}

.contact-line a{
  color: var(--muted);
  text-decoration: underline;
}

.contact-line a:hover,
.contact-line a:focus{
  color: var(--ink);
}

.k{
  display:inline-block;
  width: 92px;
  color: var(--muted);
}

.footer{
  margin-top: 24px;
  padding: 18px 20px;
  border-top: 1px solid var(--line);
  color: rgba(0,0,0,0.35);
  font-size: 13px;
  text-align: center;
}

/* Responsive */
@media (max-width: 860px){
  .grid{grid-template-columns: 1fr}
  .band-inner{grid-template-columns: 1fr}
  .mark{width: 72px}
  .cta{flex-wrap: wrap}
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce){
  *{
    animation: none !important;
    transition: none !important;
  }
}
