/* =====================================================================
   Brighthill Lawyers — Option 2 · "Considered"
   Same brand (teal + natural green, landscape photography), dressed with
   editorial restraint: warm cream paper, light Newsreader serif, hairline
   rules, table-of-contents layouts. Quiet Authority register.
   ===================================================================== */

:root {
  --ink:    #1a271f;   /* warm near-black, green undertone */
  --teal:   #244b54;   /* his teal — used sparingly */
  --green:  #6f8a3a;   /* the apple-green, dusted down to a considered olive */
  --green-deep: #566d2c;
  --sage:   #8b9668;   /* soft secondary */

  --cream:  #f3efe5;   /* newsprint-warm ground */
  --paper:  #faf7ef;   /* raised surfaces */
  --line:   #d9d2c2;   /* warm hairline */
  --line-strong: #c3bba7;
  --text:   #32352d;
  --muted:  #6f6c5f;
  --on-dark:      #eef0e6;
  --on-dark-muted:#a9b2a0;

  --display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --body:    'Inter', system-ui, -apple-system, sans-serif;

  --wrap: 1160px;
  --wrap-narrow: 720px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--green-deep); text-decoration: none; }
a:hover { color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.005em;
  margin: 0 0 0.5em;
  font-variant-numeric: oldstyle-nums;
}

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.35rem, 5vw, 2.75rem); }
.narrow { max-width: var(--wrap-narrow); }

.label {
  font-family: var(--body);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--green-deep); margin: 0 0 1.25rem;
}
.lead { font-family: var(--display); font-weight: 300; font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.5; color: var(--muted); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Links & buttons ---------- */
.tlink {
  font-family: var(--body); font-weight: 500; font-size: 0.95rem; color: var(--ink);
  display: inline-flex; align-items: center; gap: 0.5em;
  border-bottom: 1px solid var(--green); padding-bottom: 3px;
  transition: gap .18s ease, color .18s ease, border-color .18s ease;
}
.tlink:hover { gap: 0.85em; color: var(--green-deep); border-color: var(--green-deep); }
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--body); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 1em 1.7em; border: 1px solid var(--ink); background: var(--ink); color: #fff;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { border-color: rgba(255,255,255,0.5); background: transparent; color: #fff; }
.btn-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(243,239,229,0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 2rem; height: 82px; }
.brand { display: flex; flex-direction: column; line-height: 1.05; color: var(--ink); }
.brand b { font-family: var(--display); font-weight: 400; font-size: 1.5rem; letter-spacing: 0; }
.brand .mark { color: var(--green); }
.brand small { font-family: var(--body); font-size: 0.58rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.primary { margin-left: auto; }
.primary ul { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.primary a { font-family: var(--body); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.04em; color: var(--ink); position: relative; padding: 4px 0; }
.primary a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--green); transition: right .22s ease; }
.primary a:hover::after, .primary a.active::after { right: 0; }
.head-cta { font-family: var(--display); font-size: 1.15rem; color: var(--ink); font-variant-numeric: oldstyle-nums; }
.head-cta:hover { color: var(--green-deep); }
.nav-toggle { display: none; }

/* ---------- Hero (asymmetric editorial) ---------- */
.hero { padding-block: clamp(3rem, 7vw, 6rem); background: var(--cream); }
.hero .grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero .meta { font-family: var(--body); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; margin-bottom: 1.75rem; }
.hero h1 { font-size: clamp(2.8rem, 6.5vw, 5rem); font-weight: 200; letter-spacing: -0.015em; }
.hero h1 em { font-style: italic; color: var(--green-deep); }
.hero p { max-width: 46ch; font-size: 1.12rem; color: var(--muted); margin-top: 1.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 2.25rem; }
.hero .figure { position: relative; }
.hero .figure img { aspect-ratio: 4/5; object-fit: cover; border: 1px solid var(--line-strong); }
.hero .figure figcaption { font-family: var(--body); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 0.75rem; text-align: right; }

/* ---------- Sections ---------- */
section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.bg-cream { background: var(--cream); }
.bg-paper { background: var(--paper); }
.bg-ink { background: var(--ink); color: var(--on-dark); }
.bg-ink h2, .bg-ink h3, .bg-ink .lead { color: #fff; }
.bg-ink .label { color: var(--sage); }
.bg-green { background: var(--green-deep); color: #fff; }
.bg-green h2 { color: #fff; }

.sec-head { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: end; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); margin-bottom: 3rem; }
.sec-head h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
.sec-head .intro { color: var(--muted); font-size: 1.05rem; }
@media (max-width: 760px){ .sec-head { grid-template-columns: 1fr; gap: 1rem; } }

/* Value props — ruled row, no cards */
.props { display: grid; grid-template-columns: repeat(4, 1fr); }
.props .prop { padding: 0.5rem 1.75rem 0.5rem 0; border-left: 1px solid var(--line); padding-left: 1.75rem; }
.props .prop:first-child { border-left: 0; padding-left: 0; }
.prop .n { font-family: var(--display); font-weight: 300; font-size: 2rem; color: var(--green); font-variant-numeric: oldstyle-nums; line-height: 1; margin-bottom: 0.9rem; }
.prop h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.prop p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* Practice areas — editorial index */
.index { border-top: 1px solid var(--line-strong); }
.index-row { display: grid; grid-template-columns: auto 1.1fr 1.4fr auto; gap: 1.5rem 2.5rem; align-items: baseline; padding: 1.9rem 0.5rem; border-bottom: 1px solid var(--line); color: var(--text); transition: background .2s ease, padding .2s ease; }
.index-row:hover { background: var(--paper); padding-inline: 1.25rem; color: var(--text); }
.index-row .rn { font-family: var(--display); font-weight: 300; font-size: 1.15rem; color: var(--green); font-variant-numeric: oldstyle-nums; }
.index-row h3 { font-size: 1.5rem; margin: 0; }
.index-row p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.index-row .go { font-family: var(--display); font-size: 1.4rem; color: var(--muted); justify-self: end; transition: transform .2s ease, color .2s ease; }
.index-row:hover .go { color: var(--green-deep); transform: translateX(5px); }
@media (max-width: 820px){
  .index-row { grid-template-columns: auto 1fr auto; }
  .index-row p { grid-column: 2 / 4; }
}

/* Stats — serif figures on paper */
.figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem); }
.figures .f { border-top: 2px solid var(--green); padding-top: 1.5rem; }
.figures .f .v { font-family: var(--display); font-weight: 200; font-size: clamp(2.8rem, 5.5vw, 4rem); color: var(--ink); line-height: 1; font-variant-numeric: oldstyle-nums; }
.figures .f .v small { font-size: 0.32em; color: var(--muted); letter-spacing: 0.02em; }
.figures .f .k { font-family: var(--body); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-deep); margin: 1rem 0 0.6rem; }
.figures .f p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* Split (about / director) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split .media { aspect-ratio: 4/5; object-fit: cover; border: 1px solid var(--line-strong); width: 100%; }
.split.reverse .media { order: 2; }
.pullquote { font-family: var(--display); font-weight: 300; font-style: italic; font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.4; color: var(--ink); margin: 0 0 1.5rem; }
.credentials { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 2rem; margin-top: 2rem; border-top: 1px solid var(--line); padding-top: 1.8rem; }
.credentials dt { font-family: var(--body); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.credentials dd { margin: 0.25rem 0 0; font-family: var(--display); font-size: 1.15rem; color: var(--ink); }

/* CTA — quiet green band */
.cta { text-align: center; }
.cta h2 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 200; max-width: 20ch; margin-inline: auto; color: #fff; }
.cta .phone { display: inline-block; font-family: var(--display); font-weight: 300; font-size: clamp(1.9rem, 4vw, 2.8rem); color: #fff; margin-top: 0.4rem; font-variant-numeric: oldstyle-nums; }
.cta .phone:hover { color: var(--cream); }
.cta p { color: rgba(255,255,255,0.82); max-width: 48ch; margin-inline: auto; }

/* Prose */
.prose { max-width: 68ch; }
.prose p { margin: 0 0 1.3rem; font-size: 1.06rem; }
.prose h2 { font-size: clamp(1.6rem, 3.5vw, 2.1rem); font-weight: 300; margin-top: 2.6rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.55rem; }

/* Service detail */
.service { display: grid; grid-template-columns: auto 1fr; gap: 1rem 3rem; padding-block: 2.75rem; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.service:first-of-type { border-top: 0; }
.service .rn { font-family: var(--display); font-weight: 200; font-size: 2.6rem; color: var(--green); font-variant-numeric: oldstyle-nums; line-height: 1; }
.service h3 { font-size: 1.75rem; font-weight: 300; margin-bottom: 0.5rem; }
.service .tag { font-family: var(--display); font-style: italic; font-size: 1.1rem; color: var(--muted); margin-bottom: 1rem; }
@media (max-width: 620px){ .service { grid-template-columns: 1fr; gap: 0.4rem; } }

/* Article index */
.articles { border-top: 1px solid var(--line-strong); max-width: 860px; }
.arow { display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem 2.5rem; align-items: baseline; padding: 2rem 0.5rem; border-bottom: 1px solid var(--line); color: var(--text); transition: background .2s ease, padding .2s ease; }
.arow:hover { background: var(--paper); padding-inline: 1.25rem; }
.arow .k { font-family: var(--body); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green-deep); }
.arow h3 { font-size: 1.5rem; font-weight: 300; margin: 0.3rem 0; }
.arow p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.arow .go { font-family: var(--display); font-size: 1.4rem; color: var(--muted); align-self: center; }
.arow:hover .go { color: var(--green-deep); }

/* Page hero */
.page-hero { background: var(--cream); padding-block: clamp(3rem, 7vw, 5rem) clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.5rem, 5.5vw, 4rem); font-weight: 200; }
.page-hero h1 em { font-style: italic; color: var(--green-deep); }
.page-hero p { color: var(--muted); max-width: 54ch; font-size: 1.12rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); }
.field { margin-bottom: 1.3rem; }
.field label { display: block; font-family: var(--body); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.field input, .field textarea { width: 100%; font-family: var(--body); font-size: 1rem; color: var(--text); padding: 0.85em 1em; border: 1px solid var(--line-strong); background: var(--paper); border-radius: 0; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); }
.cdetail { display: grid; grid-template-columns: 96px 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.cdetail .k { font-family: var(--body); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); padding-top: 4px; }
.cdetail .v { font-family: var(--display); font-size: 1.2rem; color: var(--ink); }
.cdetail .v a { color: var(--ink); }
.cdetail .v a:hover { color: var(--green-deep); }

/* Footer */
.site-foot { background: var(--ink); color: var(--on-dark-muted); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.foot-brand b { font-family: var(--display); font-weight: 400; font-size: 1.6rem; color: #fff; }
.foot-brand .mark { color: var(--sage); }
.foot-brand p { margin-top: 0.9rem; font-size: 0.92rem; max-width: 34ch; line-height: 1.6; }
.site-foot h4 { color: #fff; font-family: var(--body); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; font-size: 0.92rem; }
.site-foot a { color: var(--on-dark-muted); }
.site-foot a:hover { color: #fff; }
.socials { display: flex; gap: 1.25rem; margin-top: 1.3rem; }
.socials a { font-family: var(--body); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; color: var(--on-dark-muted); }
.socials a:hover { color: var(--sage); }
.foot-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.13); font-size: 0.78rem; }

/* Responsive */
@media (max-width: 900px){
  .props { grid-template-columns: 1fr 1fr; gap: 1.5rem 0; }
  .props .prop:nth-child(3) { border-left: 0; padding-left: 0; }
  .figures { grid-template-columns: 1fr; }
  .split, .contact-grid, .hero .grid { grid-template-columns: 1fr; }
  .split.reverse .media { order: 0; }
  .hero .figure { max-width: 420px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px){
  .primary { display: none; position: absolute; top: 82px; left: 0; right: 0; background: var(--cream); border-bottom: 1px solid var(--line); margin: 0; }
  .primary.open { display: block; }
  .primary ul { flex-direction: column; gap: 0; padding: 0.5rem 0; }
  .primary li { padding: 0 clamp(1.35rem, 5vw, 2.75rem); }
  .primary a { display: block; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
  .primary a::after { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; background: none; border: 1px solid var(--line-strong); padding: 0.5em 0.7em; font-size: 1.1rem; cursor: pointer; color: var(--ink); }
  .head-cta { display: none; }
}
@media (max-width: 560px){
  .props { grid-template-columns: 1fr; }
  .props .prop { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 1.25rem; }
  .props .prop:first-child { border-top: 0; }
  .foot-grid { grid-template-columns: 1fr; }
}
