/* Linder Law Group — Industrial Upper East Side / Soho aesthetic
   Silver / white / charcoal · fixed left nav · scrollable right main
   Ryan Linder, Esq. — Attorney of Record */

/* ---------- Reset & tokens ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --charcoal:  #1C1F23;
  --graphite:  #2C3036;
  --titanium:  #5A6068;
  --silver:    #8B9199;
  --brushed:   #B4BABF;
  --platinum:  #D4D8DC;
  --ice:       #F5F6F7;
  --white:     #FFFFFF;
  --hairline:  #C9CDD1;
  --oxide:     #7A8188;

  --font-display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-serif:   "Playfair Display", "Garamond", "Times New Roman", serif;

  --nav-w: 300px;

  --page-max: 780px;
  --content-pad: 88px;
}

html, body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--graphite);
  background: var(--ice);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  display: grid;
  grid-template-columns: var(--nav-w) 1fr;
  min-height: 100vh;
}

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

/* ---------- Fixed left navigation ---------- */
.nav-fixed {
  grid-column: 1;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--nav-w);
  background:
    linear-gradient(180deg, #14171A 0%, #1C1F23 40%, #23272C 100%);
  color: var(--platinum);
  padding: 48px 32px 32px 32px;
  border-right: 1px solid #0E1013;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  z-index: 10;
  box-shadow: 1px 0 0 rgba(255,255,255,0.03) inset;
}

.nav-fixed::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 3px);
  pointer-events: none;
}

.brand {
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(212,216,220,0.08);
  margin-bottom: 24px;
  position: relative;
}

.brand .name {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: 21px;
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1.15;
}

.brand .name .esq {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--brushed);
  letter-spacing: 0;
}

.brand .firm {
  margin-top: 10px;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--oxide);
}

nav { flex: 1; position: relative; }

.nav-link {
  display: block;
  padding: 11px 0;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brushed);
  border-bottom: 1px solid rgba(212,216,220,0.05);
  transition: color 160ms, letter-spacing 160ms;
}

.nav-link:hover { color: var(--white); letter-spacing: 0.22em; }

.nav-link.active {
  color: var(--white);
  border-bottom-color: rgba(212,216,220,0.24);
}

.nav-link.active::before {
  content: "";
  display: inline-block;
  width: 8px; height: 1px;
  background: var(--platinum);
  vertical-align: middle;
  margin-right: 10px;
}

.nav-link.indent {
  padding-left: 16px;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--silver);
}

.nav-link.indent:hover { color: var(--brushed); }

.nav-heading {
  margin: 22px 0 6px;
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--titanium);
}

.chamber-plate {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(212,216,220,0.08);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--oxide);
  line-height: 1.9;
  position: relative;
}

.chamber-plate .plate-line + .plate-line { color: var(--silver); }

/* ---------- Main scrollable pane ---------- */
main {
  grid-column: 2;
  min-width: 0;
  padding-bottom: 96px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 112px var(--content-pad) 88px var(--content-pad);
  color: var(--platinum);
  overflow: hidden;
  background:
    linear-gradient(135deg, #23272C 0%, #3A4046 55%, #5A6068 100%);
  border-bottom: 1px solid var(--hairline);
}

.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(90deg,
      rgba(255,255,255,0.04) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(0deg,
      rgba(0,0,0,0.05) 0 1px, transparent 1px 6px);
  pointer-events: none;
  opacity: 0.65;
}

.hero::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 460px; height: 460px;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.10) 0%, transparent 65%);
  pointer-events: none;
}

.hero .eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--brushed);
  margin-bottom: 22px;
  position: relative;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 200;
  font-size: 46px;
  line-height: 1.12;
  letter-spacing: -0.005em;
  color: var(--white);
  max-width: 780px;
  position: relative;
}

.hero h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--brushed);
}

.hero .lede {
  margin-top: 28px;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--platinum);
  max-width: 640px;
  position: relative;
}

/* Per-page hero tint variants (subtle) */
.hero.tint-north  { background: linear-gradient(135deg, #23272C 0%, #3A4046 55%, #6B7076 100%); }
.hero.tint-south  { background: linear-gradient(160deg, #1C1F23 0%, #2C3036 50%, #5A6068 100%); }
.hero.tint-east   { background: linear-gradient(110deg, #2C3036 0%, #454B52 55%, #7A8188 100%); }
.hero.tint-west   { background: linear-gradient(200deg, #23272C 0%, #333941 50%, #6B7076 100%); }
.hero.tint-deep   { background: linear-gradient(140deg, #14171A 0%, #23272C 60%, #3E444B 100%); }
.hero.tint-brushed{ background: linear-gradient(130deg, #3A4046 0%, #5A6068 45%, #8B9199 100%); }

/* ---------- Content ---------- */
.section {
  padding: 72px var(--content-pad);
  max-width: calc(var(--page-max) + var(--content-pad) * 2);
}

.section + .section { padding-top: 24px; }

.section.wide { max-width: none; padding-right: var(--content-pad); }

.section-eyebrow {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--titanium);
  margin-bottom: 14px;
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 30px;
  line-height: 1.2;
  color: var(--charcoal);
  letter-spacing: -0.005em;
  max-width: var(--page-max);
  margin-bottom: 22px;
}

.section h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--titanium);
}

.section h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  color: var(--charcoal);
  letter-spacing: 0.02em;
  margin: 32px 0 12px;
}

.section p {
  font-size: 16px;
  color: var(--graphite);
  margin-bottom: 18px;
  max-width: var(--page-max);
}

.section p.narrow { max-width: 640px; }

.section ul, .section ol {
  margin: 8px 0 22px 22px;
  max-width: var(--page-max);
}

.section li {
  font-size: 15.5px;
  color: var(--graphite);
  margin-bottom: 8px;
  line-height: 1.65;
}

.section li strong {
  font-weight: 500;
  color: var(--charcoal);
}

.hr-thin {
  border: 0;
  border-top: 1px solid var(--hairline);
  margin: 48px 0;
  max-width: var(--page-max);
}

/* ---------- Practice-area cards grid ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin-top: 32px;
}

.card {
  background: var(--white);
  border: 1px solid var(--hairline);
  padding: 28px 26px 26px;
  position: relative;
  transition: transform 200ms, border-color 200ms, box-shadow 200ms;
}

.card:hover {
  transform: translateY(-2px);
  border-color: var(--silver);
  box-shadow: 0 12px 32px rgba(28,31,35,0.06);
}

.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 44px; height: 1px;
  background: var(--charcoal);
}

.card .card-eyebrow {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--titanium);
  margin-bottom: 12px;
}

.card h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.card p {
  font-size: 14.5px;
  color: var(--graphite);
  line-height: 1.6;
  margin-bottom: 18px;
}

.card .card-cta {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--charcoal);
  border-bottom: 1px solid var(--charcoal);
  padding-bottom: 3px;
  display: inline-block;
}

/* ---------- Process cadence blocks ---------- */
.process-list { counter-reset: step; margin-top: 20px; max-width: var(--page-max); }

.process-step {
  counter-increment: step;
  padding: 22px 0 22px 68px;
  position: relative;
  border-bottom: 1px solid var(--hairline);
}

.process-step:last-child { border-bottom: 0; }

.process-step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0; top: 24px;
  font-family: var(--font-display);
  font-weight: 200;
  font-size: 22px;
  color: var(--titanium);
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--silver);
  padding-bottom: 2px;
  width: 44px;
}

.process-step h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 17px;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.process-step p {
  font-size: 15px;
  color: var(--graphite);
  margin-bottom: 0;
}

/* ---------- Pull quote / callout ---------- */
.pull {
  margin: 40px 0;
  padding: 32px 36px;
  background:
    linear-gradient(180deg, #EEF0F2 0%, #E4E7EA 100%);
  border-left: 2px solid var(--charcoal);
  max-width: var(--page-max);
  position: relative;
}

.pull::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(28,31,35,0.02) 0 1px, transparent 1px 3px);
  pointer-events: none;
}

.pull p {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 19px;
  color: var(--charcoal);
  line-height: 1.5;
  margin: 0;
  position: relative;
}

.pull .attrib {
  margin-top: 14px;
  font-family: var(--font-display);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--titanium);
  position: relative;
}

/* ---------- Definition list (statute / authority citations) ---------- */
.def-list { max-width: var(--page-max); margin-top: 20px; }

.def-list dt {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-top: 18px;
}

.def-list dd {
  font-size: 15.5px;
  color: var(--graphite);
  margin-top: 4px;
  line-height: 1.6;
}

/* ---------- Two-column layout (used on About + Contact) ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  max-width: 1000px;
  margin-top: 32px;
}

.two-col .col h3 { margin-top: 0; }

/* ---------- Contact form (visual only) ---------- */
.contact-form {
  max-width: var(--page-max);
  margin-top: 28px;
}

.contact-form label {
  display: block;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--titanium);
  margin-top: 22px;
  margin-bottom: 6px;
}

.contact-form input[type=text],
.contact-form input[type=email],
.contact-form input[type=tel],
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--hairline);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--charcoal);
  transition: border-color 160ms;
}

.contact-form textarea { min-height: 140px; resize: vertical; }

.contact-form input:focus,
.contact-form textarea:focus { outline: 0; border-color: var(--titanium); }

.contact-form .submit {
  margin-top: 28px;
  padding: 16px 34px;
  background: var(--charcoal);
  color: var(--white);
  border: 0;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 160ms;
}

.contact-form .submit:hover { background: var(--graphite); }

/* ---------- Footer plate ---------- */
footer {
  padding: 40px var(--content-pad);
  border-top: 1px solid var(--hairline);
  color: var(--titanium);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  line-height: 1.9;
}

footer .foot-brand {
  color: var(--charcoal);
  font-weight: 400;
}

footer .disclaimer {
  margin-top: 18px;
  max-width: 720px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--titanium);
  line-height: 1.6;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  body { grid-template-columns: 1fr; }
  .nav-fixed {
    position: relative;
    width: 100%;
    height: auto;
    padding: 32px 28px;
  }
  main { padding-bottom: 60px; }
  .hero { padding: 72px 32px 56px; }
  .hero h1 { font-size: 34px; }
  .section { padding: 48px 32px; }
  :root { --content-pad: 32px; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
}
