@import url('https://fonts.googleapis.com/css2?family=Anton&family=Cinzel:wght@400&family=Montserrat:wght@700;800&display=swap');

@font-face {
  font-family: 'DIN Next';
  src: url('/fonts/din-next-light.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --navy: #002e5d;
  --navy-deep: #13204d;
  --gold: #f0bb0c;
  --tan: #a69374;
  --tan-light: #c4b8a6;
  --ink: #4d4b4b;
  --w: 980px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DIN Next', 'Barlow Semi Condensed', 'Arial Narrow', sans-serif;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
  padding-top: 120px;
}
a { color: inherit; }
img { display: block; }

.wrap { position: relative; width: var(--w); height: 100%; margin: 0 auto; }
.abs { position: absolute; }
.center { text-align: center; }

/* ---------- Header ---------- */
header.site {
  position: fixed; top: 0; left: 0; right: 0; height: 120px;
  background: var(--navy); z-index: 100;
}
header.site .wrap { height: 120px; }
header.site .logo { left: 0; top: 1px; width: 135px; height: 116px; }
header.site .logo img { width: 135px; height: 116px; object-fit: cover; }
header.site nav a {
  position: absolute; top: 50px; font-size: 22px; line-height: 25px;
  color: #fff; text-decoration: none; white-space: nowrap;
}
header.site nav a.active, header.site nav a:hover { color: var(--tan); }
header.site .touch {
  left: 725px; top: 17px; width: 225px; text-align: center;
  font-size: 36px; line-height: 42px; font-weight: 700; color: var(--gold);
  text-decoration: none;
}
header.site .fb { left: 990px; top: 31px; width: 50px; height: 50px; }
header.site .fb img { width: 50px; height: 50px; }

/* ---------- Home: hero ---------- */
.hero { position: relative; height: 804px; background: #777; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -90px 0; background: url('/img/hero.jpg') center/cover no-repeat; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.hero > * { z-index: 1; }
.hero h1 {
  position: absolute; left: 0; right: 0; top: 54px; text-align: center;
  font-family: 'Cinzel', serif; font-weight: 400; font-size: 115px; line-height: 132px;
  letter-spacing: 2.3px; color: #fff; text-shadow: 3px 3px 3px rgba(0,0,0,.45);
}
.hero .sub {
  position: absolute; left: 0; right: 0; top: 291px; text-align: center;
  font-size: 37px; line-height: 45px; font-weight: 700; color: #fff;
  text-shadow: 1px 1px 3px rgba(0,0,0,.6);
}
.hero .banner {
  position: absolute; left: 50%; margin-left: -490px; width: 980px; top: 612px; height: 138px;
  background: var(--tan-light); border: 5px solid var(--navy); box-shadow: 0 6px 0 var(--navy-deep);
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: 'Cinzel', serif; font-size: 49px; line-height: 58px; letter-spacing: .98px; color: #fff;
  text-shadow: 2px 2px 3px rgba(0,0,0,.45);
}

/* ---------- Home: practice tiles ---------- */
.areas { position: relative; height: 735px; background: #fff; }
.areas .tile {
  position: absolute; width: 220px; height: 240px; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 6px; font-size: 56px; line-height: 1.1; background-size: cover;
}
.tile.dark { background-image: url('/img/tile-dark.png'); color: #fff; }
.tile.tan { background-image: url('/img/tile-tan.png'); color: var(--navy); }
.areas h2 {
  position: absolute; left: 0; right: 0; font-family: 'Anton', sans-serif; font-weight: 400;
  font-size: 48px; line-height: 71px; color: var(--ink); text-align: center;
}
.slash { position: absolute; left: 50%; margin-left: -20px; width: 40px; height: 40px; }

/* ---------- Home: promise ---------- */
.promise { position: relative; height: 527px; overflow: hidden; background: #b9a88a; }
.promise::before {
  content: ''; position: absolute; inset: -90px 0; background: url('/img/gavel.jpg') center/cover no-repeat;
  transform: translate3d(0, var(--py, 0px), 0); will-change: transform;
}
.promise::after { content: ''; position: absolute; inset: 0; background: rgba(166,147,116,.82); }
.promise > * { position: relative; z-index: 1; }
.promise h2 {
  position: absolute; left: 0; right: 0; top: 133px; text-align: center;
  font-family: 'Anton', sans-serif; font-weight: 400; font-size: 48px; line-height: 71px; color: #fff;
}
.promise p {
  position: absolute; left: 50%; margin-left: -340px; width: 680px; text-align: center;
  color: #fff; font-size: 22px; line-height: 26px; font-weight: 700; white-space: nowrap;
}

/* ---------- Home: testimonial ---------- */
.quote { position: relative; height: 520px; background: #333; overflow: hidden; }
.quote::before { content: ''; position: absolute; inset: -90px 0; background: url('/img/people.jpg') center/cover no-repeat; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.quote > * { z-index: 1; }
.quote blockquote {
  position: absolute; left: 50%; margin-left: -342px; width: 685px; top: 65px; text-align: center;
  font-family: 'Anton', sans-serif; font-size: 32px; line-height: 40px; color: #fff; font-weight: 400;
}
.quote cite {
  position: absolute; left: 0; right: 0; top: 337px; text-align: center; font-style: normal;
  font-size: 26px; line-height: 31px; color: #fff;
}

/* ---------- Home: stats ---------- */
.stats { display: grid; grid-template-columns: 1fr 1fr 1fr; height: 450px; }
.stats > div { position: relative; background: var(--tan); text-align: center; color: #fff; }
.stats > div.white { background: #fff; color: var(--tan); }
.stats img { position: absolute; left: 50%; margin-left: -50px; top: 65px; width: 100px; height: 84px; object-fit: contain; }
.stats .num, .stats .lbl { font-family: 'Montserrat', sans-serif; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; }
.stats .num { position: absolute; left: 0; right: 0; top: 168px; font-size: 42px; line-height: 66px; letter-spacing: 4px; }
.stats .lbl { position: absolute; left: 0; right: 0; top: 240px; font-size: 20px; line-height: 24px; padding: 0 40px; }

/* ---------- Home: difference ---------- */
.diff { position: relative; height: 636px; overflow: hidden; background: #cfd6de; }
.diff::before {
  content: ''; position: absolute; inset: -90px -30px; background: url('/img/court.jpg') center/cover no-repeat; filter: blur(9px);
  transform: translate3d(0, var(--py, 0px), 0); will-change: transform;
}
.diff::after { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,.1); }
.diff > * { position: relative; z-index: 1; }
.diff h2 {
  position: absolute; left: 0; right: 0; top: 27px; text-align: center; color: #fff;
  font-family: 'Anton', sans-serif; font-weight: 400; font-size: 67px; line-height: 89px; letter-spacing: 20px;
  text-shadow: 0 0 1px #000;
}
.diff .card {
  position: absolute; top: 303px; height: 276px; background: #edf7f7 url('/img/marble.jpg') center/cover;
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 14px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: 700; font-size: 43px; line-height: 1.2;
  letter-spacing: 4.3px; text-shadow: 2px 2px 3px rgba(0,0,0,.22);
}

/* ---------- Contact block (home) ---------- */
.contact { position: relative; height: 749px; background: var(--navy-deep); color: #fff; }
.contact .logo { left: 500px; top: 0; width: 285px; height: 239px; object-fit: cover; }
.contact h2 { font-family: 'Anton', sans-serif; font-weight: 400; font-size: 45px; line-height: 69px; color: #fff; }
.info .lab { color: var(--tan); font-size: 20px; line-height: 24px; font-weight: 700; }
.info .val { font-size: 20px; line-height: 28px; font-weight: 700; }
.info a.mail { font-size: 21px; font-weight: 400; text-decoration: underline; display: block; line-height: 33px; }

form.cf { position: absolute; width: 479px; }
form.cf input, form.cf textarea {
  display: block; width: 100%; height: 32px; margin-bottom: 5px; padding: 2px 6px;
  border: 1px solid #b7b7b7; background: #fff; font: 14px/1.2 Helvetica, Arial, sans-serif; color: #333; border-radius: 0;
}
form.cf textarea { height: 130px; resize: vertical; padding-top: 6px; }
form.cf input::placeholder, form.cf textarea::placeholder { color: #8a8a8a; }
form.cf button {
  float: right; margin-top: 3px; height: 32px; padding: 0 12px; border: 0; background: var(--tan); color: #fff;
  font: 14px Helvetica, Arial, sans-serif; cursor: pointer;
}
form.cf button:hover { background: #8f7d5f; }
form.cf .msg { clear: both; font: 14px/1.4 Helvetica, Arial, sans-serif; padding-top: 6px; }
.contact .fb-icon { left: 103px; top: 620px; width: 50px; height: 50px; }

/* ---------- Footer ---------- */
footer.site { background: var(--tan); height: 213px; color: #fff; text-align: center; font-size: 12px; position: relative; }
footer.site .top { position: absolute; left: 0; right: 0; top: 24px; text-decoration: none; display: block; }
footer.site .top img { width: 26px; margin: 0 auto 6px; filter: brightness(0) invert(1); transform: rotate(180deg); }
footer.site .top span { font-size: 13px; letter-spacing: .3px; }
footer.site .copy { position: absolute; left: 0; right: 0; top: 96px; }
footer.site .copy a { text-decoration: none; }
footer.site .disc { position: absolute; left: 50%; margin-left: -330px; width: 660px; top: 118px; line-height: 15px; }

/* ---------- About ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--tan); }
.page-hero.books { height: 300px; }
.page-hero.books::before { content: ''; position: absolute; inset: -90px -10px; background: url('/img/books.jpg') center/cover; filter: blur(3px); transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.page-hero.books::after { content: ''; position: absolute; inset: 0; background: rgba(35,30,20,.55); }
.page-hero.plain { height: 186px; }
.page-hero h1 {
  position: absolute; left: 0; right: 0; text-align: center; z-index: 2;
  font-family: 'Anton', sans-serif; font-weight: 400; font-size: 48px; line-height: 67px; color: #fff;
}
.page-hero.books h1 { top: 162px; opacity: .8; }
.page-hero.plain h1 { top: 106px; opacity: .25; }

.bio { position: absolute; }
.bio h2 { font-family: 'Anton', sans-serif; font-weight: 400; font-size: 32px; line-height: 45px; color: var(--ink); }
.bio .k { color: var(--tan); font-size: 16px; line-height: 22px; text-transform: uppercase; }
.bio p { font-size: 20px; line-height: 22.5px; font-weight: 700; color: var(--ink); }
.bio ul { list-style: none; font-size: 15px; line-height: 18.5px; font-weight: 700; color: var(--ink); }
.bio ul.dots li { position: relative; padding-left: 27px; margin-bottom: 18px; }
.bio ul.dots li::before { content: '•'; position: absolute; left: 10px; }
.bio ul.dots.tight li { margin-bottom: 0; }
.btn { position: absolute; width: 149px; height: 55px; background: var(--tan); color: #e8e6e3; font-size: 16px; text-align: center; line-height: 55px; text-decoration: none; }
.btn:hover { background: #8f7d5f; }
.hr { position: absolute; height: 2px; background: #cfc8b8; left: 0; width: 980px; }
.team { position: relative; height: 535px; background: var(--tan-light); }
.team img { position: absolute; left: 50%; margin-left: -140px; top: 75px; width: 280px; height: 278px; object-fit: cover; }
.team h2 { position: absolute; left: 0; right: 0; top: 370px; text-align: center; font-family: 'Anton', sans-serif; font-weight: 400; font-size: 32px; line-height: 45px; color: var(--ink); }
.team .role { position: absolute; left: 0; right: 0; top: 422px; text-align: center; color: #e8e6e3; font-size: 18px; line-height: 25px; }
.team .note { position: absolute; left: 50%; margin-left: -140px; width: 280px; top: 470px; text-align: left; color: #f2efe9; font-size: 14px; line-height: 20px; }

/* ---------- Contact page ---------- */
.cbody { position: relative; height: 1009px; background: #fff; }
.cbody h2.lead { font-family: 'Anton', sans-serif; font-weight: 400; font-size: 32px; line-height: 41.6px; color: var(--ink); }
.cbody .copy { font-size: 23px; line-height: 25.5px; font-weight: 700; color: var(--ink); }
.cbody .info .val { color: var(--ink); }
.cbody form.cf input, .cbody form.cf textarea { border-color: #cfcfcf; }
.cbody iframe { position: absolute; left: 500px; top: 164px; width: 460px; height: 300px; border: 0; }

/* ---------- Mobile ---------- */
@media (max-width: 1000px) {
  :root { --w: 100%; }
  body { padding-top: 96px; }
  header.site { height: 96px; }
  header.site .wrap { height: 96px; padding: 0 12px; }
  header.site .logo { left: 12px; top: 8px; width: 80px; height: 80px; }
  header.site .logo img { width: 80px; height: 80px; }
  header.site nav a { top: auto; bottom: 8px; font-size: 15px; }
  header.site nav a:nth-child(1) { left: 110px; }
  header.site nav a:nth-child(2) { left: 168px !important; }
  header.site nav a:nth-child(3) { left: 245px !important; }
  header.site .touch { left: auto; right: 62px; top: 6px; width: auto; font-size: 17px; line-height: 20px; }
  header.site .fb { left: auto; right: 12px; top: 8px; width: 34px; height: 34px; }
  header.site .fb img { width: 34px; height: 34px; }

  .hero { height: 560px; }
  .hero h1 { font-size: 46px; line-height: 56px; top: 50px; }
  .hero .sub { font-size: 20px; top: 130px; }
  .hero .banner { width: 92%; margin-left: -46%; top: 400px; height: 110px; font-size: 24px; line-height: 30px; }
  .areas { height: auto; padding: 20px 10px 30px; }
  .areas .wrap { position: static !important; margin: 0 !important; width: 100% !important; height: auto !important; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
  .areas .tile { position: relative; left: auto !important; top: auto !important; width: 46%; max-width: 220px; height: 170px; font-size: 26px !important; }
  .areas h2 { position: static; width: 100%; letter-spacing: 3px !important; font-size: 26px; line-height: 38px; margin-top: 20px; }
  .slash { display: none; }
  .promise, .quote, .diff, .contact { height: auto; padding: 50px 18px; }
  .promise h2, .promise p, .quote blockquote, .quote cite, .diff h2, .diff .card, .contact .abs, form.cf {
    position: static !important; width: auto !important; margin: 0 0 18px !important; left: auto !important; top: auto !important; height: auto;
  }
  .promise p { font-size: 17px; line-height: 23px; white-space: normal; }
  .quote blockquote { font-size: 22px; line-height: 30px; }
  .diff h2 { font-size: 40px; letter-spacing: 8px; line-height: 54px; }
  .diff .card { min-height: 150px; font-size: 28px; }
  .contact .logo { margin: 0 auto 20px !important; }
  .stats { grid-template-columns: 1fr; height: auto; }
  .stats > div { height: 330px; }
  form.cf { max-width: 480px; }
  footer.site { height: auto; padding: 24px 16px; }
  footer.site .top, footer.site .copy, footer.site .disc { position: static; margin: 10px auto; width: auto; }

  .page-hero.books { height: 220px; }
  .page-hero.books h1 { top: 80px; }
  .page-hero.plain { height: 130px; }
  .page-hero.plain h1 { top: 34px; }
  .prof, .team, .cbody { height: auto !important; }
  .prof { padding: 30px 18px; position: relative; }
  .bio, .btn, .prof .photo, .hr, .cbody .abs, .cbody iframe, .cbody form.cf { position: static !important; width: auto !important; margin: 0 0 16px !important; }
  .prof .photo img, .cbody iframe { width: 100% !important; max-width: 420px; height: auto; margin-bottom: 12px; }
  .btn { display: block; margin: 12px 0 20px !important; width: 149px !important; }
  .team { padding: 30px 18px; }
  .team img, .team h2, .team .role, .team .note { position: static !important; margin: 10px auto !important; width: auto; max-width: 280px; }
}

/* ---------- Scroll-in animations ---------- */
.js .rv { opacity: 0; transform: translateY(36px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .rv.rv-fade { transform: none; }
.js .rv.rv-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; transition: none; }
  .hero::before, .quote::before, .promise::before, .diff::before, .page-hero.books::before { transform: none !important; }
}
