/* ============================================================
   SCATES LAW â SHARED STYLESHEET
   scatesfirm.com Â· 2026
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Crimson+Pro:ital,wght@0,300;0,400;0,600;1,300;1,400&display=swap');

/* ââ TOKENS ââ */
:root {
  --ink:          #1A1F2E;
  --ink-mid:      #252B3A;
  --ink-light:    #2F3647;
  --oxblood:      #6B2D34;
  --oxblood-light:#8A3B44;
  --pewter:       #9A958C;
  --pewter-light: #B5AFA6;
  --timber:       #5C4A32;
  --timber-light: #7A6548;
  --sage:         #4A5E46;
  --salt:         #F6F4EF;
  --linen:        #ECE8E0;
  --cloud:        #F2EFE8;
  --warm-gray:    #7D786F;
  --dk-gray:      #4A4740;
  --rule:         rgba(26,31,46,.07);
}

/* ââ RESET ââ */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--salt);
  color: var(--ink);
  font-family: 'Crimson Pro', serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display:block; max-width:100%; }
a { color: inherit; text-decoration: none; }

/* ââ TYPOGRAPHY ââ */
.pf { font-family: 'Cormorant Garamond', serif; }
.ss { font-family: 'Crimson Pro', serif; }

h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; line-height: 1.1; }

.eyebrow {
  font-family: 'Crimson Pro', serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--oxblood-light);
  margin-bottom: 16px;
}
/* On dark backgrounds, override eyebrow color for contrast */
.section-dk .eyebrow,
.hero .eyebrow {
  color: var(--pewter-light);
}

/* ââ SHIP ICON SVG ââ */
.ship-icon { display:inline-block; }

/* ââ NAV ââ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(26,31,46,.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(107,45,52,.2);
  padding: 0 48px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}
.nav-wordmark .wl {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--salt);
}
.nav-wordmark .wp {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 14px;
  color: var(--oxblood);
  margin: 0 6px;
  opacity: .7;
}
.nav-wordmark .wr {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 13px;
  color: var(--salt);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-family: 'Crimson Pro', serif;
  font-weight: 300;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(246,244,239,.6);
  transition: color .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--salt); }
.nav-links .has-dropdown { position: relative; }
.nav-links .has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 4px; height: 4px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 6px;
  opacity: .6;
}
.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 16px;
}
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: -20px;
  background: var(--ink-mid);
  border: 1px solid rgba(107,45,52,.2);
  border-top: 2px solid var(--oxblood);
  min-width: 240px;
  padding: 8px 0;
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 10px 24px;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: rgba(246,244,239,.65);
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { color: var(--salt); background: rgba(107,45,52,.1); }
.nav-cta {
  font-family: 'Crimson Pro', serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--salt) !important;
  border: 1px solid var(--oxblood);
  padding: 9px 22px;
  transition: background .2s, border-color .2s;
}
.nav-cta:hover { background: var(--oxblood); border-color: var(--oxblood); }

/* ââ PAGE WRAPPER ââ */
.page-body { padding-top: 64px; }

/* ââ HERO ââ */
.hero {
  background: var(--ink);
  position: relative;
  overflow: hidden;
  padding: 110px 48px 100px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 40%, rgba(107,45,52,.07) 0%, transparent 55%),
    repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(255,255,255,.005) 60px, rgba(255,255,255,.005) 61px);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--oxblood);
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

/* ââ SECTIONS ââ */
.section {
  padding: 90px 48px;
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-dk {
  background: var(--ink);
  padding: 90px 48px;
  position: relative;
}
.section-dk::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--oxblood);
}
.section-ln {
  background: var(--linen);
  padding: 90px 48px;
}

/* ââ SECTION HEADER ââ */
.sec-header { margin-bottom: 56px; }
.sec-rule {
  width: 40px;
  height: 1px;
  background: var(--oxblood);
  margin-top: 20px;
}
.sec-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 40px;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 14px;
}
.section-dk .sec-title { color: var(--salt); }
.sec-desc {
  font-weight: 300;
  font-size: 16px;
  color: var(--warm-gray);
  max-width: 580px;
  line-height: 1.8;
}
.section-dk .sec-desc { color: rgba(246,244,239,.45); }

/* ââ BUTTONS ââ */
.btn-primary {
  display: inline-block;
  font-family: 'Crimson Pro', serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--salt);
  border: 1px solid var(--oxblood);
  padding: 14px 32px;
  transition: background .2s, border-color .2s;
  cursor: pointer;
}
.btn-primary:hover { background: var(--oxblood); }
.btn-secondary {
  display: inline-block;
  font-family: 'Crimson Pro', serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--oxblood);
  border: 1px solid rgba(107,45,52,.4);
  padding: 14px 32px;
  transition: background .2s, border-color .2s, color .2s;
}
.btn-secondary:hover {
  background: var(--oxblood);
  border-color: var(--oxblood);
  color: var(--salt);
}

/* ââ CARDS ââ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.practice-card {
  background: var(--ink-mid);
  padding: 40px 36px;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, background .2s;
  text-decoration: none;
  display: block;
}
.practice-card:hover {
  border-bottom-color: var(--oxblood);
  background: var(--ink-light);
}
.practice-card .card-num {
  font-family: 'Crimson Pro', serif;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--pewter-light);
  margin-bottom: 20px;
}
.practice-card .card-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 22px;
  color: var(--salt);
  margin-bottom: 14px;
  line-height: 1.2;
}
.practice-card .card-desc {
  font-weight: 300;
  font-size: 14px;
  color: rgba(246,244,239,.45);
  line-height: 1.75;
}
.practice-card .card-link {
  display: inline-block;
  margin-top: 24px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--oxblood-light);
  transition: color .2s;
}
.practice-card:hover .card-link { color: var(--salt); }

/* ââ FORM ââ */
.contact-form { max-width: 640px; }
.form-row { margin-bottom: 24px; }
.form-row label {
  display: block;
  font-family: 'Crimson Pro', serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--pewter);
  margin-bottom: 8px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(107,45,52,.4);
  padding: 12px 0 12px 16px;
  font-family: 'Crimson Pro', serif;
  font-size: 16px;
  color: var(--salt);
  outline: none;
  transition: border-color .2s;
  appearance: none;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--oxblood);
  background: rgba(255,255,255,.06);
}
.form-row textarea { resize: vertical; min-height: 120px; }
.form-row select option { background: var(--ink); }

/* ââ FOOTER ââ */
footer {
  background: var(--ink-mid);
  border-top: 2px solid var(--oxblood);
  padding: 60px 48px 40px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .wordmark {
  display: inline-flex;
  align-items: baseline;
  margin-bottom: 18px;
}
.footer-brand .wl {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--salt);
}
.footer-brand .wp {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 18px;
  color: var(--oxblood);
  margin: 0 8px;
  opacity: .6;
}
.footer-brand .wr {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 17px;
  color: var(--salt);
}
.footer-brand p {
  font-weight: 300;
  font-size: 13px;
  color: rgba(246,244,239,.35);
  line-height: 1.8;
  max-width: 260px;
}
.footer-col h4 {
  font-family: 'Crimson Pro', serif;
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--pewter-light);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-weight: 300;
  font-size: 13px;
  color: rgba(246,244,239,.45);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--salt); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  font-weight: 300;
  font-size: 12px;
  color: rgba(246,244,239,.25);
}
.footer-bottom a {
  font-weight: 300;
  font-size: 12px;
  color: rgba(246,244,239,.25);
  transition: color .2s;
}
.footer-bottom a:hover { color: rgba(246,244,239,.5); }

/* ââ PAGE HERO VARIANTS ââ */
.page-hero {
  background: var(--ink);
  padding: 80px 48px 70px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(107,45,52,.06) 0%, transparent 60%);
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--oxblood);
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 56px;
  color: var(--salt);
  line-height: 1.05;
  margin-bottom: 20px;
}
.page-hero .hero-sub {
  font-weight: 300;
  font-size: 17px;
  color: rgba(246,244,239,.5);
  max-width: 560px;
  line-height: 1.75;
}

/* ââ PROSE CONTENT ââ */
.prose {
  font-weight: 300;
  font-size: 17px;
  color: var(--dk-gray);
  line-height: 1.85;
  max-width: 720px;
}
.prose p { margin-bottom: 22px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { font-weight: 600; color: var(--ink); }

/* ââ CTA BAND ââ */
.cta-band {
  background: var(--ink);
  padding: 80px 48px;
  text-align: center;
  position: relative;
}
.cta-band::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--oxblood);
}
.cta-band h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 42px;
  color: var(--salt);
  margin-bottom: 16px;
}
.cta-band p {
  font-weight: 300;
  font-size: 17px;
  color: rgba(246,244,239,.45);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

/* ââ RESPONSIVE ââ */
@media (max-width: 900px) {
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  .hero, .section, .section-dk, .section-ln, .page-hero, .cta-band { padding-left: 24px; padding-right: 24px; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .page-hero h1 { font-size: 40px; }
}
@media (max-width: 600px) {
  .card-grid, .card-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .sec-title { font-size: 32px; }
  .page-hero h1 { font-size: 32px; }
}
