@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Jost:wght@300;400;500;600&display=swap");

:root {
  --gold: #b5762a;
  --gold-soft: #e2c9a5;
  --ink: #1c1a17;
  --body: #4a4640;
  --bg: #f8f0dc;
  --panel: #fff;
  --line: #ece4d8;
    --serif: "Cormorant Garamond", Georgia, serif;
  /*--sans: "Jost", calibri, sans-serif;*/
  --sans: calibri;
  /*--serif: "Cormorant Garamond", Georgia, serif;*/
  /*--sans: "Jost", Helvetica, Arial, sans-serif;*/
  --wrap: 1180px;
  --ease: cubic-bezier(0.22, 0.8, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--body); font: 400 15px/1.75 var(--sans); -webkit-font-smoothing: antialiased; }
p { text-align: justify; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
i { display: inline-block; font-style: normal; }
h1, h2, h3, h4 { font-family: Calibri; color: var(--ink); font-weight: 600; line-height: 1.2; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.gold { color: var(--gold); }

/* header */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(248, 240, 220, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); transition: box-shadow 0.3s var(--ease); }
.site-head.is-stuck { box-shadow: 0 6px 24px rgba(28, 26, 23, 0.07); }
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 0px; max-width: var(--wrap); margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px;}
.brand img { width: 56px; height: auto; }
.brand b { font: 600 30px/1 var(--serif); color: var(--gold); display: block; }
.brand span { font: 400 10px/1 var(--sans); letter-spacing: 3.2px; color: var(--ink); display: block; }
.brand b { margin-bottom: 8px; letter-spacing: 0; }
.prose { max-width: 800px; margin: 0 auto; }
.prose p { text-align: justify; }
.prose p + p { margin-top: 18px; }
.nav { display: flex; gap: 34px; font-size: 14px; letter-spacing: 0.4px; }
.nav a { position: relative; padding-bottom: 6px; transition: color 0.25s var(--ease); }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--gold); transition: width 0.3s var(--ease); }
.nav a:hover, .nav a[aria-current] { color: var(--gold); }
.nav a:hover::after, .nav a[aria-current]::after { width: 100%; }
.nav-item { position: relative; }
.nav-item > a > .fa-chevron-down { font-size: 9px; margin-left: 5px; position: relative; top: -1px; transition: transform 0.25s var(--ease); }
.nav-item:hover > a > .fa-chevron-down { transform: rotate(180deg); }
.dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: #f6eedb; border: 1px solid var(--line); border-radius: 4px; padding: 10px; margin-top: 12px; display: flex; flex-direction: column; min-width: 270px; box-shadow: 0 18px 40px rgba(28, 26, 23, 0.12); z-index: 60; opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(6px); transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { padding: 9px 14px; font-size: 13.5px; border-radius: 3px; white-space: nowrap; }
.dropdown a::after { display: none; }
.dropdown a:hover { background: var(--gold); color: #fff; }
.burger { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 0; border-radius: 4px; font-size: 22px; color: var(--ink); cursor: pointer; transition: background 0.25s var(--ease), color 0.25s var(--ease); }
.burger:hover, .burger[aria-expanded="true"] { color: var(--gold); background: rgba(181, 118, 42, 0.08); }

/* sections */
.section { padding: 82px 0px; }
.section:first-child {
    padding: 20px 0 82px 0;
}
.section + .section { border-top: 1px solid var(--line); }
.title { text-align: center; font-size: clamp(38px, 5vw, 56px); }
.title + p { text-align: center; max-width: 640px; margin: 14px auto 0; }
.rule { width: 62px; height: 2px; background: var(--gold); margin: 18px auto 46px; }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 18px; letter-spacing: 5px; font-size: 13px; color: var(--ink); margin-bottom: 42px; }
.eyebrow::before, .eyebrow::after { content: ""; width: 110px; height: 1px; background: var(--gold-soft); }
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.grid-g3-center { display: flex; flex-wrap: wrap; justify-content: center; }
.grid-g3-center > * { flex: 0 1 calc((100% - 48px) / 3); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g5 { grid-template-columns: repeat(5, 1fr); }
.g6 { grid-template-columns: repeat(6, 1fr); }
.grid-people { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.grid-people .person { width: 150px; }
#partners.grid-people .person { width: 190px; }
#partners.grid-people .person img { width: 140px; height: 140px; }
#people.grid-people { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; justify-content: stretch; }
#people.grid-people .person { width: 100%; }
@media (max-width: 980px) {
  #people.grid-people { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  #people.grid-people { grid-template-columns: repeat(2, 1fr); }
}

.card {border: 1px solid var(--line); border-radius: 4px; padding: 30px; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease); }
.card:hover { transform: translateY(-6px); border-color: var(--gold-soft); box-shadow: 0 18px 40px rgba(28, 26, 23, 0.08); }
.card h3 { font-size: 25px; margin-bottom: 12px; }
.card h3::after { content: ""; display: block; width: 34px; height: 2px; background: var(--gold); margin-top: 10px; }
.card p { font-size: 13.5px; }
.card > i { font-size: 26px; color: var(--gold); margin-bottom: 18px; }

.icon-tile { text-align: center; }
.icon-tile > i, .icon-tile > svg { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 16px; font-size: 24px; border-radius: 50%; background: #1c1a1705; color: var(--gold); transition: transform 0.4s var(--ease); }
.card:hover > i, .icon-tile:hover > i { transform: scale(1.08);}
.icon-tile h4 { font-size: 19px; }
.icon-tile p { font-size: 13px; margin-top: 8px; }

.link { display: inline-flex; align-items: center; gap: 10px; color: var(--gold); font-size: 13.5px; letter-spacing: 0.4px; margin-top: 20px; }
.link::after { content: "→"; transition: transform 0.3s var(--ease); }
.link:hover::after { transform: translateX(7px); }
.btn { display: inline-flex; align-items: center; gap: 12px; background: var(--gold); color: #fff; padding: 13px 28px; border: 0; border-radius: 3px; font: 500 14px var(--sans); letter-spacing: 0.6px; cursor: pointer; transition: background 0.3s var(--ease), transform 0.3s var(--ease); }
.btn:hover { background: #99601f; transform: translateY(-2px); }

/* hero */
.hero-banner { position: relative; min-height: 640px; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-banner-media { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -1; }
.hero-banner-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--bg) 10%, rgba(248, 240, 220, 0.82) 26%, rgba(248, 240, 220, 0.55) 58%, rgba(248, 240, 220, 0.12) 78%, rgba(248, 240, 220, 0.05) 100%), linear-gradient(0deg, rgba(248, 240, 220, 0.5), rgba(248, 240, 220, 0) 40%);}
.hero-banner-inner { position: relative; width: 100%; padding: 100px 24px 64px; }
.hero-banner-copy { max-width: 100%; }
.hero-banner-copy h1 { font-size: clamp(42px, 6.4vw, 84px); font-weight: 700; letter-spacing: -0.5px; }
.hero-banner-panel { margin: 0px 0 0 auto; max-width: 480px; background: rgba(248, 240, 220, 0.86); backdrop-filter: blur(6px); border-left: 3px solid var(--gold); border-radius: 4px; padding: 28px 32px; text-align: left; }
.hero-banner-panel p { font-size: 14px; margin-bottom: 4px; }
.hero-banner-panel .link { margin-top: 14px; }

/* people */
.person { text-align: center; padding: 22px 12px; width: 100%; background: none; font: inherit; color: inherit; cursor: pointer; }
.person img { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; margin: 0 auto 16px; transition: transform 0.4s var(--ease); }
.person:hover img { transform: scale(1.05); }
.person h4 { font-size: 19px; }
.person span { display: block; color: var(--gold); font-size: 13px; margin-top: 4px; }

/* person modal */
.person-modal-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(28, 26, 23, 0.72); display: none; align-items: center; justify-content: center; padding: 24px; }
.person-modal-overlay.open { display: flex; }
.person-modal { position: relative; background: var(--panel); border-radius: 6px; max-width: 760px; width: 100%; max-height: 88vh; overflow-y: auto; padding: 44px; }
.person-modal-close { position: absolute; top: 16px; right: 16px; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; background: none; font-size: 20px; line-height: 1; color: var(--ink); cursor: pointer; transition: border-color 0.3s var(--ease), color 0.3s var(--ease); z-index: 1; }
.person-modal-close:hover { color: var(--gold); border-color: var(--gold-soft); }
.person-modal-content { display: flex; align-items: center; gap: 26px; }
.person-modal-media { flex: none; }
.person-modal-media img { width: 180px; height: 200px; border: 1px solid #ccc; object-fit: cover; }
.person-modal-body { text-align: left; padding-top: 4px; }
.person-modal-body h3 { font-size: 24px; margin-bottom: 6px; }
.person-modal-body .gold { display: block; font: 500 12px var(--sans); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.person-modal-body p { font-size: 14px; }
@media (max-width: 520px) {
  .person-modal-content { flex-direction: column; align-items: flex-start; }
}

/* forms */
.form { background: #1c1a1705; border: 1px solid var(--line); border-radius: 4px; padding: 34px; max-width: 900px; margin: 0 auto; }
.form h4 { font-family: var(--sans); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 26px; border: 1px solid var(--line); }
.tabs button { background: none; border: 0; padding: 13px; font: 500 14px var(--sans); color: var(--body); cursor: pointer; transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.tabs button[aria-selected="true"] { background: var(--gold); color: #fff; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13.5px; color: var(--ink); margin-bottom: 8px; }
.field > label:first-child::after { content: " *"; color: #c0392b; }
.field > label.opt::after { content: ""; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 3px; background: var(--bg); font: 400 14px var(--sans); color: var(--ink); transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.field :focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(181, 118, 42, 0.12); }
.field textarea { min-height: 96px; resize: vertical; }
.drop { display: flex; align-items: center; gap: 16px; border: 1px dashed var(--gold-soft); border-radius: 3px; padding: 18px; color: var(--body); font-size: 13.5px; cursor: pointer; transition: background 0.3s var(--ease); }
.drop:hover { background: #faf5ee; }
.drop i { font-size: 20px; color: var(--gold); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 12.5px; margin: 8px 0 22px; }
.form-foot { display: flex; justify-content: flex-end; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-msg { font-size: 13.5px; margin-top: 4px; min-height: 1.2em; }
.form-msg.success { color: #2e7d32; }
.form-msg.error { color: #c0392b; }
.btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

/* footer */
.site-foot {  border-top: 1px solid var(--line); padding: 54px 0 0; font-size: 13.5px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 0.75fr 1.3fr 1.25fr; gap: 40px; }
.foot-grid h5 { font: 500 12px var(--sans); letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.foot-grid li { list-style: none; margin-bottom: 10px; }
.foot-grid a:hover { color: var(--gold); }
.foot-contact li { display: flex; gap: 12px; align-items: flex-start; }
.foot-contact i { font-size: 15px; color: var(--gold); flex: none; margin-top: 5px; width: 17px; text-align: center; }
.socials { display: flex; gap: 16px; margin-top: 20px; color: var(--gold); }
.logo-row { align-items: center; }
.logo-mark { display: flex; align-items: center; justify-content: center; text-align: center; height: 64px; font: 500 13.5px var(--sans); letter-spacing: 0.4px; color: var(--body); opacity: 0.6; filter: grayscale(1); transition: opacity 0.3s var(--ease); 
    border: 1px solid #ddd;
    border-radius: 10px;
}
.logo-mark:hover { opacity: 1; }
.logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logo-cell { display: flex; align-items: center; justify-content: center; height: 110px; padding: 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); opacity: 0.92; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.logo-cell:hover { opacity: 1; transform: translateY(-2px); }
.logo-cell img { max-width: 100%; width: auto; height: auto; object-fit: contain; }
.socials i { font-size: 18px; transition: transform 0.3s var(--ease); }
.socials a:hover i { transform: translateY(-3px); }
.foot-bar { display: flex; justify-content: center; text-align: center; gap: 20px; border-top: 1px solid var(--line); margin-top: 46px; padding: 20px 0; font-size: 12.5px; font-family:"Jost", Helvetica, Arial, sans-serif; }

/* motion */
[data-rise] { opacity: 0; transform: translateY(46px) scale(0.985); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); will-change: opacity, transform; }
[data-rise].in { opacity: 1; transform: none; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.35), transparent); transform: translateX(-120%); transition: transform 0.6s var(--ease); }
.btn { position: relative; overflow: hidden; }
.btn:hover::after { transform: translateX(120%); }
.to-top { position: fixed; right: 26px; bottom: 26px; z-index: 60; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--gold); color: #fff; cursor: pointer; opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity 0.35s var(--ease), transform 0.35s var(--ease); }
.to-top.on { opacity: 1; transform: none; pointer-events: auto; }
@media (prefers-reduced-motion: reduce) { [data-rise] { opacity: 1; transform: none; transition: none; } }

@media (max-width: 980px) {
  .g6, .g5 { grid-template-columns: repeat(3, 1fr); }
  .g4, .g3 { grid-template-columns: repeat(2, 1fr); }
  .grid-g3-center > * { flex: 0 1 calc((100% - 24px) / 2); }
  .logo-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav { position: absolute; inset: 100% 0 auto; flex-direction: column; gap: 0; background: #f6eedb; box-shadow: 0 18px 40px rgba(28, 26, 23, 0.12); border-bottom: 1px solid var(--line); padding: 8px 24px; display: none; max-height: 80vh; overflow-y: auto; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; }
  .nav > * { border-top: 1px solid rgba(28, 26, 23, 0.08); }
  .nav > *:first-child { border-top: 0; }
  .burger { display: flex; }
  .g6, .g5, .g4, .g3, .g2, .foot-grid { grid-template-columns: 1fr; }
  .grid-g3-center > * { flex: 0 1 100%; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-banner { min-height: 520px; }
  .hero-banner-inner { padding: 70px 20px 44px; }
  .hero-banner-panel { max-width: 100%; margin-left: 0; padding: 22px 22px; }
  .foot-bar { flex-direction: column; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; margin: 0 0 6px 16px; padding: 0; min-width: 0; }
  .dropdown a { padding: 9px 0; }
  .dropdown a:hover { background: transparent; color: var(--gold); }
}

/* practice area detail pages */
.service-groups .card { text-align: left; }
.service-group h4 { font-size: 17px; margin-bottom: 14px; }
.service-group h4::after { content: ""; display: block; width: 30px; height: 2px; background: var(--gold); margin-top: 8px; }
.service-group ul { list-style: none; }
.service-group li { position: relative; font-size: 13px; padding-left: 16px; margin-bottom: 9px; line-height: 1.5; }
.service-group li::before { content: "\2013"; position: absolute; left: 0; color: var(--gold); }

/* disclaimer */
.disclaimer-lock { overflow: hidden; }
.disclaimer-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(28, 26, 23, 0.72); display: flex; align-items: center; justify-content: center; padding: 24px; }
.disclaimer-box { background: var(--panel); border-radius: 6px; max-width: 620px; max-height: 88vh; overflow-y: auto; padding: 44px; text-align: center; }
.disclaimer-box h3 { font-size: 30px; margin-bottom: 18px; }
.disclaimer-box > p:first-of-type { margin-bottom: 22px; }
.disclaimer-points { text-align: left; list-style: disc; margin: 0 0 22px; padding-left: 15px; display: flex; flex-direction: column; gap: 14px; }
.disclaimer-points li { font-size: 13.5px; line-height: 1.65; text-align: justify; padding-left: 5px;}
.disclaimer-box > p:last-of-type { margin-bottom: 24px; font-size: 13px; }
.disclaimer-box a:hover { color: var(--gold); }

/* contact */
.map { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; margin-bottom: 46px; }
.map iframe { display: block; width: 100%; height: 380px; border: 0; filter: saturate(0.85); }
.info li { list-style: none; display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; font-size: 13.5px; }
.info i { color: var(--gold); font-size: 15px; margin-top: 5px; width: 18px; text-align: center; }
.contact-strip { text-align: center; font-size: 14px; margin: -18px auto 46px; color: var(--ink); }
.contact-strip i { color: var(--gold); margin-right: 6px; }
.contact-strip a:hover { color: var(--gold); }
.office-card .addr { font-size: 13.5px; margin: 4px 0 18px; min-height: 62px; }
.map-sm { margin-bottom: 0; }
.map-sm iframe { height: 190px; }
