/* Found and Made Studio — site styles */

:root {
  --terracotta: #B5502E;
  --graphite: #2C2C2A;
  --paper: #F1EFE8;
  --paper-dim: #E7E3D8;
  --muted: #6B685F;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--paper);
  color: var(--graphite);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(241, 239, 232, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(44,44,42,0.08);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--graphite);
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--graphite);
  font-size: 0.95rem;
  font-weight: 500;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  border-color: var(--terracotta);
}

.nav-toggle {
  display: none;
}

/* Hero */
.hero {
  padding: 96px 0 76px;
}

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--terracotta);
  margin: 0 0 18px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.12;
  margin: 0 0 22px;
  max-width: 16ch;
}

.hero p.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 56ch;
  margin: 0 0 34px;
}

.button-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.12s ease, opacity 0.12s ease;
}

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

.btn-primary {
  background: var(--terracotta);
  color: var(--paper);
}

.btn-secondary {
  background: transparent;
  color: var(--graphite);
  border: 1.5px solid rgba(44,44,42,0.35);
}

/* Sections */
section { padding: 64px 0; }

.section-alt {
  background: var(--paper-dim);
}

h2.section-title {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 12px;
}

p.section-lead {
  color: var(--muted);
  max-width: 62ch;
  margin: 0 0 44px;
}

/* Cards grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}

.card {
  background: #fff;
  border: 1px solid rgba(44,44,42,0.08);
  border-radius: 14px;
  padding: 30px 26px;
}

.card .mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--terracotta) 50%, transparent 50%);
  border: 2px solid var(--graphite);
  margin-bottom: 18px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
}

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

/* CTA band */
.cta-band {
  background: var(--graphite);
  color: var(--paper);
  border-radius: 20px;
  padding: 56px 40px;
  text-align: center;
  margin: 0 auto;
}

.cta-band h2 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta-band p {
  color: rgba(241,239,232,0.75);
  margin: 0 0 28px;
}

.cta-band .btn-primary {
  background: var(--terracotta);
}

/* Page header (non-home pages) */
.page-header {
  padding: 72px 0 40px;
}

.page-header .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--terracotta);
  margin: 0 0 14px;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 18px;
}

.page-header p.lead {
  color: var(--muted);
  max-width: 60ch;
  font-size: 1.08rem;
  margin: 0;
}

/* Prose blocks (About) */
.prose {
  max-width: 68ch;
}

.prose p { margin: 0 0 20px; color: var(--graphite); }

.prose h2 { margin: 40px 0 14px; font-size: 1.4rem; }

/* Two column layout */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: start;
}

@media (max-width: 760px) {
  .two-col { grid-template-columns: 1fr; }
}

/* Services list */
.service-block {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 34px;
  padding: 36px 0;
  border-top: 1px solid rgba(44,44,42,0.1);
}

.service-block:last-child { border-bottom: 1px solid rgba(44,44,42,0.1); }

.service-block h3 {
  margin: 0;
  font-size: 1.3rem;
}

.service-block .num {
  color: var(--terracotta);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 8px;
}

.service-block p { margin: 0 0 12px; color: var(--muted); }

.service-block ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

@media (max-width: 700px) {
  .service-block { grid-template-columns: 1fr; gap: 12px; }
}

/* Blog */
.post-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.post-item {
  padding: 28px 0;
  border-top: 1px solid rgba(44,44,42,0.1);
  display: block;
  text-decoration: none;
  color: inherit;
}

.post-item:last-child { border-bottom: 1px solid rgba(44,44,42,0.1); }

.post-item .post-date {
  font-size: 0.82rem;
  color: var(--terracotta);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.post-item h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
}

.post-item p {
  margin: 0;
  color: var(--muted);
}

.post-body {
  max-width: 68ch;
}

.post-body p { margin: 0 0 20px; }

.back-link {
  display: inline-block;
  margin-bottom: 30px;
  font-size: 0.92rem;
  color: var(--terracotta);
  text-decoration: none;
  font-weight: 600;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-detail {
  margin-bottom: 22px;
}

.contact-detail .label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 6px;
}

.contact-detail a {
  color: var(--graphite);
  text-decoration: none;
  font-weight: 600;
}

form.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1.5px solid rgba(44,44,42,0.2);
  background: #fff;
  font-family: inherit;
  font-size: 0.95rem;
}

.contact-form textarea { resize: vertical; min-height: 120px; }

/* Footer */
.site-footer {
  border-top: 1px solid rgba(44,44,42,0.1);
  padding: 44px 0;
  margin-top: 40px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.footer-brand img { width: 26px; height: 26px; border-radius: 50%; }

.social-links {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.social-links a {
  text-decoration: none;
  color: var(--graphite);
  font-size: 0.9rem;
  font-weight: 600;
}

.social-links a:hover { color: var(--terracotta); }

.footer-copy {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 24px;
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
}
