/* Seventh Direction Design — shared site styles */

:root {
  --ink: #211D17;
  --muted: #7C7466;
  --line: #DFD6C3;
  --bg: #F6F2E9;
  --panel: #FFFDF8;
  --pill: #EFE7D6;
  --accent: #A85C32;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Work Sans', sans-serif;
}

h1, h2, h3 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
}

a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.72; }

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

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / Nav ---------- */

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

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

.site-title {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.site-nav a {
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.site-nav a.active {
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
}

.nav-toggle { display: none; }

@media (max-width: 760px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    z-index: 20;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .site-header { position: relative; }
  .nav-toggle {
    display: inline-flex;
    background: none;
    border: 1px solid var(--ink);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13px;
    cursor: pointer;
    color: var(--ink);
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
}

.btn-solid { background: var(--accent); color: #FFFDF8; border: 1px solid var(--accent); }
.btn-outline { border: 1px solid var(--ink); color: var(--ink); }

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

/* ---------- Hero ---------- */

.hero {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
  padding: 88px 0 72px;
}

.hero-text { flex: 1 1 460px; display: flex; flex-direction: column; gap: 24px; }
.hero-img {
  flex: 1 1 420px;
  min-height: 380px;
  border-radius: 16px;
  background: var(--pill);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  padding: 24px;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.hero h1 { font-size: 52px; line-height: 1.1; }
.hero p, .page-intro p { font-size: 17px; line-height: 1.65; color: var(--muted); margin: 0; max-width: 560px; }

/* ---------- Page header (non-home pages) ---------- */

.page-header { padding: 72px 0 48px; border-bottom: 1px solid var(--line); }
.page-header h1 { font-size: 44px; margin-bottom: 16px; }

/* ---------- Sections ---------- */

.section { padding: 72px 0; border-top: 1px solid var(--line); }
.section:first-child { border-top: none; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.section-head h2 { font-size: 34px; }
.section-head p { max-width: 420px; font-size: 15px; color: var(--muted); margin: 0; text-align: right; }

.center { text-align: center; }
.center p { margin: 0 auto; }

/* ---------- Grids / Cards ---------- */

.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.card h3 { font-size: 20px; }
.card p { font-size: 15px; line-height: 1.6; color: var(--muted); margin: 0; }

.icon { color: var(--accent); }

/* ---------- Pills ---------- */

.pills { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 20px; }
.pill { padding: 10px 20px; border-radius: 999px; background: var(--pill); font-size: 14px; }

/* ---------- Work grid ---------- */

.work-item { display: flex; flex-direction: column; gap: 14px; }
.work-photo {
  width: 100%;
  height: 240px;
  border-radius: 14px;
  background: var(--pill);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
}
.work-item .work-title { font-size: 17px; font-family: 'Fraunces', serif; }
.work-item .work-meta { font-size: 14px; color: var(--muted); }

/* ---------- About photo block ---------- */

.photo-block {
  width: 100%;
  min-height: 420px;
  border-radius: 16px;
  background: var(--pill);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 13px;
}

/* ---------- Contact ---------- */

.contact-section {
  padding: 84px 0;
  background: var(--panel);
  border-top: 1px solid var(--line);
}

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; }

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

.contact-detail { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.contact-detail .label { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }

form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: flex; gap: 18px; }
.form-row .field { flex: 1; }

@media (max-width: 540px) {
  .form-row { flex-direction: column; }
}

.field { display: flex; flex-direction: column; gap: 8px; }
label { font-size: 13px; color: var(--muted); }

input, textarea {
  padding: 13px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-size: 15px;
  font-family: 'Work Sans', sans-serif;
}

textarea { resize: vertical; }

.form-note { font-size: 13px; color: var(--muted); }

/* ---------- CTA band ---------- */

.cta { display: flex; justify-content: center; padding: 72px 0; border-top: 1px solid var(--line); text-align: center; }
.cta-inner { display: flex; flex-direction: column; gap: 20px; align-items: center; max-width: 560px; }
.cta p { font-size: 15px; color: var(--muted); margin: 0; }

/* ---------- Footer ---------- */

.site-footer {
  padding: 44px 24px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

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

.footer-title { font-family: 'Fraunces', serif; font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--muted); }
.footer-copy { font-size: 13px; color: var(--muted); }

@media (max-width: 640px) {
  .hero h1 { font-size: 36px; }
  .page-header h1 { font-size: 32px; }
  .section-head h2 { font-size: 26px; }
  .section-head p { text-align: left; }
}
