/* Stone Blossom Capital LLC — landing page */

:root {
  --bg: #fcf9f0;           /* light cream — soft, low saturation */
  --bg-alt: #f3ead2;       /* deeper cream for alternating sections */
  --ink: #1a1612;          /* warm near-black — matches logo wordmark */
  --ink-soft: #4a4136;
  --rule: #e2d6b3;         /* soft khaki rule */
  --accent: #7a5c20;       /* deep bronze — readable link/text accent */
  --accent-dark: #5b4416;  /* hover */
  --gold: #d8a73c;         /* bright lotus gold — matches logo stroke */
  --gold-bright: #ecbb4a;  /* shine highlight (gradients, hover) */
  --max: 1120px;
  --radius: 4px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--accent); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .15s ease, color .15s ease; }
a:hover { border-bottom-color: var(--accent); }

h1, h2, h3 {
  font-family: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0 0 .5em;
}

h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-bottom: .4em; }
h3 { font-size: 1.25rem; font-weight: 600; margin-top: 1.5em; }

p { margin: 0 0 1em; }

ul.plain { list-style: none; padding: 0; margin: 0 0 1em; }
ul.plain li { padding: .25em 0; color: var(--ink-soft); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 249, 240, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  border: none;
  color: var(--ink);
}
.brand:hover { border: none; }
.brand-mark { height: 56px; width: auto; display: block; }

.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;
}

.site-nav {
  display: flex;
  gap: 28px;
  font-size: .92rem;
  font-weight: 500;
}
.site-nav a {
  color: var(--ink-soft);
  border: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}
.site-nav a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  padding: 96px 0 80px;
  text-align: center;
  background:
    radial-gradient(ellipse at top, rgba(220,174,70,.16), transparent 65%),
    var(--bg);
  border-bottom: 1px solid var(--rule);
}

.hero-inner { max-width: 820px; }

.hero-mark {
  width: 280px;
  max-width: 70%;
  height: auto;
  margin: 0 auto 32px;
  display: block;
}

.tagline {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-style: italic;
  color: var(--accent);
  margin-bottom: 1.5em;
  letter-spacing: .02em;
  line-height: 1.4;
}

.lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0 auto 2em;
}

.hero-reach {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 2em;
}

.hero-cta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 100%);
  color: #fffdf6;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 4px 12px rgba(122,92,32,.18);
  transition: filter .15s ease, transform .1s ease, box-shadow .15s ease;
}
.btn:hover {
  filter: brightness(1.06);
  box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 6px 16px rgba(122,92,32,.28);
  color: #fffdf6;
  border-bottom-color: var(--gold);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--gold);
  box-shadow: none;
  text-shadow: none;
}
.btn-secondary:hover {
  background: var(--gold);
  color: #fffdf6;
  filter: none;
  box-shadow: 0 4px 12px rgba(122,92,32,.18);
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }

.eyebrow {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--accent);
  margin-bottom: .8em;
}

.section-lede {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 760px;
  margin-bottom: 2.5em;
}

/* ---------- Experience grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(26,29,31,.08);
}
.card h3 {
  margin-top: 0;
  font-size: 1.35rem;
  color: var(--accent);
}
.card p { color: var(--ink-soft); margin-bottom: 0; font-size: .96rem; }

.experience-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--rule);
}
.experience-stats > div { text-align: center; }
.experience-stats strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
}
.experience-stats span {
  font-size: .92rem;
  color: var(--ink-soft);
  letter-spacing: .02em;
}

/* ---------- Biography ---------- */
.bio-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start;
}
.bio-mark {
  position: sticky;
  top: 100px;
  text-align: center;
}
.bio-mark img {
  width: 100%;
  max-width: 220px;
  height: auto;
}
.bio-body .role {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  color: var(--accent);
  font-size: 1.15rem;
  margin-bottom: 1.5em;
}
.bio-body p { color: var(--ink-soft); }
.bio-body h3 {
  font-size: 1.1rem;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  margin-top: 2em;
  padding-bottom: .4em;
  border-bottom: 1px solid var(--rule);
}
.bio-links {
  margin-top: 2em;
  padding-top: 1.5em;
  border-top: 1px solid var(--rule);
  font-size: .95rem;
}
.bio-links a { margin: 0 .25em; }
.bio-links span { color: var(--rule); margin: 0 .5em; }

/* ---------- Publications ---------- */
.pub-heading {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  color: var(--ink);
  margin-top: 2.5em;
  margin-bottom: 1em;
  padding-bottom: .5em;
  border-bottom: 1px solid var(--rule);
}

.pub-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2em;
}
.pub-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 1rem;
}
.pub-list li:last-child { border-bottom: none; }
.pub-list a { font-weight: 500; }
.pub-meta {
  display: block;
  font-size: .85rem;
  color: var(--ink-soft);
  margin-top: 3px;
  letter-spacing: .01em;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: 0 8px 20px rgba(26,29,31,.04);
}
.contact-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  font-weight: 600;
  margin: 0;
}
.contact-title {
  color: var(--accent);
  font-style: italic;
  margin-bottom: 1.4em;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
}

.contact-dl {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 8px 16px;
  margin: 0 0 1.8em;
  padding-bottom: 1.6em;
  border-bottom: 1px solid var(--rule);
}
.contact-dl dt {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent);
  font-weight: 600;
  padding-top: 4px;
}
.contact-dl dd {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
}

.contact-team-label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: .6em;
}
.contact-team li { font-size: .95rem; }

.contact-note {
  font-size: .92rem;
  color: var(--ink-soft);
  font-style: italic;
  margin: 0;
  line-height: 1.55;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #c4b89b;
  padding: 40px 0;
  margin-top: 0;
  font-size: .88rem;
  border-top: 3px solid;
  border-image: linear-gradient(90deg, var(--gold) 0%, var(--gold-bright) 50%, var(--gold) 100%) 1;
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-inner p { margin: 0; }
.footer-disclaimer { max-width: 520px; color: #8e8567; font-size: .82rem; }
.site-footer a { color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .bio-grid { grid-template-columns: 1fr; gap: 32px; }
  .bio-mark { position: static; }
  .bio-mark img { max-width: 140px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .experience-stats { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero { padding: 64px 0 56px; }
  .grid-3 { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .header-inner { justify-content: center; }
  .brand-mark { height: 48px; }
  .hero-mark { width: 220px; max-width: 80%; }
  .footer-inner { flex-direction: column; align-items: flex-start; text-align: left; }
}

/* ============================================
   Accessibility — skip link and focus indicators
   ============================================ */

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  font-weight: 600;
  border: none;
  border-radius: 0 0 4px 0;
  transition: top .15s ease;
}
.skip-link:focus {
  top: 0;
  outline: 3px solid var(--gold);
  outline-offset: -3px;
  border: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* ============================================
   Footer — privacy / terms links
   ============================================ */

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-links {
  font-size: .82rem;
  margin: 0;
}
.footer-links a {
  color: var(--gold);
  border: none;
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--gold-bright);
  border: none;
}
.footer-links span {
  color: #5a5147;
  margin: 0 .4em;
}

/* ============================================
   Legal pages — Privacy Policy / Terms of Use
   ============================================ */

.legal-content {
  max-width: 760px;
}

.legal-content h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 0 0 .25em;
}

.legal-content .legal-meta {
  font-size: .9rem;
  color: var(--ink-soft);
  font-style: italic;
  margin: 0 0 2em;
  padding-bottom: 1.5em;
  border-bottom: 1px solid var(--rule);
}

.legal-content h2 {
  font-size: 1.55rem;
  margin: 2.2em 0 .5em;
  padding-bottom: .4em;
  border-bottom: 1px solid var(--rule);
}

.legal-content h3 {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
  color: var(--accent);
  margin: 1.8em 0 .5em;
}

.legal-content p,
.legal-content li {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.75;
}

.legal-content ul {
  padding-left: 1.5em;
  margin: 0 0 1em;
}

.legal-content li {
  margin-bottom: .5em;
}

.legal-content strong {
  color: var(--ink);
}

.legal-content a {
  color: var(--accent);
  border-bottom: 1px solid var(--rule);
}
.legal-content a:hover {
  border-bottom-color: var(--accent);
}

.legal-content .uppercase-block {
  text-transform: uppercase;
  font-size: .9rem;
  letter-spacing: .03em;
  font-weight: 500;
  line-height: 1.65;
}

/* ============================================
   Significant Matters — matter cards
   ============================================ */

.matter-grid { gap: 22px; }

.matter-card h3 {
  margin-top: 0;
  margin-bottom: 2px;
  font-size: 1.25rem;
  color: var(--ink);
}
.matter-role {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  color: var(--accent);
  font-size: .98rem;
  margin: 0 0 .75em;
}
.matter-card p:last-child {
  color: var(--ink-soft);
  margin-bottom: 0;
  font-size: .94rem;
  line-height: 1.6;
}

/* ============================================
   Matter category tags
   ============================================ */

.matter-card { position: relative; padding-right: 110px; }

.matter-tag {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: .68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid;
  white-space: nowrap;
}

/* Sage — Cannabis */
.matter-tag-cannabis {
  background: #e7e8d4;
  color: #586440;
  border-color: #c5cba5;
}

/* Dusty rose — Retail */
.matter-tag-retail {
  background: #efdedc;
  color: #8a4a44;
  border-color: #d6b3ae;
}

/* Slate blue — Real Estate */
.matter-tag-realestate {
  background: #dde5ec;
  color: #3a5d78;
  border-color: #b4c2cf;
}

/* Warm ochre — Energy */
.matter-tag-energy {
  background: #efe1bf;
  color: #7a5b1f;
  border-color: #ccb87a;
}

@media (max-width: 640px) {
  .matter-card { padding-right: 26px; padding-top: 56px; }
  .matter-tag { top: 18px; left: 18px; right: auto; }
}

/* ============================================
   Contact form
   ============================================ */

.contact-info {
  margin-top: 2em;
  padding-top: 1.5em;
  border-top: 1px solid var(--rule);
}
.contact-info p { margin-bottom: .5em; color: var(--ink-soft); }
.contact-info p strong { color: var(--ink); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2em;
  background: #fff;
  padding: 36px 32px;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(26,29,31,.04);
}

.form-row { display: flex; flex-direction: column; }

.contact-form label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.contact-form .req { color: var(--accent); margin-left: 2px; }

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  transition: border-color .15s ease, box-shadow .15s ease;
  -webkit-appearance: none;
  appearance: none;
}
.contact-form select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%237a5c20' d='M6 8L0 0h12z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.contact-form textarea {
  resize: vertical;
  min-height: 110px;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(122, 92, 32, 0.12);
}

.form-row-half {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2em;
}

.contact-form .btn {
  align-self: flex-start;
  margin-top: .4em;
  cursor: pointer;
}

.form-disclaimer {
  font-size: .82rem;
  color: var(--ink-soft);
  margin: 0;
  font-style: italic;
  line-height: 1.5;
}

/* Honeypot — visually hidden but still in DOM for bots to find */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  height: 0;
  overflow: hidden;
}

@media (max-width: 640px) {
  .form-row-half { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }
}
