/* Lebenbom Law — site styles */

:root {
  --ink: #12151c;
  --ink-2: #1c212b;
  --ink-3: #2a3140;
  --paper: #f2f3f5;
  --paper-2: #e4e6ea;
  --mist: #9aa1ad;
  --text: #1e2430;
  --muted: #5c6472;
  --teal: #1a5a55;
  --teal-2: #247069;
  --brass: #b08d52;
  --brass-soft: #c9a86a;
  --max: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: "Outfit", sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal-2);
}

h1, h2, h3 {
  font-family: "Fraunces", serif;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* ——— Header ——— */

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  padding: 1.25rem 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  font-family: "Fraunces", serif;
  font-size: clamp(1.15rem, 2.1vw, 1.45rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #fff;
  text-decoration: none;
  line-height: 1.1;
}

.brand span {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-soft);
  margin-top: 0.35rem;
}

.nav {
  display: flex;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: var(--brass-soft);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: #fff;
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  padding: 0.45rem 0.7rem;
  font: inherit;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

/* ——— Hero ——— */

.hero {
  position: relative;
  min-height: min(100vh, 820px);
  display: grid;
  align-items: end;
  color: #fff;
  background-color: var(--ink);
  background-image:
    linear-gradient(165deg, rgba(18, 21, 28, 0.45) 0%, rgba(18, 21, 28, 0.72) 45%, rgba(18, 21, 28, 0.92) 100%),
    url("../images/office.jpg");
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  overflow: hidden;
  padding: 8rem 0 4.5rem;
}

.hero::before {
  content: none;
}

.hero::after {
  content: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 38rem;
  padding-bottom: 1rem;
}

.hero__brand {
  font-family: "Fraunces", serif;
  font-size: clamp(2.6rem, 8vw, 5.25rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 1.25rem;
  color: #fff;
  max-width: 12ch;
}

.hero__headline {
  font-family: "Fraunces", serif;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 400;
  font-style: italic;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.hero__lede {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  max-width: 28rem;
  margin-bottom: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.45rem;
  font-family: "Outfit", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.btn--primary {
  background: var(--brass);
  color: var(--ink);
}

.btn--primary:hover {
  background: var(--brass-soft);
  color: var(--ink);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
  border-color: #fff;
  color: #fff;
}

.btn--solid {
  background: var(--teal);
  color: #fff;
}

.btn--solid:hover {
  background: var(--teal-2);
  color: #fff;
}

a.btn,
a.btn:hover,
.prose a.btn,
.prose a.btn:hover {
  text-decoration: none;
}

a.btn--solid,
a.btn--solid:hover,
.prose a.btn--solid,
.prose a.btn--solid:hover {
  color: #fff;
}

a.btn--primary,
a.btn--primary:hover,
.prose a.btn--primary,
.prose a.btn--primary:hover {
  color: var(--ink);
}

a.btn--ghost,
a.btn--ghost:hover {
  color: #fff;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  animation: rise 0.9s var(--ease) forwards;
}

.reveal-delay-1 { animation-delay: 0.12s; }
.reveal-delay-2 { animation-delay: 0.24s; }
.reveal-delay-3 { animation-delay: 0.36s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ——— Sections ——— */

.section {
  padding: 5rem 0;
}

.section--ink {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
}

.section--ink h2,
.section--ink h3 {
  color: #fff;
}

.section--panel {
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}

.section__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.85rem;
}

.section--ink .section__label {
  color: var(--brass-soft);
}

.section__title {
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  max-width: 18ch;
  margin-bottom: 1rem;
}

.section__text {
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.section--ink .section__text {
  color: rgba(255, 255, 255, 0.68);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.figure {
  position: relative;
}

.figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
  transition: transform 1.2s var(--ease);
}

.figure:hover img {
  transform: scale(1.03);
}

.figure__frame {
  overflow: hidden;
  background: var(--ink-2);
  box-shadow: 0 24px 60px rgba(18, 21, 28, 0.18);
}

.figure__caption {
  margin-top: 0.85rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.figure__caption a {
  color: var(--teal);
}

/* Statement band */
.statement {
  padding: 4.5rem 0;
  background:
    linear-gradient(120deg, var(--teal) 0%, #154844 55%, var(--ink-2) 100%);
  color: #fff;
  text-align: left;
}

.statement__quote {
  font-family: "Fraunces", serif;
  font-size: clamp(1.6rem, 3.5vw, 2.35rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.35;
  max-width: 22ch;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.statement__meta {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 32rem;
}

/* Contact strip */
.contact-band {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.contact-list li {
  padding: 0.85rem 0;
  border-top: 1px solid var(--paper-2);
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
}

.contact-list strong {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
  font-weight: 500;
}

.contact-list a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.contact-list a:hover {
  color: var(--teal);
}

.hours {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 2rem 2.1rem;
}

.hours h3 {
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.hours dl {
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.hours dt {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-soft);
}

.hours dd {
  margin: 0 0 0.5rem;
}

/* Page hero (inner) */
.page-hero {
  background-color: var(--ink);
  background-image:
    linear-gradient(160deg, rgba(18, 21, 28, 0.55) 0%, rgba(18, 21, 28, 0.78) 55%, rgba(18, 21, 28, 0.9) 100%),
    url("../images/office.jpg");
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
  color: #fff;
  padding: 8.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: none;
}

.page-hero h1 {
  position: relative;
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  margin: 0 0 0.5rem;
}

.page-hero p {
  position: relative;
  color: rgba(255, 255, 255, 0.7);
  max-width: 34rem;
  margin: 0;
}

/* Prose */
.prose {
  max-width: 40rem;
}

.prose h2 {
  font-size: 1.75rem;
  margin-top: 2rem;
}

.prose h3 {
  font-size: 1.25rem;
  margin: 1.75rem 0 0.5rem;
  color: var(--teal);
}

.prose a {
  color: var(--teal);
}

/* About bio */
.bio {
  display: grid;
  grid-template-columns: minmax(200px, 260px) 1fr;
  gap: 3rem;
  align-items: start;
}

.bio__portrait {
  background: var(--ink-2);
  overflow: hidden;
}

.bio__portrait img {
  width: 100%;
  aspect-ratio: 250 / 335;
  object-fit: cover;
  object-position: center top;
}

.bio__name {
  font-family: "Fraunces", serif;
  font-size: clamp(1.85rem, 3.5vw, 2.4rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.bio__credentials {
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 1.75rem;
  max-width: 42rem;
}

.bio .prose {
  max-width: 42rem;
}

/* Legal pages */
.legal {
  max-width: 46rem;
}

.legal h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.65rem;
}

.legal p,
.legal li {
  color: var(--muted);
  font-size: 0.98rem;
}

.legal ul {
  padding-left: 1.2rem;
  margin: 0 0 1em;
}

.legal li {
  margin-bottom: 0.4rem;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.55);
  padding: 2.25rem 0;
  font-size: 0.9rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  align-items: baseline;
}

.site-footer .brand {
  font-size: 1.2rem;
}

.site-footer .brand span {
  color: var(--mist);
}

.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  align-items: center;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

/* Force light header chrome over photo heroes */
.site-header .brand,
.site-header .brand:hover {
  color: #fff;
  text-decoration: none;
}

.site-header .nav a,
.site-header .nav a:hover,
.site-header .nav a[aria-current="page"] {
  color: #fff;
}

/* ——— Responsive ——— */

@media (max-width: 860px) {
  .split,
  .contact-band,
  .bio {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .bio__portrait {
    max-width: 260px;
  }

  .hero {
    min-height: auto;
    padding: 7.5rem 0 3.5rem;
    align-items: center;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1.25rem;
    flex-direction: column;
    gap: 0;
    background: var(--ink-2);
    padding: 0.5rem 0;
    min-width: 11rem;
    border: 1px solid var(--ink-3);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 1.1rem;
  }

  .nav a::after {
    display: none;
  }

  .site-header__inner {
    position: relative;
  }

  .contact-list li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .figure img,
  .btn,
  .nav a::after {
    transition: none;
  }
}
