/* ---------- Reset & base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  color: #1a1a1a;
  background: #fafaf7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

a:hover {
  opacity: 0.6;
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
  color: #0e0e0e;
}

h1 { font-size: clamp(2.4rem, 5.6vw, 4.8rem); line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.1; }
h3 { font-size: 1.25rem; font-weight: 500; }

p { margin: 0 0 1rem; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 7rem 0;
  border-top: 1px solid #ececea;
}

.section-alt {
  background: #f3f2ee;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

@media (max-width: 760px) {
  .section { padding: 4.5rem 0; }
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
  .container { padding: 0 1.4rem; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #ececea;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  color: #1a1a1a;
}

.brand-logo {
  width: 28px;
  height: 28px;
  display: block;
  color: #4a5a4a;
}

.brand-thin {
  font-weight: 300;
  color: #6a6a68;
  margin-left: 0.15rem;
}

.site-nav {
  display: flex;
  gap: 2rem;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  color: #4a4a4a;
}

@media (max-width: 600px) {
  .site-nav { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 8rem 0 7rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-mark {
  display: flex;
  justify-content: center;
  color: #6a7a6a;
  opacity: 0.85;
}

.hero-mark img {
  width: 100%;
  max-width: 280px;
  height: auto;
}

@media (max-width: 820px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-mark { order: -1; justify-content: flex-start; }
  .hero-mark img { max-width: 110px; }
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7a7a78;
  margin-bottom: 2.5rem;
}

.hero-title {
  margin-bottom: 2rem;
  max-width: 16ch;
}

.hero-lede {
  max-width: 56ch;
  font-size: 1.15rem;
  color: #3a3a3a;
  margin-bottom: 2.5rem;
}

.link-arrow {
  display: inline-block;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  border-bottom: 1px solid #1a1a1a;
  padding-bottom: 0.2rem;
}

@media (max-width: 760px) {
  .hero { padding: 4rem 0 3.5rem; }
}

/* ---------- Section labels ---------- */
.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #7a7a78;
  margin-bottom: 1.5rem;
}

.section-head {
  margin-bottom: 4rem;
  max-width: 36ch;
}

.prose {
  font-size: 1.02rem;
  color: #2e2e2e;
  max-width: 52ch;
}

/* ---------- Portfolio cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

.card {
  background: #fafaf7;
  border: 1px solid #e3e2dc;
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  transition: transform 0.4s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: #c9c7be;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7a7a78;
  margin-bottom: 3rem;
}

.card-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.85rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: #0e0e0e;
}

.card-body {
  font-size: 0.96rem;
  color: #3a3a3a;
  flex: 1;
}

.card-coord {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: #9a9a96;
  margin-top: 1.5rem;
  margin-bottom: 0;
  font-variant-numeric: tabular-nums;
}

/* ---------- Approach ---------- */
.principles {
  display: grid;
  gap: 2.5rem;
}

.principle {
  border-top: 1px solid #d8d6cf;
  padding-top: 1.5rem;
}

.principle-num {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  color: #7a7a78;
  margin-bottom: 0.4rem;
  font-size: 1rem;
}

.principle h3 {
  margin-bottom: 0.4rem;
}

.principle p {
  color: #3a3a3a;
  margin: 0;
  max-width: 48ch;
}

/* ---------- Contact ---------- */
.contact-block {
  font-size: 1rem;
}

.contact-line {
  display: grid;
  grid-template-columns: 130px 1fr;
  padding: 1rem 0;
  border-bottom: 1px solid #d8d6cf;
  margin: 0;
}

.contact-line:first-child {
  border-top: 1px solid #d8d6cf;
}

.contact-line span {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7a7a78;
  align-self: center;
}

/* ---------- Contact form ---------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  background: #fafaf7;
  border: 1px solid #e3e2dc;
  padding: 2.5rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field label {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7a7a78;
}

.field .opt {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.78rem;
  color: #a5a59f;
}

.field input,
.field textarea {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 300;
  color: #1a1a1a;
  background: transparent;
  border: none;
  border-bottom: 1px solid #c9c7be;
  padding: 0.5rem 0;
  outline: none;
  transition: border-color 0.2s ease;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-bottom-color: #1a1a1a;
}

.submit-btn {
  align-self: flex-start;
  font-family: inherit;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  background: transparent;
  color: #1a1a1a;
  border: none;
  border-bottom: 1px solid #1a1a1a;
  padding: 0.4rem 0.1rem;
  margin-top: 0.5rem;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.submit-btn:hover {
  opacity: 0.6;
}

.form-note {
  font-size: 0.78rem;
  color: #9a9a96;
  margin: 0;
  font-style: italic;
}

/* Honeypot — hidden from real users, catches bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid #ececea;
  padding: 2rem 0;
  font-size: 0.82rem;
  color: #7a7a78;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-inner p { margin: 0; }

.footer-meta {
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
