/* ---------------------------------------------------
   Oroseon — base styles
   Palette: warm off-white / charcoal / muted Rolex green
--------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500&family=Inter:wght@300;400;500&display=swap');

:root {
  --bg: #faf9f6;
  --bg-alt: #eef2ee;
  --ink: #22241f;
  --ink-soft: #5c5d55;
  --line: #ddd9cf;
  --line-green: #0b5d4535;
  --green: #0b5d45;
  --green-soft: #0b5d4520;
  --max: 1120px;
  --pad: clamp(24px, 5vw, 64px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  margin: 0;
  color: var(--ink);
}

p { margin: 0; }

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------- Brand bar ---------- */

.brand-bar {
  height: 6px;
  background: var(--green);
}

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

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 22px;
  padding-bottom: 22px;
}

.wordmark {
  position: relative;
  display: inline-block;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  letter-spacing: 0.18em;
  font-weight: 400;
  padding-bottom: 6px;
}

.wordmark::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--green);
}

.nav-links {
  display: flex;
  gap: clamp(20px, 3vw, 44px);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.nav-links a {
  transition: color 0.2s ease;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover {
  color: var(--green);
  border-bottom-color: var(--green);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
  margin: 5px 0;
}

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

.hero {
  padding-top: clamp(72px, 14vh, 140px);
  padding-bottom: clamp(56px, 10vh, 100px);
}

.hero .eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
  display: inline-block;
}

.hero h1 {
  font-size: clamp(28px, 4.2vw, 46px);
  line-height: 1.2;
  max-width: 34ch;
}

.hero .lede {
  margin-top: 28px;
  max-width: 62ch;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--ink-soft);
  line-height: 1.75;
}

body:not(.contact-page) .hero .lede {
  font-style: italic;
}

.hero-thesis {
  margin-top: clamp(28px, 4vh, 40px);
  max-width: 62ch;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 300;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
  color: var(--ink);
}

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

section {
  padding-top: clamp(56px, 9vh, 96px);
  padding-bottom: clamp(56px, 9vh, 96px);
}

.rule {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 6vh, 56px);
}

.section-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--green);
}

.section-title {
  font-size: clamp(26px, 3.4vw, 36px);
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 6vw, 72px);
}

.about-grid p {
  color: var(--ink-soft);
  margin-bottom: 22px;
  font-size: 16px;
}

.about-grid p:last-child { margin-bottom: 0; }

.philosophy {
  background: var(--bg-alt);
  border-left: 3px solid var(--green);
  padding: clamp(28px, 4vw, 44px);
  margin-top: clamp(40px, 6vh, 64px);
}

.philosophy p {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(19px, 2.1vw, 24px);
  font-weight: 300;
  line-height: 1.6;
  color: var(--ink);
  max-width: 68ch;
}

/* ---------- Approach ---------- */

.approach {
  background: var(--bg-alt);
}

.approach-intro {
  max-width: 78ch;
  margin-bottom: clamp(32px, 5vh, 48px);
}

.approach-list + .approach-intro {
  margin-top: clamp(32px, 5vh, 48px);
}

.approach-intro p {
  color: var(--ink-soft);
  margin-bottom: 20px;
}

.approach-intro p:last-child { margin-bottom: 0; }

.approach-list {
  display: grid;
  gap: 0;
  max-width: 78ch;
}

.approach-block {
  padding: 24px 0;
  border-top: 1px solid var(--line-green);
}

.approach-block:last-child {
  border-bottom: 1px solid var(--line-green);
}

.approach-block h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 8px;
}

.approach-block p {
  color: var(--ink-soft);
  font-size: 16px;
}

/* ---------- Focus ---------- */

.focus-list {
  border-top: 1px solid var(--line);
}

.focus-item {
  display: grid;
  grid-template-columns: 80px 1fr 1.3fr;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(28px, 4vh, 40px) 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.focus-item .num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 14px;
  color: var(--green);
  letter-spacing: 0.04em;
}

.focus-item h3 {
  font-size: clamp(19px, 2vw, 22px);
  line-height: 1.3;
}

.focus-item p {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.7;
}

@media (max-width: 720px) {
  .focus-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ---------- How We Think ---------- */

.name-intro {
  max-width: 70ch;
  color: var(--ink-soft);
  margin-bottom: clamp(32px, 5vh, 48px);
}

.philosophy + .name-intro {
  margin-top: clamp(32px, 5vh, 48px);
}

.name-link {
  color: var(--ink);
  border-bottom: 1px solid var(--green);
  transition: color 0.2s ease;
}

.name-link:hover {
  color: var(--green);
}

/* ---------- Contact CTA (home page) ---------- */

.contact-cta {
  text-align: left;
}

.contact-cta h2 {
  font-size: clamp(28px, 4vw, 42px);
  max-width: 16ch;
  margin-bottom: 24px;
}

.contact-cta .lede {
  max-width: 56ch;
  margin-bottom: 32px;
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--ink-soft);
  line-height: 1.75;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--green);
  color: var(--green);
  padding: 14px 28px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.btn:hover {
  background: var(--green);
  border-color: var(--green);
  color: #faf9f6;
}

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

.contact-page .section-head { margin-bottom: 40px; }

.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 480px;
}

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

.contact-form label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.contact-form input,
.contact-form textarea {
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 16px;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
  resize: vertical;
  transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--green);
}

.contact-form .btn {
  align-self: flex-start;
  background: none;
  cursor: pointer;
  font-family: inherit;
  margin-top: 8px;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-status {
  font-size: 14px;
  color: var(--green);
  min-height: 1.4em;
}

.form-status.error {
  color: #8a3b2e;
}

.contact-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 44px);
  max-width: 360px;
}

.contact-field {
  border-top: 2px solid var(--green);
  padding-top: 18px;
}

.contact-field .label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 10px;
  display: block;
}

.contact-field .value {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(18px, 2vw, 22px);
}

.contact-field a:hover { color: var(--green); }

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

footer {
  border-top: 2px solid var(--green);
  padding-top: 32px;
  padding-bottom: 32px;
}

.footer-note {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
  max-width: 70ch;
  margin-bottom: 24px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.03em;
}

.footer-row a:hover { color: var(--green); }

.footer-links {
  display: flex;
  gap: 28px;
}

/* ---------- Responsive ---------- */

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

  .nav-links {
    position: fixed;
    top: 65px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px var(--pad) 32px;
    gap: 18px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle { display: block; }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-block {
    max-width: none;
  }
}
