:root {
  --black: #080808;
  --black-soft: #111111;
  --charcoal: #1a1a1a;
  --gold: #c7a156;
  --gold-light: #ead39f;
  --gold-dark: #92702e;
  --cream: #f2eee5;
  --cream-light: #faf8f3;
  --white: #ffffff;
  --text: #171717;
  --muted: #66635d;
  --border-dark: rgba(255, 255, 255, 0.16);
  --border-light: #d8d2c7;
  --max-width: 1320px;

  --serif:
    "Iowan Old Style",
    "Palatino Linotype",
    "Book Antiqua",
    Palatino,
    Georgia,
    serif;

  --sans:
    Inter,
    "Helvetica Neue",
    Helvetica,
    Arial,
    sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--cream-light);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  z-index: 10000;
  top: 1rem;
  left: 1rem;
  padding: 0.8rem 1rem;
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* Top information bar */

.top-bar {
  position: relative;
  z-index: 1100;
  background: var(--black);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 3rem), var(--max-width));
  min-height: 38px;
  margin: 0 auto;
}

.top-bar p {
  margin: 0;
}

.top-bar a {
  color: var(--gold-light);
  text-decoration: none;
}

.top-bar a:hover,
.top-bar a:focus-visible {
  color: var(--white);
}

/* Header */

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(250, 248, 243, 0.97);
  backdrop-filter: blur(14px);
  transition:
    box-shadow 180ms ease,
    background 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  width: min(calc(100% - 3rem), var(--max-width));
  min-height: 92px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.8rem;
  color: var(--black);
  text-decoration: none;
}

.brand img {
  display: block;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  max-width: none;
  object-fit: contain;
  object-position: center;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 0.92;
  text-transform: uppercase;
}

.brand-copy strong {
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: 0.08em;
}

.brand-copy span {
  margin-top: 0.38rem;
  color: var(--gold-dark);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.32em;
}

.main-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 2.1vw, 2rem);
  margin-right: auto;
  margin-left: auto;
}

.main-navigation a {
  position: relative;
  padding: 2.15rem 0;
  color: #31302d;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-decoration: none;
}

.main-navigation a::after {
  position: absolute;
  right: 0;
  bottom: 1.65rem;
  left: 0;
  height: 1px;
  background: var(--gold-dark);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-navigation a:hover::after,
.main-navigation a:focus-visible::after,
.main-navigation a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  flex-shrink: 0;
  padding: 0.9rem 1.15rem;
  border: 1px solid var(--black);
  background: var(--black);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  border-color: var(--gold-dark);
  background: var(--gold);
  color: var(--black);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--black);
  background: transparent;
  color: var(--black);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 78% 45%,
      rgba(199, 161, 86, 0.11),
      transparent 31%
    ),
    linear-gradient(
      115deg,
      #050505 0%,
      #0a0a0a 60%,
      #111111 100%
    );
  color: var(--white);
}

.hero::before {
  position: absolute;
  top: 0;
  right: 8%;
  width: 1px;
  height: 100%;
  background: rgba(199, 161, 86, 0.25);
  content: "";
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.17fr) minmax(300px, 0.83fr);
  align-items: center;
  width: min(calc(100% - 3rem), var(--max-width));
  min-height: 700px;
  margin: 0 auto;
  padding: clamp(5.5rem, 9vw, 9rem) 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.section-label {
  margin: 0 0 1.2rem;
  color: var(--gold-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero .section-label,
.practice-card-dark .section-label,
.contact-band .section-label {
  color: var(--gold-light);
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.03;
}

h1 {
  max-width: 930px;
  margin-bottom: 2rem;
  font-size: clamp(3.6rem, 7vw, 7rem);
  letter-spacing: -0.05em;
}

h1 span {
  display: block;
  color: var(--gold-light);
}

h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.7rem, 5vw, 5.2rem);
  letter-spacing: -0.045em;
}

h3 {
  font-size: clamp(2rem, 3.5vw, 3.6rem);
  letter-spacing: -0.035em;
}

.hero-introduction {
  max-width: 670px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.9rem 1.35rem;
  border: 1px solid transparent;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-gold {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--black);
}

.button-gold:hover,
.button-gold:focus-visible {
  border-color: var(--gold-light);
  background: var(--gold-light);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link span {
  font-size: 1.1rem;
  transition: transform 160ms ease;
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translateX(5px);
}

.light-link {
  color: var(--white);
}

.dark-link {
  color: var(--black);
}

.hero-logo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.hero-logo::before {
  position: absolute;
  width: min(82%, 500px);
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(199, 161, 86, 0.2);
  border-radius: 50%;
  content: "";
}

.hero-logo img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(100%, 550px);
  height: auto;
  max-height: 550px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  filter:
    drop-shadow(0 35px 45px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 22px rgba(199, 161, 86, 0.08));
}

.hero-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(calc(100% - 3rem), var(--max-width));
  margin: 0 auto;
  border-top: 1px solid var(--border-dark);
}

.hero-footer div {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 100px;
  padding: 1.3rem 1.5rem;
}

.hero-footer div + div {
  border-left: 1px solid var(--border-dark);
}

.hero-footer-number {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.6rem;
}

.hero-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* General content sections */

.statement-section,
.practice-section,
.approach-section,
.insights-section {
  padding:
    clamp(5rem, 9vw, 9rem)
    max(1.5rem, calc((100% - var(--max-width)) / 2));
}

.statement-section {
  background: var(--cream);
}

.statement-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1.65fr);
  gap: 4rem;
}

.statement-grid h2 {
  max-width: 1050px;
}

.large-copy {
  max-width: 800px;
  margin: 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.55;
}

/* Practice areas */

.practice-section {
  background: var(--cream-light);
}

.section-heading {
  max-width: 980px;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.section-heading h2 {
  margin-bottom: 0;
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.practice-card {
  position: relative;
  min-height: 670px;
  padding: clamp(2rem, 5vw, 4.5rem);
}

.practice-card-dark {
  background: var(--black);
  color: var(--white);
}

.practice-card-light {
  border: 1px solid var(--border-light);
  background: var(--cream);
  color: var(--black);
}

.practice-number {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: var(--gold);
  font-family: var(--serif);
  font-size: 1.8rem;
}

.practice-content {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  height: 100%;
  padding-top: 3.5rem;
}

.practice-card h3 {
  max-width: 520px;
}

.practice-card-dark h3 {
  color: var(--white);
}

.practice-card p:not(.section-label),
.practice-card li {
  max-width: 600px;
  color: var(--muted);
  font-size: 1rem;
}

.practice-card-dark p:not(.section-label),
.practice-card-dark li {
  color: rgba(255, 255, 255, 0.68);
}

.practice-card ul {
  width: 100%;
  margin: 1.5rem 0 2.5rem;
  padding: 0;
  list-style: none;
}

.practice-card li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border-light);
}

.practice-card-dark li {
  border-bottom-color: var(--border-dark);
}

.practice-card .text-link {
  margin-top: auto;
}

/* Approach */

.approach-section {
  background: var(--white);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.approach-grid article {
  padding: 3rem 2.5rem 3.5rem;
}

.approach-grid article + article {
  border-left: 1px solid var(--border-light);
}

.approach-grid span {
  display: block;
  margin-bottom: 2rem;
  color: var(--gold-dark);
  font-family: var(--serif);
  font-size: 1.5rem;
}

.approach-grid h3 {
  margin-bottom: 1.2rem;
  font-size: clamp(1.7rem, 2.4vw, 2.5rem);
}

.approach-grid p {
  margin: 0;
  color: var(--muted);
}

/* Firm feature */

.firm-section {
  display: grid;
  grid-template-columns: minmax(330px, 0.85fr) minmax(0, 1.15fr);
  min-height: 720px;
  background: var(--cream);
}

.firm-logo-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 5rem);
  background:
    radial-gradient(
      circle,
      rgba(199, 161, 86, 0.12),
      transparent 52%
    ),
    var(--black);
}

.firm-logo-panel img {
  display: block;
  width: min(100%, 520px);
  height: auto;
  max-height: 520px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.5));
}

.firm-content {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding:
    clamp(4rem, 8vw, 8rem)
    clamp(2rem, 7vw, 7rem);
}

.firm-content h2 {
  max-width: 760px;
}

.firm-content .text-link {
  margin-top: 2.5rem;
}

/* Insights */

.insights-section {
  background: var(--cream-light);
}

.section-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: none;
  gap: 3rem;
}

.section-heading-row > div {
  max-width: 900px;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-light);
}

.insight-card {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  min-height: 420px;
  padding: 2.5rem;
  border-bottom: 1px solid var(--border-light);
}

.insight-card + .insight-card {
  border-left: 1px solid var(--border-light);
}

.insight-category {
  margin: 0 0 3rem;
  color: var(--gold-dark);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.insight-card h3 {
  margin-bottom: 1.3rem;
  font-size: clamp(1.7rem, 2.5vw, 2.5rem);
}

.insight-card > p:not(.insight-category) {
  margin: 0 0 2rem;
  color: var(--muted);
}

.insight-card a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: auto;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

.insight-card a span {
  transition: transform 160ms ease;
}

.insight-card a:hover span,
.insight-card a:focus-visible span {
  transform: translateX(5px);
}

/* Contact band */

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  padding:
    clamp(4rem, 8vw, 7rem)
    max(1.5rem, calc((100% - var(--max-width)) / 2));
  background: var(--black);
  color: var(--white);
}

.contact-band h2 {
  max-width: 850px;
  margin-bottom: 0;
}

.contact-band-actions {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  min-width: 260px;
  gap: 1rem;
}

.contact-band-actions > a:not(.button) {
  color: var(--gold-light);
  font-size: 0.9rem;
  text-decoration: none;
}

.contact-band-actions > a:not(.button):hover,
.contact-band-actions > a:not(.button):focus-visible {
  color: var(--white);
}

/* Footer */

.site-footer {
  padding:
    clamp(4rem, 7vw, 6.5rem)
    max(1.5rem, calc((100% - var(--max-width)) / 2))
    2rem;
  background: #030303;
  color: var(--white);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid var(--border-dark);
}

.brand-footer {
  color: var(--white);
}

.brand-footer img {
  display: block;
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  max-width: none;
  object-fit: contain;
  object-position: center;
}

.footer-brand > p {
  max-width: 300px;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

.footer-column {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-column h2 {
  margin-bottom: 0.7rem;
  color: var(--gold-light);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-column a,
.footer-column p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.85rem;
  text-decoration: none;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--white);
}

.footer-legal {
  padding-top: 2rem;
}

.footer-legal p {
  max-width: 1050px;
  margin: 0.5rem 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.72rem;
  line-height: 1.7;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

/* Tablet */

@media (max-width: 1120px) {
  .header-cta {
    display: none;
  }

  .main-navigation {
    margin-right: 0;
  }

  .footer-top {
    grid-template-columns: 1.5fr repeat(2, 1fr);
  }
}

@media (max-width: 940px) {
  .top-bar {
    display: none;
  }

  .header-inner {
    min-height: 78px;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-navigation {
    position: fixed;
    top: 78px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 2rem 1.5rem 4rem;
    overflow-y: auto;
    background: var(--cream-light);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-15px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .main-navigation.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-navigation a {
    width: 100%;
    padding: 1.2rem 0;
    border-bottom: 1px solid var(--border-light);
    font-family: var(--serif);
    font-size: 2rem;
    font-weight: 400;
  }

  .main-navigation a::after {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 3rem;
  }

  .hero-logo {
    margin-top: 3rem;
  }

  .hero-logo img {
    width: min(82vw, 480px);
    height: auto;
    max-height: 480px;
  }

  .statement-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .practice-grid {
    grid-template-columns: 1fr;
  }

  .practice-card {
    min-height: 600px;
  }

  .approach-grid {
    grid-template-columns: 1fr;
  }

  .approach-grid article + article {
    border-top: 1px solid var(--border-light);
    border-left: 0;
  }

  .firm-section {
    grid-template-columns: 1fr;
  }

  .firm-logo-panel {
    min-height: 520px;
  }

  .firm-logo-panel img {
    width: min(82vw, 480px);
    height: auto;
    max-height: 480px;
  }

  .insights-grid {
    grid-template-columns: 1fr;
  }

  .insight-card {
    min-height: 340px;
  }

  .insight-card + .insight-card {
    border-left: 0;
  }

  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Mobile */

@media (max-width: 720px) {
  .header-inner {
    width: min(calc(100% - 2rem), var(--max-width));
  }

  .brand-copy strong {
    font-size: 1.15rem;
  }

  .brand-copy span {
    font-size: 0.53rem;
  }

  .hero-inner,
  .hero-footer,
  .top-bar-inner {
    width: min(calc(100% - 2rem), var(--max-width));
  }

  h1 {
    font-size: clamp(3.1rem, 15vw, 5rem);
  }

  h2 {
    font-size: clamp(2.5rem, 12vw, 4rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .text-link {
    align-self: flex-start;
  }

  .hero-logo img {
    width: min(88vw, 410px);
    height: auto;
    max-height: 410px;
  }

  .hero-footer {
    grid-template-columns: 1fr;
  }

  .hero-footer div {
    min-height: 75px;
    padding-right: 0;
    padding-left: 0;
  }

  .hero-footer div + div {
    border-top: 1px solid var(--border-dark);
    border-left: 0;
  }

  .practice-card {
    min-height: auto;
    padding: 2rem 1.5rem 3rem;
  }

  .practice-content {
    min-height: 560px;
  }

  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .firm-logo-panel {
    min-height: 420px;
  }

  .firm-logo-panel img {
    width: min(86vw, 390px);
    height: auto;
    max-height: 390px;
  }

  .contact-band-actions,
  .contact-band-actions .button {
    width: 100%;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .brand-copy {
    display: none;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
