:root {
  --pink: #d31145;
  --gold: #c49700;
  --cream: #ecd8a9;
  --ink: #573a3e;
  --footer: #dd6365;
  --paper: #fff;
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background-color: var(--pink);
  font: 400 14px/1.45 "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
p { margin: 0 0 1.15em; }
ul { margin: 0 0 1.2em; padding: 0; }
li { list-style: none; }
h1, h2, h3 { font-weight: 300; }
h3 { margin: 1.15em 0 .35em; color: var(--gold); font-size: 1.05rem; }
strong { font-weight: 700; }
em { font-style: italic; }
figure { margin: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 100;
  top: .75rem;
  left: .75rem;
  transform: translateY(-180%);
  padding: .55rem .8rem;
  color: var(--ink);
  background: #fff;
}
.skip-link:focus { transform: translateY(0); }

#wrapper { width: min(740px, calc(100% - 32px)); margin: 0 auto; }
#aca { width: 699px; margin-top: 50px; }
#header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  min-height: 280px;
  padding-top: 29px;
}
.home #header { min-height: 160px; padding-top: 30px; }
#logo { flex: 0 0 164px; margin-top: 6px; }
.home #logo { flex-basis: 199px; margin-top: 10px; }
#navigation { margin-top: 65px; }
.home #navigation { margin-top: 0; }
#primary-menu { display: flex; margin: 0; }
#primary-menu li { display: flex; }
#primary-menu a {
  display: block;
  width: 132px;
  min-height: 103px;
  padding: 43px 36px 0 0;
  color: var(--cream);
  background: url("/assets/images/menu-sep.png") no-repeat 100% 0;
  font-size: 17px;
  font-weight: 300;
  line-height: 1;
  text-transform: uppercase;
}
#primary-menu li:last-child a { width: auto; padding-right: 0; background: none; }
#primary-menu a:hover, #primary-menu a:focus-visible, #primary-menu a[aria-current="page"] {
  opacity: .45;
  text-decoration: none;
}
#primary-menu li:nth-of-type(2) a {
    min-width: 148px;
}

#menu-toggle { display: none; }

.home-content {
  padding-bottom: 76px;
  color: var(--gold);
  font-size: 14px;
  line-height: 1.3;
}
.home-content h1 {
  margin: 0 0 13px;
  font-size: 17px;
  line-height: 1;
  text-transform: uppercase;
}
.home-content p { margin-bottom: 5px; }

.content-card {
  min-height: 369px;
  margin: 66px 0 71px;
  padding: 36px 34px 34px;
  background: var(--paper);
  box-shadow: 5px 5px 7px rgb(0 0 0 / 50%);
}
.entry-content { line-height: 1.3; }
.entry-content p:last-child { margin-bottom: 0; }
.entry-content ul li { position: relative; padding-left: 9px; }
.entry-content ul li::before { content: "•"; position: absolute; left: 0; }
.entry-content h1, .met-title, .entry-content h2 {
  margin: 0 0 23px;
  color: var(--gold);
  font-size: 15px;
  line-height: 1;
  text-transform: uppercase;
}
.entry-content h2 { margin-top: 2.5em; }
.content-column.one_half { width: 48%; float: left; }
.content-column.last_column { float: right; }
.clear_column { clear: both; }
.clearfix::after { display: table; clear: both; content: ""; }
.left { float: left; width: 51%; }
.right { float: right; width: 45%; }
.right > img { width: 100%; }

#subnav { margin-bottom: 23px; }
#subnav ul { display: flex; flex-wrap: wrap; margin: 0; }
#subnav li + li a::before { content: "/"; padding: 0 4px; color: var(--ink); }
#subnav a { color: var(--ink); font-size: 15px; font-weight: 300; text-transform: uppercase; }
#subnav a[aria-current="page"], #subnav .current-menu-item a { color: var(--gold); }
.has-scroll { max-height: 270px; overflow-y: auto; padding-right: 18px; scrollbar-color: var(--gold) #f1e9e2; }
.fill-text { hyphens: auto; text-align: justify; }
.highlight { color: var(--gold); }
.download-link { padding: .75rem 0; border-top: 1px solid #e8d9ba; border-bottom: 1px solid #e8d9ba; }

.conservation { background-image: url("/assets/images/bottles.jpg"); background-repeat: repeat-x; background-position: 50% 280px; }
.about, .museum-experience, .private-practice, .met { background-image: url("/assets/images/wall.jpg"); background-repeat: repeat-x; background-position: 50% 280px; }
.contact { background-image: url("/assets/images/paint.jpg"); background-repeat: repeat-x; background-position: 50% 280px; }
.services, .methodology { background-image: url("/assets/images/pencil.jpg"); background-repeat: repeat-x; background-position: 50% 280px; background-size: 720px;}
.contact .entry-content { margin: 0; }
.contact .left { width: 41%; }
.contact .right { width: 53%; margin-top: 95px; padding-left: 100px; background: url("/assets/images/links.png") no-repeat 0 0; }
.contact #links { line-height: 1.6; }
.contact .left a { color: var(--ink); }
.private-practice .entry-content { max-width: 340px; }

.met-content { padding: 36px 10px 34px; }
.met-container { position: relative; min-height: 270px; }
.met-text { margin: 0 120px; }
.met-images-left, .met-images-right { position: absolute; top: 0; width: 100px; }
.met-images-left { left: 0; }
.met-images-right { right: 0; }
.met figure { margin-bottom: 1.25em; }
.met figcaption { margin-top: .3em; font-style: italic; }
.met .has-scroll { max-height: 270px; }

#footer {
  padding: 4px 0 36px;
  color: var(--footer);
  font: 700 10px/1 Arial, sans-serif;
}
.home #footer { border-top: 1px solid #d22855; }
.error-page { width: min(480px, calc(100% - 40px)); margin: 15vh auto; color: var(--cream); }
.error-page img { width: 199px; margin-bottom: 3rem; }

@media (max-width: 760px) {
  #wrapper { width: min(100% - 40px, 620px); }
  #aca { width: min(100%, 540px); margin-top: 30px; }
  #header, .home #header { display: block; min-height: 0; padding: 24px 0 32px; }
  #logo, .home #logo { display: block; width: 164px; margin: 0; }
  .home #logo { width: 199px; }
  #menu-toggle {
    position: absolute;
    top: 26px;
    right: 0;
    display: block;
    border: 0;
    padding: 0;
    color: var(--cream);
    background: transparent;
    font-size: 24px;
    cursor: pointer;
  }
  #menu-toggle .menu-close { display: none; }
  #menu-toggle[aria-expanded="true"] .menu-open { display: none; }
  #menu-toggle[aria-expanded="true"] .menu-close { display: inline; }
  #navigation { display: none; margin-top: 28px; }
  #navigation.is-open { display: block; }
  #primary-menu { display: block; border-top: 1px solid var(--gold); background-color: #D31145; }
  #primary-menu li { display: block; border-bottom: 1px solid var(--gold); }
  #primary-menu a, #primary-menu li:last-child a {
    width: auto;
    min-height: 0;
    padding: 13px 0;
    background: none;
    font-size: 16px;
  }
  .content-card { margin: 22px 0 40px; padding: 30px 24px; }
  .content-column.one_half, .content-column.last_column, .left, .right,
  .contact .left, .contact .right { float: none; width: 100%; }
  .content-column.last_column { margin-top: 1.5rem; }
  .right { margin-top: 2rem; }
  .contact .right { margin-top: 2rem; padding: 70px 0 0; }
  .has-scroll, .met .has-scroll { max-height: none; overflow: visible; padding-right: 0; }
  .fill-text { text-align: left; }
  .met-text { margin: 0; }
  .met-images-left, .met-images-right { position: static; display: flex; gap: 12px; width: auto; margin-top: 1.5rem; }
  .met figure { width: 100px; }

  .services, .methodology { background-size: 530px;}

}

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