@charset "UTF-8";
/* ==========================================================================
   Law Office of Katsuhiro Arai - redesign mockup
   Design system. All content is unchanged from the live site; only the
   presentation is new.
   ========================================================================== */

:root {
  /* Navy carries the authority, bronze does the accenting. Warm paper keeps
     it from reading cold and corporate. */
  --navy-900: #0a1725;
  --navy-800: #0f2338;
  --navy-700: #17324c;
  --navy-600: #24486a;
  --navy-400: #5c7796;

  --bronze-700: #7d5827;
  --bronze-600: #9a6f32;
  --bronze-500: #b08348;
  --bronze-300: #d9bc8c;
  --bronze-100: #f0e3cf;
  --bronze-50: #f8f2e8;

  --paper: #fbf9f6;
  --paper-2: #f4f0e9;
  --line: #e5ded4;
  --line-2: #d6cec1;

  --ink: #1a232e;
  --ink-2: #45525f;
  --ink-3: #6d7884;

  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans",
    "Yu Gothic", Meiryo, sans-serif;

  --wrap: 1180px;
  --radius: 4px; /* restrained; law firms are not startups */
  --shadow: 0 1px 2px rgba(10, 23, 37, 0.04), 0 8px 28px rgba(10, 23, 37, 0.06);
  --shadow-lg: 0 2px 4px rgba(10, 23, 37, 0.05), 0 18px 50px rgba(10, 23, 37, 0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* Clear the sticky header when jumping to an anchor. */
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--navy-700);
  text-decoration-color: var(--bronze-300);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--bronze-700);
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--navy-800);
  letter-spacing: -0.01em;
  line-height: 1.22;
  margin: 0;
}

p {
  margin: 0 0 1.15em;
}
p:last-child {
  margin-bottom: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}
.wrap-narrow {
  max-width: 820px;
}

/* Japanese copy needs its own font stack and looser leading to stay legible. */
.jp {
  font-family: var(--jp);
  line-height: 1.95;
  font-feature-settings: "palt" 1;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze-600);
  margin: 0 0 14px;
}
.eyebrow::after {
  content: "";
  display: block;
  width: 34px;
  height: 2px;
  background: var(--bronze-500);
  margin-top: 12px;
}
.eyebrow.center {
  text-align: center;
}
.eyebrow.center::after {
  margin-left: auto;
  margin-right: auto;
}

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s, color 0.18s, border-color 0.18s,
    transform 0.18s;
}
.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--navy-800);
  color: #fff;
}
.btn-primary:hover {
  background: var(--navy-700);
  color: #fff;
}

.btn-accent {
  background: var(--bronze-600);
  color: #fff;
}
.btn-accent:hover {
  background: var(--bronze-700);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--navy-800);
}
.btn-ghost:hover {
  border-color: var(--navy-700);
  background: #fff;
  color: var(--navy-800);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

/* ------------------------------------------------------------------- header */

.topbar {
  background: var(--navy-900);
  color: #cfdae6;
  font-size: 13.5px;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 40px;
  flex-wrap: wrap;
}
.topbar-items {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.topbar a {
  color: #e7eef5;
  text-decoration: none;
}
.topbar a:hover {
  color: var(--bronze-300);
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.topbar svg {
  width: 15px;
  height: 15px;
  flex: none;
  opacity: 0.75;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 249, 246, 0.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  flex: none;
}
.brand-mark {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--navy-800);
  color: var(--bronze-300);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 2px;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.brand-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy-800);
  letter-spacing: -0.01em;
}
.brand-sub {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--bronze-600);
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  position: relative;
  padding: 10px 15px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  border-radius: var(--radius);
  transition: color 0.18s;
}
.nav a:hover {
  color: var(--navy-800);
}
.nav a.active {
  color: var(--navy-800);
}
.nav a.active::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 2px;
  height: 2px;
  background: var(--bronze-500);
}
.nav-cta {
  margin-left: 10px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  color: var(--navy-800);
  cursor: pointer;
}

/* --------------------------------------------------------------------- hero */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 62%, var(--navy-600) 100%);
  color: #fff;
}
/* Subtle engraved-line motif: gravitas without a stock photo. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.028) 0 1px,
    transparent 1px 13px
  );
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  right: -180px;
  top: -140px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(217, 188, 140, 0.16);
  border-radius: 50%;
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  padding: 96px 24px 88px;
}
.hero-inner {
  max-width: 780px;
}
.hero .eyebrow {
  color: var(--bronze-300);
}
.hero .eyebrow::after {
  background: var(--bronze-300);
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.15rem, 5vw, 3.5rem);
  margin: 0 0 20px;
}
.hero-tagline {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  font-style: italic;
  color: var(--bronze-300);
  margin: 0 0 26px;
}
.hero-lede {
  font-size: 18px;
  color: #d4e0ec;
  max-width: 620px;
  margin: 0 0 34px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Credential strip under the hero. */
.creds {
  background: var(--navy-800);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.creds .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 0 24px;
}
.cred {
  padding: 26px 8px;
  text-align: center;
  position: relative;
}
.cred + .cred::before {
  content: "";
  position: absolute;
  left: 0;
  top: 26px;
  bottom: 26px;
  width: 1px;
  background: rgba(255, 255, 255, 0.11);
}
.cred-value {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--bronze-300);
  line-height: 1.2;
}
.cred-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #9fb3c8;
  margin-top: 7px;
}

/* ----------------------------------------------------------------- sections */

.section {
  padding: 88px 0;
}
.section-sm {
  padding: 62px 0;
}
.section-alt {
  background: var(--paper-2);
}
.section-navy {
  background: var(--navy-800);
  color: #d4e0ec;
}
.section-navy h2,
.section-navy h3 {
  color: #fff;
}
.section-navy .eyebrow {
  color: var(--bronze-300);
}
.section-navy .eyebrow::after {
  background: var(--bronze-300);
}

.section-head {
  max-width: 720px;
  margin-bottom: 46px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.4rem);
  margin-bottom: 16px;
}
.section-head p {
  font-size: 18px;
  color: var(--ink-2);
}

.prose {
  max-width: 760px;
}
.prose p {
  color: var(--ink-2);
  font-size: 17.5px;
}
.prose p:first-of-type {
  font-size: 19px;
  color: var(--ink);
}

/* Page banner for interior pages. */
.page-banner {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.028) 0 1px,
    transparent 1px 13px
  );
}
.page-banner .wrap {
  position: relative;
  padding: 68px 24px 60px;
}
.page-banner h1 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  max-width: 900px;
}
.page-banner .eyebrow {
  color: var(--bronze-300);
}
.page-banner .eyebrow::after {
  background: var(--bronze-300);
}
.breadcrumb {
  font-size: 13.5px;
  color: #9fb3c8;
  margin-top: 18px;
}
.breadcrumb a {
  color: #cfdae6;
  text-decoration: none;
}
.breadcrumb a:hover {
  color: var(--bronze-300);
}

/* -------------------------------------------------------------------- cards */

.grid {
  display: grid;
  gap: 22px;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}
.card p {
  color: var(--ink-2);
  font-size: 16px;
  margin: 0;
}

/* Mission / principles: quoted statements deserve emphasis. */
.statement {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--bronze-500);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}
.statement h3 {
  font-size: 1.15rem;
  margin-bottom: 14px;
}
.statement p {
  font-family: var(--serif);
  font-size: 18.5px;
  line-height: 1.62;
  color: var(--navy-700);
  margin: 0;
}

/* Practice-area tiles. */
.practice {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.practice:hover {
  border-color: var(--bronze-300);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.practice-icon {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--bronze-50);
  color: var(--bronze-700);
  border-radius: 2px;
}
.practice-icon svg {
  width: 21px;
  height: 21px;
}
.practice-name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1.35;
}

/* ------------------------------------------------------------------ members */

.member {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.member:hover {
  border-color: var(--bronze-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
/* Monogram stands in until real headshots are supplied. */
.member-portrait {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--navy-700), var(--navy-600));
  color: var(--bronze-300);
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.member-body {
  padding: 22px 24px 24px;
}
.member-name {
  font-family: var(--serif);
  font-size: 1.17rem;
  font-weight: 700;
  color: var(--navy-800);
  margin: 0 0 6px;
}
.member-role {
  font-size: 14.5px;
  color: var(--ink-3);
  margin: 0;
}
.member-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--bronze-700);
}

/* Attorney bio layout. */
.bio {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 54px;
  align-items: start;
}
.bio-aside {
  position: sticky;
  top: 104px;
}
.bio-portrait {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--navy-700), var(--navy-600));
  color: var(--bronze-300);
  font-family: var(--serif);
  font-size: 58px;
  font-weight: 700;
  border-radius: var(--radius);
  margin-bottom: 22px;
}
.bio-contact {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  font-size: 15px;
}
.bio-contact dl {
  margin: 0;
  display: grid;
  gap: 12px;
}
.bio-contact dt {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.bio-contact dd {
  margin: 3px 0 0;
  color: var(--navy-800);
  font-weight: 600;
}
.bio-contact a {
  text-decoration: none;
}

.bio-section {
  margin-bottom: 40px;
}
.bio-section > h3 {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.bio-section p {
  color: var(--ink-2);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.tag {
  background: var(--bronze-50);
  border: 1px solid var(--bronze-100);
  border-radius: 100px;
  padding: 7px 15px;
  font-size: 14px;
  font-weight: 600;
  color: var(--bronze-700);
}

.list-clean {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.list-clean li {
  position: relative;
  padding-left: 22px;
  color: var(--ink-2);
  font-size: 16.5px;
}
.list-clean li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  background: var(--bronze-500);
  border-radius: 50%;
}
.list-clean.cite li {
  font-size: 16px;
  line-height: 1.65;
}

/* ------------------------------------------------- japanese callout section */

.jp-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--bronze-500);
  border-radius: var(--radius);
  padding: 38px 40px;
  box-shadow: var(--shadow);
}
.jp-panel .jp-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.jp-badge {
  background: var(--navy-800);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  border-radius: 2px;
}
.jp-panel h2 {
  font-size: 1.4rem;
  margin: 0;
}
.jp-panel p {
  color: var(--ink-2);
  font-size: 16.5px;
}

/* -------------------------------------------------------------- articles */

.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px;
}
.article-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 54px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-800);
  text-decoration: none;
  transition: border-color 0.18s, background-color 0.18s, transform 0.18s;
}
.article-chip:hover {
  border-color: var(--bronze-500);
  background: var(--bronze-50);
  color: var(--bronze-700);
  transform: translateY(-2px);
}
.article-chip svg {
  width: 14px;
  height: 14px;
  opacity: 0.5;
}

/* ------------------------------------------------------------- accordion */

.toc {
  position: sticky;
  top: 104px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.toc h2 {
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}
.toc ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}
.toc a {
  font-size: 15px;
  text-decoration: none;
  color: var(--ink-2);
}
.toc a:hover {
  color: var(--bronze-700);
}

.acc {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  margin-bottom: 12px;
  overflow: hidden;
}
.acc > summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-800);
  list-style: none;
  transition: background-color 0.18s;
}
.acc > summary::-webkit-details-marker {
  display: none;
}
.acc > summary:hover {
  background: var(--bronze-50);
}
.acc-num {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--navy-800);
  color: var(--bronze-300);
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
}
.acc-chevron {
  margin-left: auto;
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--bronze-600);
  transition: transform 0.2s;
}
.acc[open] .acc-chevron {
  transform: rotate(180deg);
}
.acc-body {
  padding: 4px 24px 24px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  color: var(--ink-2);
  font-size: 16.5px;
}
.acc-body a {
  word-break: break-all;
}

.note {
  background: var(--bronze-50);
  border: 1px solid var(--bronze-100);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: 15.5px;
  color: var(--bronze-700);
}

/* ------------------------------------------------------------------ contact */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}

.field {
  display: block;
  margin-bottom: 20px;
}
.field > span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}
.field input,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 14px 16px;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-600);
  box-shadow: 0 0 0 3px rgba(36, 72, 106, 0.12);
}
.field textarea {
  min-height: 168px;
  resize: vertical;
}

.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.info-card-head {
  background: var(--navy-800);
  color: #fff;
  padding: 22px 26px;
}
.info-card-head h2 {
  color: #fff;
  font-size: 1.15rem;
  margin: 0;
}
.info-list {
  list-style: none;
  margin: 0;
  padding: 8px 26px 26px;
}
.info-list li {
  display: flex;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.info-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.info-icon {
  flex: none;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: var(--bronze-50);
  color: var(--bronze-700);
  border-radius: 2px;
}
.info-icon svg {
  width: 18px;
  height: 18px;
}
.info-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 3px;
}
.info-value {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--navy-800);
  line-height: 1.5;
}
.info-value a {
  text-decoration: none;
}

/* CTA band. */
.cta-band {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-600));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.028) 0 1px,
    transparent 1px 13px
  );
}
.cta-band .wrap {
  position: relative;
  padding: 66px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  flex-wrap: wrap;
}
.cta-band h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin: 0 0 10px;
}
.cta-band p {
  color: #cfdae6;
  margin: 0;
  max-width: 560px;
}

/* ------------------------------------------------------------------ footer */

.site-footer {
  background: var(--navy-900);
  color: #9fb3c8;
  font-size: 15px;
}
.footer-main {
  padding: 62px 0 44px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.4fr;
  gap: 46px;
}
.site-footer h3 {
  color: #fff;
  font-size: 0.92rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-family: var(--sans);
  font-weight: 700;
  margin-bottom: 18px;
}
.site-footer a {
  color: #cfdae6;
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--bronze-300);
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}
.footer-brand .brand-mark {
  margin-bottom: 16px;
}
.footer-brand p {
  color: #9fb3c8;
  font-size: 15px;
  max-width: 330px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13.5px;
}

/* Mockup ribbon so nobody mistakes this for the live site. */
.mock-flag {
  background: var(--bronze-600);
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 16px;
}
.mock-flag strong {
  font-weight: 700;
}

/* ------------------------------------------------------------ responsive */

@media (max-width: 1020px) {
  .bio {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .bio-aside {
    position: static;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 24px;
    align-items: start;
  }
  .bio-portrait {
    margin-bottom: 0;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
  .toc {
    position: static;
  }
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }
  .nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 12px 16px 18px;
    box-shadow: var(--shadow-lg);
  }
  .nav.open a {
    padding: 14px 12px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav.open a.active::after {
    display: none;
  }
  .nav.open .nav-cta {
    margin: 12px 0 0;
  }
  .nav-toggle {
    display: flex;
  }
  .site-header .wrap {
    position: relative;
  }
  .creds .wrap {
    grid-template-columns: repeat(2, 1fr);
  }
  .cred:nth-child(3)::before,
  .cred:nth-child(1)::before {
    display: none;
  }
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 62px 0;
  }
  .hero .wrap {
    padding: 66px 24px 58px;
  }
  .jp-panel {
    padding: 28px 24px;
  }
  .bio-aside {
    grid-template-columns: 1fr;
  }
  .bio-portrait {
    max-width: 220px;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .topbar .wrap {
    min-height: 0;
    padding: 10px 24px;
  }
  .topbar-items {
    gap: 14px;
    font-size: 13px;
  }
  .card,
  .statement {
    padding: 24px;
  }
}

@media print {
  .site-header,
  .topbar,
  .mock-flag,
  .cta-band,
  .nav-toggle {
    display: none;
  }
  body {
    background: #fff;
  }
  .hero,
  .page-banner {
    background: #fff;
    color: #000;
  }
  .hero h1,
  .page-banner h1 {
    color: #000;
  }
}

/* ==========================================================================
   Fixes found while reviewing the rendered pages.
   ========================================================================== */

/* `.nav a` (0,1,1) was overriding `.btn-accent` (0,1,0), so the header CTA
   lost its white text and sat bronze-on-bronze. Re-assert it for nav buttons. */
.nav a.btn-accent,
.nav a.btn-accent:hover {
  color: #fff;
}
.nav a.btn-primary,
.nav a.btn-primary:hover {
  color: #fff;
}

/* Button labels should not break mid-phrase. */
.btn {
  white-space: nowrap;
}

/* The toggle was being squashed by the long brand name in the flex row. */
.nav-toggle {
  flex: none;
}

@media (max-width: 620px) {
  /* Keep a two-word CTA on one line at phone widths. */
  .btn {
    padding: 0 18px;
    font-size: 14.5px;
  }
  .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }
  .brand-name {
    font-size: 15.5px;
  }
  .brand-sub {
    font-size: 10.5px;
    letter-spacing: 0.1em;
  }
  .site-header .wrap {
    min-height: 68px;
    gap: 12px;
  }
}

/* Patent Reform: the two-column layout borrowed .contact-grid, which collapses
   at 1020px. Give it its own rule so the sticky index behaves predictably. */
.reform-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 1020px) {
  .reform-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* These labels are spans inside spans, so they need to be told to stack. */
.info-label,
.info-value {
  display: block;
}
.info-list li > span:last-child {
  min-width: 0;
}

/* ==========================================================================
   Articles: a quiet resource list, not a feature block.
   ========================================================================== */

.articles-slim {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 30px;
  align-items: start;
  border-top: 1px solid var(--line);
  padding-top: 30px;
}
.articles-slim h2 {
  font-size: 1.05rem;
  margin: 0;
}
.articles-slim .hint {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--ink-3);
}

.article-nums {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}
.article-num {
  min-width: 40px;
  padding: 6px 9px;
  text-align: center;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  border-radius: 3px;
  transition: background-color 0.16s, color 0.16s;
}
.article-num:hover {
  background: var(--bronze-50);
  color: var(--bronze-700);
}

@media (max-width: 860px) {
  .articles-slim {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Label column narrower now that the heading stands alone. */
.articles-slim {
  grid-template-columns: 120px 1fr;
}
@media (max-width: 860px) {
  .articles-slim {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Real headshots. The source photo is 227x300, so frames are sized close to
   native to avoid upscaling a small JPEG into mush.
   ========================================================================== */

.member-portrait--photo,
.bio-portrait--photo {
  padding: 0;
  overflow: hidden;
  background: var(--paper-2);
}
.member-portrait--photo img,
.bio-portrait--photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
/* A portrait photo cropped into a landscape card needs the head kept in
   frame, not centred on the tie. */
.member-portrait--photo img {
  object-position: 50% 16%;
}

.bio-portrait {
  /* Match the photo's own 227:300 proportions and cap the width near native. */
  aspect-ratio: 227 / 300;
  max-width: 240px;
  padding: 0;
  overflow: hidden;
}
.bio-portrait--photo img {
  object-position: 50% 50%;
}

/* A 227x300 portrait cropped to 4:3 landscape threw away the shoulders and
   left the head filling the frame. Square keeps a normal headshot crop, and
   the monogram cards read the same either way. */
.member-portrait {
  aspect-ratio: 1 / 1;
}
.member-portrait--photo img {
  object-position: 50% 22%;
}

/* ==========================================================================
   Attorney feature + understated staff line.
   ========================================================================== */

.attorney-feature {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 34px;
  align-items: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.attorney-feature:hover {
  border-color: var(--bronze-300);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.attorney-photo .member-portrait {
  aspect-ratio: 227 / 300;
  border-radius: 2px;
}
.attorney-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1.25;
}
.attorney-role {
  display: block;
  margin-top: 8px;
  font-size: 15.5px;
  color: var(--ink-2);
}
.attorney-feature .member-more {
  margin-top: 18px;
}

/* Support staff are credited, not promoted: no cards, no links, no bios. */
.staff-line {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: baseline;
  max-width: 720px;
  margin: 38px auto 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.staff-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.staff-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 34px;
}
.staff-list li {
  font-size: 15.5px;
  color: var(--ink-2);
}
.staff-list strong {
  font-weight: 600;
  color: var(--navy-800);
}
.staff-list .role::before {
  /* CSS escape rather than a literal em dash: a stylesheet served without a
     charset gets decoded as windows-1252, which turns the raw UTF-8 bytes
     into mojibake. The escape survives either way. It also consumes one
     following space, so the gaps are set with margin. */
  content: "\2014";
  margin: 0 0.38em;
  color: var(--ink-3);
}
.staff-list .role {
  color: var(--ink-3);
}

/* On the members page the line sits alone in its band. */
.section-alt .staff-line {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

@media (max-width: 860px) {
  .attorney-feature {
    grid-template-columns: 1fr;
    gap: 22px;
    text-align: left;
  }
  .attorney-photo {
    display: block;
    max-width: 180px;
  }
  .staff-line {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* The inline arrow had no intrinsic size, so it ballooned and wrapped the
   label beside it. Constrain it and keep the phrase on one line. */
.member-more {
  white-space: nowrap;
}
.member-more svg {
  width: 15px;
  height: 15px;
  flex: none;
}

/* ==========================================================================
   Hero photograph, and the live contact form.
   ========================================================================== */

/* Honeypot. Off-screen rather than display:none, which some bots detect. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-disclaimer {
  margin: 4px 0 20px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-3);
  padding-left: 14px;
  border-left: 2px solid var(--line-2);
}

.form-status {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 15px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
}
.form-status.is-ok {
  border-color: #b6dfc8;
  background: #f0faf4;
  color: #1d6b41;
}
.form-status.is-error {
  border-color: #f0c2c2;
  background: #fdf3f3;
  color: #9b2c2c;
}


/* ==========================================================================
   Article manager (/admin). A tool, not a page, but a legible one.
   ========================================================================== */

.admin-bar {
  background: var(--navy-900);
  color: #cfdae6;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08);
}
.admin-bar .wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  flex-wrap: wrap;
}
.admin-brand {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.admin-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bronze-300);
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  padding-left: 14px;
}
.admin-signout {
  margin-left: auto;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  color: #e7eef5;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 15px;
  cursor: pointer;
  transition: border-color 0.16s, color 0.16s;
}
.admin-signout:hover {
  border-color: var(--bronze-300);
  color: var(--bronze-300);
}

/* ---------------------------------------------------------- upload card */

.upload-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--bronze-500);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.upload-row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 22px;
  align-items: start;
}
.upload-foot {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.upload-hint {
  margin: 0;
  font-size: 13px;
  color: var(--ink-3);
}

/* The native file input is replaced by a button plus a filename readout. */
.file-field {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.file-field input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.file-btn {
  display: inline-block;
  padding: 12px 18px;
  background: var(--paper-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy-800);
  cursor: pointer;
  transition: background-color 0.16s, border-color 0.16s;
}
.file-btn:hover {
  background: var(--bronze-50);
  border-color: var(--bronze-300);
}
/* Keyboard focus lands on the hidden input, so surface it on the label. */
.file-field input[type="file"]:focus-visible + .file-btn {
  outline: 2px solid var(--navy-600);
  outline-offset: 2px;
}
.file-name {
  font-size: 14px;
  color: var(--ink-3);
}
.file-name.has-file {
  color: var(--navy-800);
  font-weight: 600;
}

/* ------------------------------------------------------------- the list */

.list-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin: 48px 0 16px;
}
.list-head h2 {
  font-size: 1.2rem;
  margin: 0;
}
.list-head span {
  font-size: 13.5px;
  color: var(--ink-3);
}

/* One grid definition, shared by the header row and every article row, so the
   columns cannot drift apart. */
.admin-cols,
.admin-row {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) 88px 128px auto;
  gap: 16px;
  align-items: center;
}
.admin-cols {
  padding: 0 18px 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-bottom: 1px solid var(--line);
}
.admin-list {
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  background: #fff;
  overflow: hidden;
}
.admin-row {
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
}
.admin-row:last-child {
  border-bottom: 0;
}
.admin-row:hover {
  background: var(--paper);
}

.admin-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  padding: 5px 10px;
  background: var(--navy-800);
  color: #fff;
  border-radius: 3px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
}
/* Mono, so the filename reads as a filename and not as part of the number. */
.admin-file {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  color: var(--ink-2);
  background: var(--paper-2);
  border-radius: 3px;
  padding: 4px 8px;
  justify-self: start;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-cell {
  font-size: 13.5px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.admin-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.admin-btn {
  display: inline-block;
  border: 1px solid var(--line-2);
  background: #fff;
  border-radius: var(--radius);
  padding: 7px 14px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.16s, color 0.16s, background-color 0.16s;
}
.admin-btn:hover {
  border-color: var(--navy-600);
  color: var(--navy-800);
}
.admin-btn.is-danger {
  border-color: #ecc4c4;
  color: #9b2c2c;
}
.admin-btn.is-danger:hover {
  background: #fdf3f3;
  border-color: #d98c8c;
  color: #9b2c2c;
}
.admin-btn:disabled {
  opacity: 0.55;
  cursor: default;
}

.admin-confirm {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
  padding: 12px 14px;
  background: #fdf3f3;
  border: 1px solid #f0c2c2;
  border-radius: var(--radius);
  font-size: 13.5px;
  color: #9b2c2c;
}
.form-status.is-working {
  border-color: var(--line-2);
}

@media (max-width: 780px) {
  /* Collapse to stacked cards; the header row has nothing left to label. */
  .admin-cols {
    display: none;
  }
  .admin-list {
    border-top: 1px solid var(--line);
    border-radius: var(--radius);
  }
  .admin-row {
    grid-template-columns: auto 1fr;
    gap: 8px 12px;
    padding: 14px 16px;
  }
  .admin-file {
    justify-self: start;
  }
  .admin-cell::before {
    content: attr(data-label) ": ";
    color: var(--ink-3);
  }
  .admin-cell {
    grid-column: 2;
  }
  .admin-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    margin-top: 6px;
  }
  .upload-row {
    grid-template-columns: 1fr;
  }
}
