/* ==========================================================================
   Chenoweth Law Group — custom theme
   ========================================================================== */
:root {
  --gold: #f5a800;
  --gold-2: #ffc23a;
  --ink: #0b0b0c;
  --ink-2: #151517;
  --ink-3: #222226;
  --paper: #ffffff;
  --paper-2: #f4f2ee;
  --muted: #8d8d93;
  --text: #2a2a2e;
  --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1240px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-snap: cubic-bezier(.7, 0, .2, 1);
  /* Hero mask: 0.8 = photo shows at ~20% outside the slash */
  --hero-shade: .8;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 0 0 .5em;
  color: var(--ink);
}
p { margin: 0 0 1.1em; }
.wrap { width: min(var(--wrap), 100% - 48px); margin-inline: auto; }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
  clip: auto; width: auto; height: auto; z-index: 999; top: 8px; left: 8px;
  background: var(--gold); color: var(--ink); padding: 10px 16px;
}

.eyebrow {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 38px; height: 2px; background: currentColor; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--display); font-weight: 700; font-size: 18px;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  padding: 16px 28px; border: 2px solid var(--gold);
  color: var(--ink); background: var(--gold);
  position: relative; overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0; background: var(--ink); z-index: -1;
  transform: translateX(-101%); transition: transform .45s var(--ease-snap);
}
.btn:hover { color: var(--gold); }
.btn:hover::after { transform: none; }
.btn--ghost { background: transparent; color: #fff; }
.btn--ghost::after { background: var(--gold); }
.btn--ghost:hover { color: var(--ink); }
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

/* --------------------------------------------------------------------------
   Logo (four rectangles)
   -------------------------------------------------------------------------- */
.clg-logo { display: block; overflow: visible; }
.clg-logo .lg rect { fill: #000; stroke: var(--gold); stroke-width: 3.5; }
.clg-logo .lg text {
  fill: #fff; font-family: var(--display); font-weight: 700;
  font-size: 31px; letter-spacing: .04em;
}
.clg-logo .lg-c text { font-size: 92px; }
.clg-logo .lg {
  transform-box: fill-box; transform-origin: center;
  transition: transform 1.1s var(--ease), opacity .6s ease;
}
/* Scattered state (before assembly) */
.clg-logo:not(.is-assembled) .lg { opacity: 0; }
.clg-logo:not(.is-assembled) .lg-c     { transform: translate(-260%, 0) rotate(-14deg); }
.clg-logo:not(.is-assembled) .lg-name  { transform: translate(0, -240%) rotate(6deg); }
.clg-logo:not(.is-assembled) .lg-law   { transform: translate(-40%, 260%) rotate(-10deg); }
.clg-logo:not(.is-assembled) .lg-group { transform: translate(200%, 0) rotate(12deg); }
.clg-logo.is-assembled .lg-name  { transition-delay: .12s; }
.clg-logo.is-assembled .lg-law   { transition-delay: .24s; }
.clg-logo.is-assembled .lg-group { transition-delay: .36s; }
/* Scrubbed (watermark) mode: JS drives transforms, no transitions */
.clg-logo.is-scrub .lg { transition: none; opacity: 1; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s ease, box-shadow .4s ease, padding .4s ease;
  padding: 22px 0;
}
.site-header.is-scrolled {
  background: rgba(11, 11, 12, .94);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(245, 168, 0, .35);
  padding: 10px 0;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; width: 230px; transition: width .4s var(--ease); }
.site-header.is-scrolled .brand { width: 176px; }
.header-right { display: flex; align-items: center; gap: 30px; }
.header-call {
  font-family: var(--display); font-weight: 700; font-size: 20px;
  letter-spacing: .08em; text-transform: uppercase; color: #fff; text-decoration: none;
}
.header-call span { color: var(--gold); border-bottom: 2px solid var(--gold); }
.menu-toggle {
  display: inline-flex; align-items: center; gap: 12px;
  background: none; border: 0; color: #fff; cursor: pointer;
  font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: .12em;
  text-transform: uppercase; padding: 6px 0;
}
.menu-toggle .bars { width: 28px; height: 16px; position: relative; }
.menu-toggle .bars i {
  position: absolute; left: 0; height: 2px; background: var(--gold); width: 100%;
  transition: transform .35s var(--ease), opacity .2s, width .3s var(--ease);
}
.menu-toggle .bars i:nth-child(1) { top: 0; }
.menu-toggle .bars i:nth-child(2) { top: 7px; width: 70%; }
.menu-toggle .bars i:nth-child(3) { top: 14px; }
.menu-toggle:hover .bars i:nth-child(2) { width: 100%; }
body.menu-open .menu-toggle .bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-toggle .bars i:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle .bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Full-screen nav */
.nav-panel {
  position: fixed; inset: 0; z-index: 40; background: var(--ink);
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
  transition: clip-path .7s var(--ease-snap);
  overflow-y: auto; color: #fff;
}
body.menu-open .nav-panel { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
body.menu-open { overflow: hidden; }
.nav-panel .wrap { padding: 140px 0 60px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; }
.nav-panel ul { list-style: none; margin: 0; padding: 0; }
.nav-primary > li > a {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(34px, 4.4vw, 58px); line-height: 1.12; text-decoration: none;
  display: inline-block; position: relative; color: #fff;
  transition: color .3s, transform .4s var(--ease);
}
.nav-primary > li > a:hover { color: var(--gold); transform: translateX(10px); }
.nav-primary > li { opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .6s var(--ease); }
body.menu-open .nav-primary > li { opacity: 1; transform: none; }
body.menu-open .nav-primary > li:nth-child(2) { transition-delay: .05s; }
body.menu-open .nav-primary > li:nth-child(3) { transition-delay: .1s; }
body.menu-open .nav-primary > li:nth-child(4) { transition-delay: .15s; }
body.menu-open .nav-primary > li:nth-child(5) { transition-delay: .2s; }
body.menu-open .nav-primary > li:nth-child(6) { transition-delay: .25s; }
body.menu-open .nav-primary > li:nth-child(7) { transition-delay: .3s; }
body.menu-open .nav-primary > li:nth-child(8) { transition-delay: .35s; }
.nav-primary .sub-menu { display: none; }
.nav-practice h4 { color: var(--gold); font-size: 16px; letter-spacing: .28em; margin-bottom: 18px; }
.nav-practice ul { columns: 2; column-gap: 30px; }
.nav-practice li { break-inside: avoid; }
.nav-practice a {
  display: block; padding: 9px 0; text-decoration: none; color: #cfcfd4;
  border-bottom: 1px solid #2a2a2f; font-size: 17px; transition: color .25s, padding .3s var(--ease);
}
.nav-practice a:hover { color: var(--gold); padding-left: 8px; }
.nav-contact { margin-top: 40px; color: #9a9aa1; font-size: 16px; }
.nav-contact a { color: #fff; text-decoration: none; }

/* --------------------------------------------------------------------------
   Hero — Portland with slash reveal
   -------------------------------------------------------------------------- */
.hero {
  position: relative; min-height: max(100vh, 680px); background: #000;
  overflow: hidden; color: #fff; display: flex; align-items: center;
}
.hero-media { position: absolute; inset: -6% 0; will-change: transform; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }
.hero-media img { transform: scale(1.08); transition: transform 2.6s var(--ease); }
.hero.is-live .hero-media img { transform: scale(1); }

/* Two dark panes; the gap between them is the slash */
.hero-shade { position: absolute; inset: 0; pointer-events: none; }
.hero-shade::before, .hero-shade::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(0, 0, 0, var(--hero-shade));
  transition: clip-path 1.6s var(--ease-snap) .35s;
}
/* Closed: panes meet along the diagonal */
.hero-shade::before { clip-path: polygon(0 0, 62% 0, 46% 100%, 0 100%); }
.hero-shade::after  { clip-path: polygon(62% 0, 100% 0, 100% 100%, 46% 100%); }
/* Open: ~11% wide slash */
.hero.is-live .hero-shade::before { clip-path: polygon(0 0, 57% 0, 41% 100%, 0 100%); }
.hero.is-live .hero-shade::after  { clip-path: polygon(68% 0, 100% 0, 100% 100%, 52% 100%); }

.hero-edges { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-edges line {
  stroke: var(--gold); stroke-width: 2; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.4s var(--ease) 1.2s;
}
.hero.is-live .hero-edges line { stroke-dashoffset: 0; }

.hero-inner { position: relative; z-index: 2; width: 100%; padding: 140px 0 110px; }
.hero-words { color: #fff; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.word-row { display: flex; align-items: flex-end; gap: 24px; }
.word-row--2 { margin-left: clamp(0px, 4vw, 60px); }
.word-box {
  background: #fff; color: var(--ink); display: inline-block;
  font-family: var(--display); font-weight: 600; text-transform: uppercase;
  font-size: clamp(46px, 7.2vw, 108px); line-height: 1; letter-spacing: .03em;
  padding: .16em .32em .12em;
  clip-path: inset(0 100% 0 0);
  transition: clip-path .9s var(--ease-snap);
}
.word-box .w { display: inline-block; opacity: 0; transform: translateY(40%); transition: opacity .5s, transform .7s var(--ease); }
.hero.is-live .word-box { clip-path: inset(0 0 0 0); }
.hero.is-live .word-box .w { opacity: 1; transform: none; }
.hero.is-live .word-row--1 .word-box { transition-delay: .9s; }
.hero.is-live .word-row--1 .w:nth-child(1) { transition-delay: 1.25s; }
.hero.is-live .word-row--1 .w:nth-child(2) { transition-delay: 1.45s; }
.hero.is-live .word-row--2 .word-box { transition-delay: 1.5s; }
.hero.is-live .word-row--2 .w { transition-delay: 1.85s; }
.hero-tag {
  font-family: var(--display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(16px, 1.5vw, 21px); letter-spacing: .1em; line-height: 1.2; max-width: 210px; color: #fff;
  opacity: 0; transform: translateX(-14px); transition: opacity .6s 2.2s, transform .8s var(--ease) 2.2s;
}
.hero.is-live .hero-tag { opacity: 1; transform: none; }
.hero-cta { margin-top: 46px; display: flex; flex-wrap: wrap; gap: 16px;
  opacity: 0; transition: opacity .8s 2.5s; }
.hero.is-live .hero-cta { opacity: 1; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 28px; z-index: 2; transform: translateX(-50%);
  font-family: var(--display); letter-spacing: .3em; font-size: 13px; text-transform: uppercase;
  color: #fff; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero-scroll i { width: 2px; height: 44px; background: linear-gradient(var(--gold), transparent); animation: drip 2s infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* --------------------------------------------------------------------------
   Reveal helpers
   -------------------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .9s ease, transform 1s var(--ease); }
[data-reveal="left"] { transform: translateX(-50px); }
[data-reveal="right"] { transform: translateX(50px); }
[data-reveal].is-in { opacity: 1; transform: none; }
.big-word {
  display: block; font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(72px, 11vw, 170px); line-height: .86; color: var(--gold); letter-spacing: -.005em;
}

/* --------------------------------------------------------------------------
   Strategic
   -------------------------------------------------------------------------- */
.section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.strategic .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.strategic h2 { font-size: clamp(30px, 3vw, 42px); }
.strategic h2 small { display: block; font-size: .6em; color: var(--muted); letter-spacing: .12em; margin-bottom: 8px; }
.strategic .lead { font-size: 21px; color: #3b3b40; }
.strategic-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: var(--ink); border: 3px solid var(--ink); }
.strategic-grid > div { background: var(--paper-2); padding: 30px 26px; transition: background .35s, color .35s; }
.strategic-grid > div:hover { background: var(--ink); color: #ddd; }
.strategic-grid > div:hover h3 { color: var(--gold); }
.strategic-grid h3 { font-size: 22px; margin-bottom: 10px; transition: color .35s; }
.strategic-grid p { font-size: 16px; margin: 0; line-height: 1.55; }
.strategic-grid .num { font-family: var(--display); font-weight: 700; color: var(--gold); font-size: 15px; letter-spacing: .2em; display: block; margin-bottom: 12px; }

/* --------------------------------------------------------------------------
   Smart (dark)
   -------------------------------------------------------------------------- */
.smart { background: var(--ink); color: #c9c9ce; overflow: hidden; }
.smart h2, .smart h3 { color: #fff; }
.smart-head { display: grid; grid-template-columns: auto 1fr; gap: 50px; align-items: end; margin-bottom: 70px; }
.smart-head h2 { font-size: clamp(28px, 2.6vw, 38px); margin: 0 0 14px; }
.smart-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid #2c2c31; }
.smart-cols article { padding: 40px 36px 10px 0; border-right: 1px solid #2c2c31; }
.smart-cols article + article { padding-left: 36px; }
.smart-cols article:last-child { border-right: 0; padding-right: 0; }
.smart-cols h3 { font-size: 26px; position: relative; padding-top: 20px; }
.smart-cols h3::before { content: ""; position: absolute; top: 0; left: 0; width: 36px; height: 3px; background: var(--gold); transition: width .6s var(--ease); }
.smart-cols article:hover h3::before { width: 100%; }
.smart-cols p { font-size: 16.5px; }

/* --------------------------------------------------------------------------
   Practice areas
   -------------------------------------------------------------------------- */
.practice { background: var(--paper-2); }
.practice-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 50px; flex-wrap: wrap; }
.practice-head h2 { font-size: clamp(40px, 5vw, 68px); margin: 0; }
.practice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--ink); border-left: 2px solid var(--ink); }
.practice-grid a {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 170px; padding: 24px 24px 22px; text-decoration: none; color: var(--ink);
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  background: var(--paper-2); overflow: hidden; isolation: isolate;
}
.practice-grid a::before {
  content: ""; position: absolute; inset: 0; background: var(--ink); z-index: -1;
  transform: translateY(101%); transition: transform .45s var(--ease-snap);
}
.practice-grid a:hover::before { transform: none; }
.practice-grid .idx { font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: .2em; color: var(--muted); transition: color .3s; }
.practice-grid .t { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 24px; line-height: 1.05; transition: color .3s; }
.practice-grid .go { position: absolute; right: 20px; top: 20px; width: 26px; height: 26px; border: 2px solid currentColor; display: grid; place-items: center; transition: transform .4s var(--ease), color .3s, background .3s; font-size: 14px; }
.practice-grid a:hover .t { color: #fff; }
.practice-grid a:hover .idx { color: var(--gold); }
.practice-grid a:hover .go { color: var(--ink); background: var(--gold); border-color: var(--gold); transform: rotate(-45deg); }

/* --------------------------------------------------------------------------
   Team — interactive group photo
   -------------------------------------------------------------------------- */
.team { background: #fff; overflow: hidden; padding-bottom: 60px; }
.team-head { text-align: center; max-width: 760px; margin: 0 auto 30px; }
.team-head h2 { font-size: clamp(40px, 5vw, 68px); margin-bottom: 12px; }
.team-head p { color: #55555b; }
.team-hint { font-family: var(--display); font-size: 14px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.team-hint b { color: var(--gold); }
.team-stage-scroll { overflow-x: auto; overflow-y: visible; -webkit-overflow-scrolling: touch; scrollbar-width: thin; padding-top: 70px; }
.team-stage {
  position: relative; width: min(1500px, 100%); min-width: 860px; margin: 0 auto;
  aspect-ratio: 2270 / 591; display: flex;
}
.team-stage::after { /* floor line */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--ink);
  transform: scaleX(0); transition: transform 1.2s var(--ease) .1s;
}
.team-stage.is-in::after { transform: none; }
.slice {
  position: relative; height: 100%; flex: 0 0 auto; display: block; z-index: 1;
  text-decoration: none; outline: none;
  transform: translateY(var(--from, 110%)); opacity: 0;
  transition: transform 1s var(--ease), opacity .6s ease;
  transition-delay: var(--d, 0s);
}
.team-stage.is-in .slice { transform: none; opacity: 1; }
.slice:hover, .slice:focus-visible { z-index: 5; }
.slice-img { position: absolute; inset: 0; overflow: hidden; }
.slice img {
  position: absolute; top: 0; height: 100%; max-width: none; width: var(--imgw); left: var(--imgl);
  filter: grayscale(1) contrast(1.05);
  transition: filter .45s ease, transform .6s var(--ease);
  transform-origin: 50% 100%;
}
.slice::before { /* gold sweep line that runs the slice height on hover */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gold); z-index: 2;
  transform: scaleX(0); transition: transform .45s var(--ease);
}
.slice .tag {
  position: absolute; left: 50%; bottom: 14px; z-index: 3; white-space: nowrap;
  transform: translate(-50%, 12px); opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: 8px 14px 7px; text-align: center;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .06em; line-height: 1.15;
  border-top: 3px solid var(--gold);
  transition: opacity .3s, transform .45s var(--ease);
}
.slice:first-child .tag { left: 0; transform: translate(0, 12px); }
.slice:last-child .tag { left: auto; right: 0; transform: translate(0, 12px); }
.slice:first-child:hover .tag, .slice:last-child:hover .tag { transform: none; }
.slice .tag b { display: block; font-size: 18px; font-weight: 700; }
.slice .tag small { display: block; font-size: 12px; color: var(--gold); letter-spacing: .2em; }
.slice:hover img, .slice:focus-visible img { filter: none; transform: scale(1.035); }
.slice:hover::before, .slice:focus-visible::before { transform: none; }
.slice:hover .tag, .slice:focus-visible .tag { opacity: 1; transform: translate(-50%, 0); }
.team-stage:hover .slice:not(:hover) img { filter: grayscale(1) brightness(1.08) contrast(.9); opacity: .55; }
.slice img { transition: filter .45s ease, transform .6s var(--ease), opacity .45s ease; }
.team-more { text-align: center; margin-top: 40px; color: #55555b; font-size: 16px; }
.team-more a { color: var(--ink); font-weight: 600; text-decoration-color: var(--gold); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.team-more a:hover { color: #9a6a00; }
.team-cta { text-align: center; margin-top: 30px; }

/* --------------------------------------------------------------------------
   Tenacious — Hawthorne Bridge parallax
   -------------------------------------------------------------------------- */
.tenacious { position: relative; color: #fff; overflow: hidden; background: #000; padding: clamp(110px, 14vw, 200px) 0; }
.tenacious-media { position: absolute; inset: -18% 0; will-change: transform; }
.tenacious-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.tenacious::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.78) 42%, rgba(0,0,0,.2) 75%, rgba(0,0,0,.05) 100%);
}
.tenacious .wrap { position: relative; z-index: 2; }
.tenacious-copy { max-width: 600px; }
.tenacious h2 { color: #fff; font-size: clamp(28px, 2.6vw, 38px); }
.tenacious p { color: #d9d9de; }

/* --------------------------------------------------------------------------
   Different
   -------------------------------------------------------------------------- */
.different .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.different h2 { font-size: clamp(40px, 5vw, 68px); }
.diff-list { list-style: none; margin: 0; padding: 0; counter-reset: d; }
.diff-list li {
  counter-increment: d; position: relative; padding: 24px 0 24px 80px; border-bottom: 1px solid #ddd; font-size: 19px;
}
.diff-list li::before {
  content: counter(d, decimal-leading-zero); position: absolute; left: 0; top: 18px;
  font-family: var(--display); font-weight: 800; font-size: 44px; color: var(--gold); line-height: 1;
}

/* --------------------------------------------------------------------------
   Contact + watermark
   -------------------------------------------------------------------------- */
.contact-band { background: var(--ink); color: #c9c9ce; position: relative; overflow: hidden; padding: clamp(120px, 14vw, 200px) 0 clamp(90px, 10vw, 140px); }
.watermark {
  position: absolute; left: 50%; top: 50%; width: min(1500px, 128vw);
  transform: translate(-50%, -50%); opacity: .085; pointer-events: none; z-index: 0;
}
.watermark .clg-logo .lg rect { fill: transparent; stroke-width: 2; }
.watermark .clg-logo .lg text { fill: transparent; stroke: #fff; stroke-width: .8px; }
.contact-band .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: center; }
.contact-band h2 { color: #fff; font-size: clamp(40px, 5vw, 72px); }
.contact-band .phone-big {
  display: inline-block; font-family: var(--display); font-weight: 800; color: var(--gold); text-decoration: none;
  font-size: clamp(44px, 6vw, 84px); line-height: 1; margin: 10px 0 30px; letter-spacing: .02em;
}
.contact-card { border: 2px solid var(--gold); padding: 36px; background: rgba(11,11,12,.6); backdrop-filter: blur(3px); }
.contact-card h3 { color: var(--gold); font-size: 18px; letter-spacing: .24em; }
.contact-card address { font-style: normal; color: #fff; font-size: 19px; margin-bottom: 18px; }
.contact-card dl { margin: 0 0 24px; display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; }
.contact-card dt { font-family: var(--display); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.contact-card dd { margin: 0; color: #fff; }
.contact-card a { color: #fff; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: #000; color: #8e8e95; font-size: 15px; padding: 50px 0 40px; border-top: 1px solid #222; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; }
.site-footer a { color: #c5c5cb; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-brand { width: 150px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border: 1px solid #333; display: grid; place-items: center; transition: border-color .3s, background .3s; }
.footer-social a:hover { border-color: var(--gold); background: var(--gold); color: #000; }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }

/* --------------------------------------------------------------------------
   Interior pages
   -------------------------------------------------------------------------- */
/* Same slash treatment as the home hero, smaller */
.page-hero { position: relative; background: #000 url("../img/portland-hero.jpg") 58% 50% / cover; color: #fff; padding: 190px 0 80px; overflow: hidden; }
.page-hero::before, .page-hero::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, var(--hero-shade)); }
.page-hero::before { clip-path: polygon(0 0, 66% 0, 58% 100%, 0 100%); }
.page-hero::after  { clip-path: polygon(74% 0, 100% 0, 100% 100%, 66% 100%); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(42px, 6vw, 84px); margin: 0; }
.entry { padding: 80px 0 110px; }
.entry .wrap { max-width: 860px; }
.entry h2 { font-size: 36px; margin-top: 1.4em; }
.entry h3 { font-size: 26px; margin-top: 1.3em; }
.entry a { color: #8a5f00; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.entry img { margin: 1.5em 0; }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry blockquote { margin: 1.6em 0; padding: 6px 0 6px 26px; border-left: 4px solid var(--gold); font-size: 21px; color: var(--ink); }
.posts-list article { padding: 30px 0; border-bottom: 1px solid #e3e3e3; }
.posts-list h2 { font-size: 30px; margin-bottom: 8px; }
.posts-list h2 a { text-decoration: none; color: var(--ink); }
.posts-list h2 a:hover { color: #8a5f00; }
.posts-list .meta { color: var(--muted); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.pagination { margin-top: 40px; display: flex; gap: 8px; }
.pagination .page-numbers { padding: 8px 14px; border: 2px solid var(--ink); text-decoration: none; color: var(--ink); }
.pagination .current { background: var(--ink); color: var(--gold); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .practice-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  body { font-size: 17px; }
  .header-call { display: none; }
  .brand { width: 180px; }
  .strategic .wrap, .different .wrap, .contact-band .wrap, .nav-panel .wrap { grid-template-columns: 1fr; }
  .smart-head { grid-template-columns: 1fr; gap: 10px; }
  .smart-cols { grid-template-columns: 1fr; }
  .smart-cols article, .smart-cols article + article { padding: 30px 0; border-right: 0; border-bottom: 1px solid #2c2c31; }
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-shade::before { clip-path: polygon(0 0, 70% 0, 40% 100%, 0 100%); }
  .hero-shade::after  { clip-path: polygon(70% 0, 100% 0, 100% 100%, 40% 100%); }
  .hero.is-live .hero-shade::before { clip-path: polygon(0 0, 62% 0, 32% 100%, 0 100%); }
  .hero.is-live .hero-shade::after  { clip-path: polygon(80% 0, 100% 0, 100% 100%, 50% 100%); }
  .word-row { flex-wrap: wrap; }
  .tenacious::before { background: rgba(0,0,0,.72); }
}
@media (max-width: 560px) {
  .practice-grid { grid-template-columns: 1fr; }
  .practice-grid a { min-height: 120px; }
  .strategic-grid { grid-template-columns: 1fr; }
  .nav-practice ul { columns: 1; }
}
/* Touch: first tap colors + names the attorney, second tap opens the bio (see main.js) */
.slice.is-active { z-index: 5; }
.slice.is-active img { filter: none; transform: scale(1.035); }
.slice.is-active::before { transform: none; }
.slice.is-active .tag { opacity: 1; transform: translate(-50%, 0); }
.slice.is-active:first-child .tag, .slice.is-active:last-child .tag { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; transition-delay: 0s !important; }
  .hero-media, .tenacious-media { transform: none !important; }
}

/* ==========================================================================
   v1.1 — interior layouts, attorneys
   ========================================================================== */
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { color: #fff; }

/* Content + sidebar */
.entry--side .wrap { max-width: var(--wrap); display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(40px, 5vw, 80px); align-items: start; }
.entry-body { max-width: 780px; }
.entry-body > :first-child { margin-top: 0; }
.entry-body h2 { font-size: clamp(28px, 2.6vw, 36px); margin-top: 1.5em; }
.entry-body h3 { font-size: 24px; margin-top: 1.4em; }
.entry-body li { margin-bottom: .35em; }
.entry-body .callout, .entry .callout {
  border-left: 4px solid var(--gold); background: var(--paper-2); padding: 22px 26px; font-size: 19px; color: var(--ink);
}
.entry-body figure { margin: 1.5em 0; }
.entry-body iframe { width: 100%; max-width: 100%; border: 0; min-height: 380px; }
.entry-body table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 16px; }
.entry-body th, .entry-body td { border-bottom: 1px solid #ddd; padding: 10px 12px; text-align: left; vertical-align: top; }
.entry-side { position: sticky; top: 100px; display: grid; gap: 28px; }
.section-nav { border-top: 3px solid var(--ink); }
.section-nav h4 { font-size: 14px; letter-spacing: .26em; color: var(--muted); margin: 16px 0 6px; }
.section-nav ul { list-style: none; margin: 0; padding: 0; }
.section-nav ul ul { padding-left: 14px; border-left: 1px solid #e2e2e2; margin: 2px 0 6px; }
.section-nav a {
  display: block; padding: 9px 0; text-decoration: none; color: var(--text); font-size: 16px; line-height: 1.35;
  border-bottom: 1px solid #ececec; transition: color .25s, padding .3s var(--ease);
}
.section-nav ul ul a { font-size: 15px; padding: 7px 0; border-bottom: 0; }
.section-nav a:hover { color: #8a5f00; padding-left: 6px; }
.section-nav .section-nav__top > a { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 20px; color: var(--ink); }
.section-nav .current_page_item > a { color: var(--ink); font-weight: 600; box-shadow: inset 3px 0 0 var(--gold); padding-left: 12px; }
.side-cta { background: var(--ink); color: #c9c9ce; padding: 26px; }
.side-cta h4 { color: var(--gold); font-size: 15px; letter-spacing: .24em; }
.side-cta p { font-size: 16px; }
.side-cta__phone { display: block; font-family: var(--display); font-weight: 800; font-size: 34px; color: #fff; text-decoration: none; margin-bottom: 16px; }
.side-cta .btn { width: 100%; justify-content: center; }
.post-date { font-family: var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-size: 14px; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 24px; border-top: 1px solid #e3e3e3; font-size: 16px; }
.post-nav a { text-decoration: none; color: var(--ink); }
.post-nav a:hover { color: #8a5f00; }

/* Attorney cards — black & white until hovered */
.atty-band { background: var(--paper-2); padding: clamp(70px, 9vw, 120px) 0; overflow: hidden; }
.atty-band__head { margin-bottom: 40px; }
.atty-band__head h2 { font-size: clamp(36px, 4.4vw, 60px); margin: 0; }
.atty-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 26px; }
.atty-grid--scroll { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(200px, 220px); overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.atty-grid--scroll .atty-card { scroll-snap-align: start; }
.atty-card {
  position: relative; display: block; text-decoration: none; color: var(--ink); background: #fff;
  opacity: 0; transform: translateY(40px);
  transition: opacity .7s ease, transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 60ms);
}
.atty-grid.is-in .atty-card, .no-js .atty-card { opacity: 1; transform: none; }
.atty-card__img { display: block; aspect-ratio: 306 / 442; overflow: hidden; background: #e9e6e0; position: relative; }
.atty-card__img::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.atty-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter .5s ease, transform .8s var(--ease); }
.atty-card__meta { display: block; padding: 16px 44px 18px 16px; }
.atty-card__meta b { display: block; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 21px; line-height: 1.05; }
.atty-card__meta small { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; letter-spacing: .04em; }
.atty-card__go {
  position: absolute; right: 14px; bottom: 20px; width: 26px; height: 26px; border: 2px solid var(--ink);
  display: grid; place-items: center; font-size: 13px; transition: transform .4s var(--ease), background .3s, border-color .3s;
}
.atty-card:hover img, .atty-card:focus-visible img { filter: none; transform: scale(1.04); }
.atty-card:hover .atty-card__img::after, .atty-card:focus-visible .atty-card__img::after { transform: none; }
.atty-card:hover .atty-card__go { background: var(--gold); border-color: var(--gold); transform: rotate(-45deg); }

/* Attorney bio hero */
.atty-hero { position: relative; background: #000 url("../img/portland-hero.jpg") 58% 50% / cover; color: #fff; overflow: hidden; padding: 170px 0 0; }
.atty-hero::before, .atty-hero::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, var(--hero-shade)); }
.atty-hero::before { clip-path: polygon(0 0, 50% 0, 40% 100%, 0 100%); }
.atty-hero::after  { clip-path: polygon(57% 0, 100% 0, 100% 100%, 47% 100%); }
.atty-hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 340px); gap: 50px; align-items: end; }
.atty-hero__copy { padding-bottom: 70px; }
.atty-hero h1 { color: #fff; font-size: clamp(44px, 6vw, 86px); margin: 0 0 8px; }
.atty-hero__pos { font-family: var(--display); text-transform: uppercase; letter-spacing: .2em; color: var(--gold); font-size: 18px; margin-bottom: 30px; }
.atty-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.atty-hero__photo { margin: 0; position: relative; align-self: end; animation: rise 1.1s var(--ease) both .2s; }
.atty-hero__photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 3px solid var(--gold); z-index: -1; }
.atty-hero__photo img { width: 100%; display: block; background: #fff; }
@keyframes rise { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
.atty-bio h2 { font-size: 22px; letter-spacing: .14em; color: var(--ink); border-top: 3px solid var(--ink); padding-top: 14px; margin-top: 2em; }
.atty-bio ul { padding-left: 1.1em; }
.atty-bio li::marker { color: var(--gold); }

.team--page { padding-top: 40px; }
.team-intro { text-align: left; }

@media (max-width: 980px) {
  .entry--side .wrap { grid-template-columns: 1fr; }
  .entry-side { position: static; }
  .atty-hero .wrap { grid-template-columns: 1fr; }
  .atty-hero__copy { padding-bottom: 10px; }
  .atty-hero__photo { max-width: 300px; margin-bottom: -2px; }
}
@media (max-width: 560px) {
  .atty-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .atty-card__meta b { font-size: 17px; }
  .atty-card__meta { padding: 12px 34px 14px 12px; }
  .atty-card__go { width: 22px; height: 22px; right: 8px; bottom: 14px; }
}
@media (hover: none) {
  .atty-card img { filter: grayscale(.2); }
}
