/* Quillmere Law (concept site). Paper, ink and oxblood; upright serif headings, sans body. */
:root {
  --paper: #f6f3ec;
  --paper-2: #ece6da;
  --card: #fffdf8;
  --ink: #1c1d21;
  --ink-2: #4d4b46;
  --rule: #d6cfbf;
  --ox: #7a2331;
  --ox-dark: #5e1925;
  --night: #20232a;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 72rem;
  --radius: 4px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1.0625rem/1.65 var(--sans); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0; letter-spacing: -0.005em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.15rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; }
a { color: var(--ox); text-underline-offset: .18em; }
a:hover { color: var(--ox-dark); }
:focus-visible { outline: 3px solid var(--ox); outline-offset: 3px; border-radius: 2px; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: .5rem; background: var(--ink); color: #fff; padding: .7rem 1rem; z-index: 10; }
.skip:focus { left: .5rem; }

/* Concept label */
.concept-bar { background: var(--night); color: #e9e5dc; font-size: .875rem; }
.concept-bar .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.concept-bar a { color: #f4efe4; display: inline-flex; align-items: center; min-height: 36px; }
.concept-bar a:hover { color: #fff; }
.concept-bar :focus-visible { outline-color: #f4efe4; }

/* Header */
.site-head { border-bottom: 1px solid var(--rule); background: var(--paper); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 1rem 0; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--ink); text-decoration: none; min-height: 44px; }
.brand:hover { color: var(--ink); }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand-word { display: flex; flex-direction: column; line-height: 1.05; }
.brand-word b { font-family: var(--serif); font-weight: 600; font-size: 1.45rem; letter-spacing: .01em; }
.brand-word span { font-size: .7rem; letter-spacing: .28em; color: var(--ink-2); margin-top: .2rem; }
.nav { display: flex; align-items: center; gap: .25rem 1.25rem; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { color: var(--ox); }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--ox); }
.nav .tel { font-variant-numeric: tabular-nums; color: var(--ink-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.35rem;
  border-radius: var(--radius); font: 600 1rem/1.2 var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; }
.btn-ox { background: var(--ox); color: #fff; }
.btn-ox:hover { background: var(--ox-dark); color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); }
.nav .btn { color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* Hero */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.kicker { font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ox); font-weight: 600; margin-bottom: .9rem; }
.lede { font-size: 1.125rem; color: var(--ink-2); max-width: 36rem; margin-top: 1rem; }
.letter { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); box-shadow: 0 1px 0 var(--rule), 0 18px 40px -28px rgba(28, 29, 33, .45);
  padding: 1.75rem; position: relative; }
.letter-head { display: flex; align-items: center; gap: .85rem; padding-bottom: 1rem; border-bottom: 1px solid var(--rule); margin-bottom: 1.1rem; }
.letter-head svg { width: 34px; height: 34px; flex: none; }
.letter-head p { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.letter-head small { display: block; font-family: var(--sans); font-weight: 400; font-size: .85rem; color: var(--ink-2); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.checks li { display: grid; grid-template-columns: 1.25rem 1fr; gap: .65rem; align-items: start; }
.checks svg { width: 1.25rem; height: 1.25rem; margin-top: .2rem; color: var(--ox); }
.letter .btn { width: 100%; margin-top: 1.4rem; }
.letter .fine { font-size: .875rem; color: var(--ink-2); margin-top: .8rem; text-align: center; }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section.tint { background: var(--paper-2); }
.section-head { max-width: 40rem; margin-bottom: 2.25rem; }

/* Practice areas: a ruled index, not cards */
.areas { display: grid; border-top: 1px solid var(--ink); }
.area { display: grid; grid-template-columns: 2.25rem 1fr; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--rule); }
.area svg { width: 2rem; height: 2rem; color: var(--ox); margin-top: .15rem; }
.area p { color: var(--ink-2); margin-top: .35rem; }

.area h3 a { color: var(--ink); text-decoration-color: var(--rule); text-decoration-thickness: 1.5px; display: inline-block; min-height: 24px; }
.area h3 a:hover { color: var(--ox); text-decoration-color: currentColor; }

/* Practice pages */
.crumbs { font-size: .925rem; color: var(--ink-2); margin-bottom: 1rem; }
.crumbs a { display: inline-flex; align-items: center; min-height: 32px; }
.practice-title { display: flex; align-items: center; gap: .9rem; }
.practice-title svg { width: 2.5rem; height: 2.5rem; color: var(--ox); flex: none; }
.practice-body { padding: 1rem 0 clamp(3rem, 7vw, 5rem); }
.practice-body section { margin-bottom: 2.25rem; }
.practice-body section h2, .practice-body .letter h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.practice-body .letter p { color: var(--ink-2); }
.other-areas { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.other-areas li { border-bottom: 1px solid var(--rule); }
.other-areas a { display: flex; align-items: center; min-height: 44px; color: var(--ink); }
.other-areas a:hover { color: var(--ox); }

/* First meeting path */
.path { display: grid; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.path li { border-left: 2px solid var(--ox); padding: .2rem 0 .2rem 1.1rem; }
.path h3 { font-size: 1.15rem; }
.path p { color: var(--ink-2); margin-top: .35rem; }

/* People */
.people { display: grid; gap: 1.5rem; }
.person { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.6rem; display: grid; gap: 1rem; grid-template-columns: auto 1fr; align-items: start; }
.monogram { width: 4.25rem; height: 4.25rem; border-radius: 50%; display: grid; place-items: center; background: var(--ox); color: #fff;
  font-family: var(--serif); font-size: 1.75rem; font-weight: 600; box-shadow: inset 0 0 0 4px var(--card), 0 0 0 1px var(--ox); }
.person .role { color: var(--ink-2); font-size: .95rem; margin-top: .15rem; }
.person p.bio { margin-top: .75rem; }
.fill-tag { display: inline-block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
.person .fill-line { margin-top: .85rem; padding-top: .85rem; border-top: 1px dashed var(--rule); font-size: .925rem; color: var(--ink-2); }

/* Fees and reviews placeholders */
.fill { border: 1.5px dashed #b9b09b; border-radius: var(--radius); padding: 1.6rem; background: rgba(255, 253, 248, .6); }
.fill h3 { margin-top: .4rem; }
.fill p { color: var(--ink-2); margin-top: .5rem; }
.fill dl { margin: 1rem 0 0; display: grid; gap: .5rem; }
.fill dl div { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--rule); padding-bottom: .5rem; flex-wrap: wrap; }
.fill dt { font-weight: 600; }
.fill dd { margin: 0; color: var(--ink-2); }
.two { display: grid; gap: 1.25rem; }

/* What to bring */
.bring { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.bring li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .75rem; padding: .85rem 0; border-bottom: 1px solid var(--rule); }
.bring svg { width: 1.4rem; height: 1.4rem; color: var(--ox); margin-top: .1rem; }
.bring b { display: block; }
.bring span { color: var(--ink-2); font-size: .975rem; }

/* CTA */
.cta { background: var(--night); color: #ece8df; padding: clamp(2.75rem, 6vw, 4.25rem) 0; }
.cta h2 { color: #fff; }
.cta p { margin-top: .6rem; max-width: 34rem; }
.cta-row { display: grid; gap: 1.5rem; align-items: center; }
.cta .btn-line { border-color: #ece8df; color: #ece8df; }
.cta .btn-line:hover { background: #ece8df; color: var(--night); }
.cta :focus-visible { outline-color: #f4efe4; }

/* Notice */
.notice { font-size: .925rem; color: var(--ink-2); border-left: 3px solid var(--rule); padding-left: 1rem; max-width: 46rem; }
.notice strong { color: var(--ink); }

/* Form */
.form-grid { display: grid; gap: 2.5rem; align-items: start; }
.form { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1.15rem; }
.field { display: grid; gap: .4rem; }
.field label, legend { font-weight: 600; }
.req { color: var(--ox); }
.hint { font-size: .9rem; color: var(--ink-2); }
input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #8f887a; border-radius: var(--radius); padding: .7rem .8rem; min-height: 48px; }
textarea { min-height: 7.5rem; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--ox); outline-offset: 1px; border-color: var(--ox); }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: .5rem; }
.choices { display: flex; flex-wrap: wrap; gap: .6rem; }
.choice { display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; padding: .5rem 1rem; border: 1.5px solid #8f887a; border-radius: var(--radius); background: #fff; cursor: pointer; }
.choice input { width: 1.15rem; height: 1.15rem; accent-color: var(--ox); margin: 0; }
.choice:has(input:checked) { border-color: var(--ox); background: #f8eef0; }
.choice:has(input:focus-visible) { outline: 3px solid var(--ox); outline-offset: 2px; }
.choice input:focus-visible { outline: none; }
.two-fields { display: grid; gap: 1.15rem; }
.form .btn { justify-self: start; }
.msg { border: 1.5px solid var(--ox); background: #f8eef0; color: var(--ink); padding: .9rem 1rem; border-radius: var(--radius); font-weight: 600; }
.aside { display: grid; gap: 2rem; }
.aside h2 { font-size: 1.5rem; margin-bottom: .75rem; }
.next { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.next li { border-left: 2px solid var(--ox); padding-left: 1rem; }
.next b { display: block; }
.next span { color: var(--ink-2); font-size: .975rem; }
.page-head { padding: clamp(2.25rem, 5vw, 3.5rem) 0 1.5rem; }

/* Footer */
.site-foot { border-top: 1px solid var(--rule); padding: 2.75rem 0 2rem; font-size: .95rem; }
.foot-grid { display: grid; gap: 2rem; }
.site-foot h2 { font-family: var(--sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: .6rem; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li a { display: inline-flex; min-height: 40px; align-items: center; color: var(--ink); }
.site-foot li a:hover { color: var(--ox); }
.foot-note { color: var(--ink-2); margin-top: .9rem; max-width: 28rem; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1.5rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); color: var(--ink-2); }
.foot-base a { color: var(--ink); min-height: 40px; display: inline-flex; align-items: center; }

@media (min-width: 640px) {
  .two-fields { grid-template-columns: 1fr 1fr; }
  .path { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 820px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 4rem; }
  .areas { grid-template-columns: 1fr 1fr; column-gap: 3rem; }
  .people, .two { grid-template-columns: 1fr 1fr; }
  .cta-row { grid-template-columns: 1fr auto; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .form-grid { grid-template-columns: 1.3fr .7fr; gap: 3.5rem; }
}
@media (max-width: 819px) {
  .nav .tel { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
