:root {
  --ink: #38383b;
  --black: #000;
  --paper: #fff;
  --wash: #f7f7f7;
  --gutter: 4vw;
  --header-height: clamp(64px, calc(32px + 2.5vw), 68px);
}

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

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Lato", sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.modal-open { overflow: hidden; }

img { display: block; max-width: 100%; }
figure, blockquote, h1, h2, p { margin: 0; }
a { color: inherit; }
button, input, textarea { font: inherit; }
strong, b { font-weight: 700; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  padding: .65rem 1rem;
  background: #fff;
  color: #000;
}

.skip-link:focus { top: 1rem; }

/* Header and drawer */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  background: #fff;
}

.header-inner {
  position: relative;
  height: 100%;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-title {
  position: relative;
  z-index: 2;
  color: var(--ink);
  font-family: "Playfair Display", serif;
  font-size: clamp(23.0896px, calc(18.688px + .63vw), 28px);
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
}

.menu-toggle {
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 8px 4px;
  border: 0;
  background: transparent;
  cursor: pointer;
  outline: 0;
}

.menu-toggle span {
  position: absolute;
  left: 4px;
  width: 35px;
  height: 1px;
  background: var(--ink);
  transition: transform .25s ease, opacity .2s ease;
}

.menu-toggle span:nth-child(1) { top: 13px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 29px; }

.menu-toggle.active {
  width: 58px;
  height: 50px;
  border: 2px solid #111;
}

.menu-toggle.active span { left: 10px; width: 34px; top: 23px; }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg); }

.main-nav {
  position: fixed;
  z-index: 1;
  top: calc(var(--header-height) + 20px);
  right: 3vw;
  width: 17vw;
  min-width: 215px;
  height: min(72vh, 516px);
  padding: 72px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  visibility: hidden;
  opacity: 0;
  transform: translateX(18px);
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.035);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.main-nav.open {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}

.main-nav a {
  color: var(--ink);
  font-family: "Lato", sans-serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 1;
  text-decoration: none;
}

.main-nav a:hover { opacity: .65; }

/* Homepage */
.hero {
  position: relative;
  height: 93vh;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62.9371% 25.201%;
}

.quotes {
  height: clamp(119px, calc(95px + 1.875vw), 122px);
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 2.7vw;
  align-items: center;
  background: #fff;
  text-align: center;
}

.quotes p {
  color: var(--ink);
  font-weight: 300;
  line-height: 1.8;
}

.quotes cite {
  display: block;
  margin-top: 16px;
  color: var(--ink);
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
}

.news {
  padding: 18px var(--gutter) clamp(63px, calc(55px + .625vw), 64px);
  background: var(--wash);
  color: #000;
  scroll-margin-top: var(--header-height);
}

.section-embellish {
  width: 192px;
  height: 36px;
  margin: 0 auto;
  overflow: hidden;
}

.section-embellish img {
  width: 100%;
  height: 96px;
  margin-top: -30px;
  object-fit: cover;
}

.news > h1 {
  margin-top: clamp(61px, calc(29px + 2.5vw), 65px);
  color: #000;
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3832;
  text-align: center;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8vw;
  margin-top: 49px;
}

.news-card { min-width: 0; text-align: center; }

.news-image {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .2s ease;
}

.news-card:nth-child(1) .news-image img { object-position: 58.1585% 100%; }
.news-card:nth-child(2) .news-image img { object-position: 76.5398% 47.6213%; }
.news-card:nth-child(3) .news-image img { object-position: 51.7299% 0%; }

.news-image:hover img { opacity: .88; }

.news-copy {
  padding: 25px 24px 22px;
  background: #fff;
}

.news-copy h2 {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.2;
}

.news-copy h2 a { text-decoration: none; }

.news-copy p {
  margin-top: 8px;
  color: #000;
  font-size: 16px;
  line-height: 1.4;
}

.news-copy p + p { margin-top: 9px; }
.news-copy p a {
  color: #a8a6a1;
  text-decoration: none;
}

.contact {
  height: clamp(673px, calc(1px + 52.5vw), 757px);
  padding: clamp(43px, calc(11px + 2.5vw), 47px) 0 clamp(41px, calc(9px + 2.5vw), 45px);
  background: var(--wash);
  color: #000;
  scroll-margin-top: var(--header-height);
}

.contact-layout {
  width: 92vw;
  height: clamp(589px, calc(-11px + 46.875vw), 664px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
}

.contact-card {
  height: 488px;
  padding: clamp(142px, calc(62px + 6.25vw), 152px) 11px 24px 0;
  background: #fff;
  text-align: center;
}

.contact-card h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(24px, calc(18.304px + .54vw), 28px);
  font-weight: 400;
  line-height: 1.3664;
}

.contact-open,
.resume-button,
.contact-submit {
  display: inline-block;
  border: 0;
  background: #a8a6a1;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 14.4px;
  font-weight: 500;
  letter-spacing: .02em;
  line-height: normal;
  text-decoration: none;
  cursor: pointer;
}

.contact-open { margin-top: clamp(33px, calc(51px - 1.25vw), 35px); padding: 20.8px 34.736px; }
.contact-open:hover, .resume-button:hover, .contact-submit:hover { background: #8d8b87; }

.contact-image {
  padding: clamp(17px, calc(9px + .625vw), 18px) 0 clamp(17px, calc(9px + .625vw), 18px) 22.67px;
}
.contact-image img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: 55.3571% 17.8571%;
}

.seniors {
  padding: clamp(58px, 5vw, 72px) var(--gutter);
  background: #fff;
  color: #000;
}

.seniors-layout {
  width: 100%;
  display: grid;
  grid-template-columns: 1.36fr 1fr;
}

.seniors-image { min-width: 0; }

.seniors-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1672 / 941;
  object-fit: cover;
}

.seniors-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 4vw, 58px);
  background: var(--wash);
}

.seniors-copy h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(24px, calc(18.304px + .54vw), 28px);
  font-weight: 400;
  line-height: 1.3664;
}

.seniors-copy p {
  margin-top: 22px;
  font-size: 16px;
  line-height: 1.8;
}

.seniors-copy a { color: #77746f; }

/* Footer shared by every page */
.site-footer {
  height: clamp(253px, calc(-99px + 27.5vw), 297px);
  padding: clamp(43px, calc(-101px + 11.25vw), 61px) var(--gutter) 0;
  background: #fff;
  color: var(--ink);
  text-align: center;
}

.footer-embellish {
  width: clamp(168px, calc(-24px + 15vw), 192px);
  height: clamp(61px, calc(-11px + 5.625vw), 70px);
  margin: 0 auto;
  object-fit: cover;
}

.site-footer p { margin: 16px 0 0; line-height: 1.8; }
.site-footer a { color: inherit; }

/* Contact lightbox */
.contact-modal[hidden] { display: none; }

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  padding: 63px 5vw 0;
  overflow-y: auto;
  background: rgba(247,247,247,.92);
}

.contact-dialog {
  position: relative;
  width: min(681px, 100%);
  min-height: calc(100vh - 63px);
  margin: 0 auto;
  padding: 83px 41px 38px;
  background: #fff;
  color: #000;
}

.contact-close {
  position: absolute;
  top: 3px;
  right: 21px;
  border: 0;
  background: none;
  color: #000;
  font-family: Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  outline: 0;
}

.contact-dialog form,
.contact-dialog fieldset { margin: 0; padding: 0; border: 0; }
.contact-dialog fieldset { margin-bottom: 22px; }
.contact-dialog legend,
.contact-dialog label { display: block; font-family: "Playfair Display", serif; font-size: 16px; line-height: 1.4; }
.contact-dialog label + label { margin-top: 20px; }
.contact-dialog label span { color: #888; font-family: "Lato", sans-serif; font-size: 14px; font-weight: 300; }

.name-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 15px; }
.name-fields label + label { margin-top: 0; }

.contact-dialog input,
.contact-dialog textarea {
  display: block;
  width: 100%;
  margin-top: 5px;
  border: 1px solid #222;
  border-radius: 0;
  background: #fff;
  color: #000;
  font-family: "Lato", sans-serif;
  font-size: 16px;
}

.contact-dialog input { height: 52px; padding: 8px 10px; }
.contact-dialog textarea { min-height: 101px; padding: 10px; resize: vertical; }
.contact-submit { display: block; margin: 19px auto 0; padding: 20px 35px; }
.contact-submit:disabled { cursor: wait; opacity: .65; }
.contact-botcheck { display: none !important; }
.contact-status {
  min-height: 29px;
  margin-top: 14px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
}
.contact-status.is-error { color: #9f2f2f; }

/* Resume */
.resume-gallery {
  height: clamp(545px, calc(17px + 41.25vw), 611px);
  padding: clamp(115px, calc(35px + 6.25vw), 125px) var(--gutter) var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.7vw;
}

.resume-gallery figure {
  height: calc(29.533333vw + 1px);
  overflow: hidden;
}
.resume-gallery figure:nth-child(2),
.resume-gallery figure:nth-child(3) { transform: translateX(clamp(0px, calc(-8px + .625vw), 1px)); }
.resume-gallery img { width: 100%; height: 100%; object-fit: cover; }
.resume-gallery figure:nth-child(1) img { object-position: 47% 37%; }
.resume-gallery figure:nth-child(2) img { object-position: 52% 40%; }
.resume-gallery figure:nth-child(3) img { object-position: 44% 34%; }

.resume-collage { position: relative; height: clamp(952px, calc(56px + 70vw), 1064px); }
.resume-collage h1 {
  position: absolute;
  left: var(--gutter);
  top: 12px;
  width: calc(100% - 8vw);
  font-family: "Playfair Display", serif;
  font-size: clamp(24px, calc(18.304px + .54vw), 28px);
  font-weight: 400;
  line-height: 1.366;
}

.resume-button {
  position: absolute;
  left: clamp(608px, calc(66.25vw - 240px), 714px);
  top: clamp(81px, calc(73px + .625vw), 82px);
  padding: 20.8px 34.736px;
}

.resume-button { background: #38383b; }
.resume-button:hover { background: #000; }

.resume-sheet {
  position: absolute;
  left: clamp(201px, calc(38.125vw - 287px), 262px);
  top: clamp(178px, calc(170px + .625vw), 179px);
  width: 576px;
  max-width: none;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.resume-portrait {
  position: absolute;
  left: clamp(859px, calc(65vw + 27px), 963px);
  width: clamp(269px, calc(23.125vw - 27px), 306px);
  max-width: none;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}
.resume-portrait-one { top: clamp(81px, calc(73px + .625vw), 82px); }
.resume-portrait-two { top: clamp(518px, calc(70px + 35vw), 574px); }

/* Video */
.video-page {
  min-height: 1555px;
  padding: clamp(148px, calc(28px + 9.375vw), 163px) var(--gutter) clamp(86px, calc(-122px + 16.25vw), 112px);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 34px;
  row-gap: 17px;
}

.video-item { min-width: 0; }
.video-item:nth-child(3) p,
.video-item:nth-child(4) p { transform: translateY(clamp(-1px, calc(8px - .625vw), 0px)); }
.video-item:nth-child(n+5) { margin-top: clamp(16px, calc(25px - .625vw), 17px); }
.video-item iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.video-item--four-three iframe { aspect-ratio: 4 / 3; }
.video-item p { margin: 16px 0; line-height: 1.8; text-align: center; }

/* News detail pages */
.news-detail-main { position: relative; min-height: 529px; padding: 116px 4vw 40px; }
.news-detail-article { width: 590px; max-width: 70vw; margin: 0 auto; color: #000; }
.news-detail-meta { font-size: 16px; line-height: 1.8; }
.news-detail-article h1 { margin-top: 25px; font-family: "Playfair Display", serif; font-size: 28px; font-weight: 400; line-height: 1.4; }
.news-detail-author { margin-top: 103px; font-size: 14px; }
.news-detail-pager { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 27px; display: flex; justify-content: space-between; align-items: end; }
.news-detail-pager a { font-family: "Playfair Display", serif; font-size: 22px; text-decoration: none; }
.news-detail-pager small { display: block; font-family: "Lato", sans-serif; font-size: 13px; }

@media (min-width: 701px) {
  .contact-layout { transform: translateY(clamp(-1px, calc(-9px + .625vw), 0px)); }
  .contact-open { transform: translateX(clamp(-1px, calc(-9px + .625vw), 0px)); }
}

@media (max-width: 700px) {
  :root { --gutter: 6vw; --header-height: 50px; }

  .site-title { font-size: 23.0896px; }
  .menu-toggle { width: 58px; height: 50px; margin-right: -5px; padding: 0; }
  .menu-toggle span { left: 10px; }
  .menu-toggle.active { width: 58px; }

  .main-nav {
    top: 85px;
    right: 0;
    width: 90vw;
    min-width: 0;
    height: 388px;
    padding: 87px 20px;
  }

  .hero { height: 93vh; }
  .hero img { object-position: 62.9371% 25.201%; }
  .news-card:nth-child(2) .news-image img { object-position: 76.5649% 47.6213%; }

  .quotes {
    height: 290px;
    padding: 27px var(--gutter) 22px;
    grid-template-columns: 1fr;
    row-gap: 14px;
  }

  .quotes p { line-height: 1.8; }
  .quotes cite { margin-top: 6px; }

  .news { padding: 59px var(--gutter) 106px; }
  .section-embellish { width: 100%; height: 64px; }
  .section-embellish img { width: 100%; height: 171px; margin-top: -54px; }
  .news > h1 { margin-top: 34px; }
  .news-grid { grid-template-columns: 1fr; gap: 60px; margin-top: 49px; }
  .news-card { width: 340px; justify-self: center; }
  .news-card:nth-child(2) { margin-top: 46px; }
  .news-card:nth-child(3) { margin-top: 14px; }
  .news-copy { padding: 24px 18px 27px; }
  .news-copy p { line-height: 1.4; }

  .contact {
    height: auto;
    padding: 56px var(--gutter) 44px;
  }

  .contact-layout {
    width: 100%;
    height: auto;
    display: block;
  }

  .contact-card { height: 346px; padding: 23px 12px 15px; }
  .contact-card h1 { font-size: 22.0768px; }
  .contact-open { margin-top: 34px; font-size: 14.9872px; }
  .contact-image { margin-top: 36px; padding: 0; }
  .contact-image img { width: 100%; }

  .seniors { padding: 48px var(--gutter); }
  .seniors-layout { display: block; }
  .seniors-image img { height: auto; }
  .seniors-copy { padding: 36px 24px 40px; }
  .seniors-copy h2 { font-size: 22.0768px; }
  .seniors-copy p { margin-top: 18px; }

  .site-footer { height: 351px; padding: 45px var(--gutter) 0; }
  .footer-embellish { width: 100%; height: 124px; }

  .contact-modal { padding: 50px 0 0; }
  .contact-dialog { width: 100%; min-height: calc(100vh - 50px); padding: 55px 24px 35px; }
  .name-fields { grid-template-columns: 1fr; }
  .name-fields label + label { margin-top: 20px; }

  .resume-gallery {
    height: 445px;
    padding: 64px 16px 14px;
    grid-template-columns: repeat(2, 176px);
    grid-auto-rows: 177px;
    gap: 6px;
  }

  .resume-gallery figure { width: 176px; height: 177px; transform: none; }

  .resume-collage {
    position: relative;
    display: block;
    height: 1734px;
    padding: 0;
  }

  .resume-collage h1 {
    position: absolute;
    left: var(--gutter);
    top: 20px;
    width: calc(100% - 12vw);
    font-size: 22.0768px;
  }

  .resume-button {
    position: absolute;
    top: 85px;
    right: var(--gutter);
    left: auto;
    font-size: 14.9872px;
  }

  .resume-sheet {
    position: absolute;
    left: var(--gutter);
    top: 182px;
    width: calc(100% - 12vw);
  }

  .resume-portrait {
    position: absolute;
    left: var(--gutter);
    width: calc(100% - 12vw);
  }
  .resume-portrait-one { top: 645px; }
  .resume-portrait-two { top: 1194px; }

  .video-page { min-height: 0; padding: 121px var(--gutter) 72px; }
  .video-grid { grid-template-columns: 1fr; gap: 34px; }
  .video-item:nth-child(n+5) { margin-top: 0; }

  .news-detail-main { min-height: 600px; padding: 110px var(--gutter) 50px; }
  .news-detail-article { width: 100%; max-width: none; }
  .news-detail-author { margin-top: 75px; }
  .news-detail-pager { bottom: 35px; }
}
