:root {
  --teal: #236160;
  --teal-dark: #1b4b4a;
  --maroon: #702a1a;
  --tan: #b89c7d;
  --kicker: #8a6a4a;
  --rule: #e6dccf;
  --wash: #faf7f3;
  --ink: #2b2b2b;
  --muted: #5f5f5f;
  --nav: #6b4a3f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--ink); font: 17px/1.6 "Source Sans 3", sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal); }
:focus-visible { outline: 3px solid var(--tan); outline-offset: 3px; }
h1, h2, h3 { font-family: "Fraunces", serif; font-weight: 400; margin: 0; line-height: 1.15; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.kicker { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--kicker); font-weight: 600; margin-bottom: 8px; }
section { padding: 72px 0; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { font-size: 36px; color: var(--maroon); }

.btn { display: inline-block; padding: 13px 24px; font-weight: 600; letter-spacing: .03em; text-decoration: none; border: 2px solid var(--teal); cursor: pointer; }
.btn.solid { background: var(--teal); color: #fff; }
.btn.solid:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn.ghost { color: var(--teal); }
.btn.ghost:hover { background: #eef5f4; }
.hero-actions, .actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Phone links get their href from js/site.js; without JS the noscript image stands in */
html:not(.js) [data-phone] { display: none; }

.site-header { text-align: center; padding-top: 22px; }
.site-header .logo { height: 64px; width: auto; margin: 0 auto 14px; }
.site-header ul { display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: center; list-style: none; margin: 0; padding: 12px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.site-header a { color: var(--nav); text-decoration: none; }
.site-header a:hover { color: var(--teal); }

.hero { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.portrait { display: block; width: 100%; max-width: 340px; justify-self: center; }
.portrait img { width: 100%; }
.hero h1 { font-size: 50px; color: var(--maroon); margin-bottom: 18px; }
.hero h1 em { color: var(--teal); }
.lede { color: var(--muted); font-size: 19px; margin: 0 0 26px; max-width: 32em; }

#services { border-top: 1px solid var(--rule); }
.services { display: grid; grid-template-columns: repeat(3, 1fr); }
.services > div { padding: 0 32px; }
.services > div + div { border-left: 1px solid var(--rule); }
.services h3 { font-size: 28px; color: var(--teal); font-weight: 600; }
.services .tag { font-family: "Fraunces", serif; font-style: italic; color: var(--kicker); margin: 2px 0 14px; }
.services ul { margin: 0; padding: 0; list-style: none; }
.services li { padding: 7px 0; border-bottom: 1px dotted var(--rule); color: var(--muted); }
.services li:last-child { border-bottom: 0; }

#work { background: var(--wash); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile { position: relative; display: block; text-decoration: none; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; overflow: hidden; background: #e9e2d8; cursor: zoom-in; font: inherit; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.tile:hover img { transform: scale(1.03); }
.tile .badge { position: absolute; top: 10px; left: 10px; z-index: 1; background: #fff; color: var(--maroon); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 8px; }
.tile .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 12px 8px; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); color: #fff; font-size: 14px; text-align: left; }

.about { display: grid; gap: 48px; align-items: center; }
.about:has(.about-photo) { grid-template-columns: 1fr 1.4fr; }
.about:not(:has(.about-photo)) { max-width: 720px; }
.about-photo { margin: 0; }
.about h2 { font-size: 36px; color: var(--maroon); margin-bottom: 16px; }
.about p { color: var(--muted); margin: 0 0 14px; }
.creds { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 20px 0 0; padding: 0; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); font-weight: 600; }

#contact { background: var(--teal); color: #fff; text-align: center; }
#contact .kicker { color: #cfe3e0; }
#contact h2 { font-size: 40px; margin-bottom: 10px; }
#contact p { color: #d6e7e5; margin: 0 0 6px; }
#contact .actions { justify-content: center; }
#contact .btn { border-color: #fff; }
#contact .btn.solid { background: #fff; color: var(--teal); }
#contact .btn.ghost { color: #fff; }
#contact .btn.ghost:hover { background: rgba(255, 255, 255, .1); }
#contact .towns { font-size: 14px; color: #b9d3d0; max-width: 40em; margin: 26px auto 0; }
.phone { display: inline-block; margin: 14px 0 22px; font-family: "Fraunces", serif; font-size: 44px; color: #fff; text-decoration: none; }
.phone-img { width: min(100%, 400px); height: auto; margin: 14px auto 22px; }

.site-footer { text-align: center; padding: 28px 24px 36px; font-size: 14px; color: var(--muted); }
.site-footer .logo { height: 40px; width: auto; margin: 0 auto 10px; }
.site-footer .sep { color: var(--tan); margin: 0 4px; }
.nowrap { white-space: nowrap; }

.callbar { display: none; }

.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; overflow: visible; }
.lightbox::backdrop { background: rgba(16, 26, 26, .88); }
.lb-images { display: flex; gap: 12px; justify-content: center; align-items: center; }
.lb-images figure { position: relative; margin: 0; }
.lb-images img { max-width: 90vw; max-height: 80vh; width: auto; height: auto; }
.lb-images.pair img { max-width: 44vw; }
.lb-images figcaption { position: absolute; top: 10px; left: 10px; background: #fff; color: var(--maroon); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; padding: 4px 8px; }
.lb-caption { margin: 12px 0 0; color: #fff; text-align: center; font-family: "Fraunces", serif; font-size: 18px; }
.lb-close, .lb-prev, .lb-next { position: fixed; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .15); color: #fff; font-size: 34px; line-height: 1; cursor: pointer; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255, 255, 255, .3); }
.lb-close { top: 14px; right: 14px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }

@media (max-width: 720px) {
  body { font-size: 16px; }
  section { padding: 48px 0; }
  .site-header .logo { height: 50px; }
  .site-header ul { gap: 8px 16px; font-size: 11px; letter-spacing: .1em; }
  .hero { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; padding-bottom: 40px; text-align: center; }
  .portrait { max-width: 170px; }
  .hero h1 { font-size: 34px; }
  .lede { font-size: 17px; margin-left: auto; margin-right: auto; }
  .hero-actions { display: none; }
  .not-found .hero-actions { display: flex; justify-content: center; }
  .section-head h2, .about h2 { font-size: 30px; }
  .services { grid-template-columns: 1fr; gap: 28px; }
  .services > div { padding: 0; }
  .services > div + div { border-left: 0; border-top: 1px solid var(--rule); padding-top: 24px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tile .cap { font-size: 13px; }
  .about, .about:has(.about-photo) { grid-template-columns: 1fr; gap: 24px; }
  .about-photo { max-width: 260px; margin: 0 auto; }
  #contact h2 { font-size: 32px; }
  .phone { font-size: 32px; }
  .site-footer { padding-bottom: 90px; }
  html.js .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; box-shadow: 0 -2px 12px rgba(0, 0, 0, .15); }
  .callbar a { padding: 15px 0; text-align: center; font-weight: 600; letter-spacing: .04em; text-decoration: none; }
  .callbar .call { background: var(--teal); color: #fff; }
  .callbar .text { background: #fff; color: var(--teal); }
  .lb-images.pair { flex-direction: column; }
  .lightbox { padding-bottom: 70px; }
  .lb-images img { max-height: 62vh; }
  .lb-images.pair img { max-width: 92vw; max-height: 34vh; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
}
