/* EsoteriCam Productions. Site styles written from scratch to match the original
   design exactly. Fonts come from America's Adobe Fonts web project (kit gwm7sod). */

:root {
  --bg: #fafafa;
  --ink: rgba(0, 0, 0, .6);
  --ink-strong: rgb(64, 64, 64);
  --ink-dark: rgb(29, 29, 29);
  --accent: rgb(192, 191, 170);
  --frame: 50px;
  --pad: 50px;
  --serif: "freight-big-pro", Georgia, serif;
  --sans: "futura-pt", "Futura", "Century Gothic", sans-serif;
}
@media (max-width: 640px) { :root { --frame: 20px; --pad: 20px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--serif); font-size: 19px; font-weight: 500; line-height: 1.6; letter-spacing: .02em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, iframe, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.skip { position: absolute; left: -10000px; }
.skip:focus { left: 10px; top: 10px; z-index: 100; background: #fff; padding: 8px 12px; }

/* ---------- Frame ---------- */
.frame { border: var(--frame) solid var(--bg); position: relative; }
.inner { max-width: 1325px; margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Header ---------- */
.hdr { position: relative; z-index: 10; height: 90px; background: var(--bg); }
.hdr--overlay { position: absolute; left: 0; right: 0; top: 0; background: transparent; }
.hdr .hdr-in { max-width: 1325px; margin: 0 7.5px; padding: 40px 37.5px 0; display: flex; align-items: center; }
@media (min-width: 1340px) { .hdr .hdr-in { margin: 0 auto; } }
.brand { padding: 10px 12.5px; font-family: var(--serif); font-size: 30px; line-height: 30px; font-weight: 400; letter-spacing: .04em; color: var(--ink-strong); white-space: nowrap; }
.hdr--overlay .brand, .hdr--overlay .nav a { color: #fff; }
.nav { display: flex; flex-wrap: wrap; padding: 10px 12.5px; margin-left: 28.5px; }
.nav a { font-family: var(--sans); font-size: 15px; line-height: 15px; font-weight: 400; letter-spacing: .06em; color: var(--ink-strong); padding: 9.27px 0; margin: 0 12px; }
.nav a:hover { opacity: .7; }

/* phone header */
.mbar, .mmenu { display: none; }
@media (max-width: 640px) {
  body { margin-top: 56px; }
  .hdr { display: none; }
  .mbar { display: flex; position: fixed; top: 0; left: 0; right: 0; z-index: 20; height: 56px; padding: 8px 12px; align-items: center; justify-content: space-between; background: var(--bg); }
  .mbar .brand { padding: 8px; font-size: 24px; line-height: 24px; letter-spacing: .02em; color: rgba(64, 64, 64, .85); }
  .mbar button { background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
  .mbar button span { display: block; width: 25px; height: 1px; background: currentColor; }
  .mbar button span + span { margin-top: 6px; }
  .mmenu { display: block; position: fixed; inset: 0; z-index: 30; visibility: hidden; opacity: 0; transition: opacity .3s ease, visibility 0s linear .3s; }
  .menu-open .mmenu { visibility: visible; opacity: 1; transition: opacity .3s ease; }
  .mmenu .back { position: absolute; inset: 0; background: rgba(0, 0, 0, .2); border: 0; }
  .mmenu .panel { position: absolute; left: 0; top: 0; bottom: 0; width: calc(100% - 60px); background: var(--bg); padding: 36px; overflow: auto; transform: translateX(-30px); transition: transform .3s ease; }
  .menu-open .mmenu .panel { transform: none; }
  .mmenu .panel a { display: block; font-family: var(--serif); font-size: 28px; line-height: 28px; font-weight: 400; letter-spacing: .02em; color: rgba(64, 64, 64, .85); padding-bottom: 17.3px; }
  .mmenu .close { position: absolute; right: 0; top: 0; width: 60px; height: 60px; background: var(--bg); border: 0; cursor: pointer; padding: 22px; }
  .mmenu .close svg { width: 16px; height: 16px; stroke: var(--ink); stroke-width: 1.5; }
}
@media (prefers-reduced-motion: reduce) { .mmenu, .mmenu .panel { transition: none !important; } }

/* ---------- Sections with a picture behind them ---------- */
.ip { position: relative; overflow: hidden; background: var(--bg); }
.ip--img { background: #000; color: #fff; }
.ip-bg { position: absolute; left: 0; right: 0; top: -12%; height: 124%; }
.ip-bg img, .ip-bg video { width: 100%; height: 100%; object-fit: cover; }
.ip-bg video { position: absolute; inset: 0; }
.ip-content { position: relative; max-width: 1325px; margin: 0 auto; padding: 90px var(--pad); }
.ip--img .ip-content { padding: 240px var(--pad); }
.ip--first .ip-content { margin-top: 90px; }
.ip--first.ip--img .ip-content { padding-top: 240px; }
.scroll-line { position: absolute; left: 50%; bottom: 0; width: 2px; height: 45px; margin-left: -1px; background: #fff; }
@media (max-width: 640px) {
  .ip-content, .ip--img .ip-content { padding: 60px var(--pad); }
  .ip--first .ip-content { margin-top: 0; }
  .ip--first.ip--img .ip-content { padding-top: 60px; }
  .ip--first.ip--img { min-height: calc(100vh - 76px); display: flex; align-items: center; }
  .ip--first.ip--img .ip-content { flex: 1; }
}

.intro { position: relative; overflow: hidden; background: #000; color: #fff; }
.intro::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .125); z-index: 1; }
.intro .ip-bg { z-index: 0; }
.intro-content { position: relative; z-index: 2; max-width: 1325px; margin: 90px auto 0; padding: 48px var(--pad); }
@media (max-width: 640px) { .intro-content { margin-top: 0; padding: 60px var(--pad); } }

.main { max-width: 1325px; margin: 0 auto; padding: 80px var(--pad); }
@media (max-width: 640px) { .main { padding: 60px var(--pad); } }

/* ---------- Grid (12 columns) ---------- */
.row { display: flex; margin: 0 -17px; }
.col { min-width: 0; }
.col > .row { margin: 0; }
.blk { padding: 17px; }
.grid > .row:first-child > .col > .blk:first-child, .grid > .row:first-child > .col > .row:first-child > .col > .blk:first-child, .grid > .row:first-child > .col > .row:first-child > .col > .row:first-child > .col > .blk:first-child { padding-top: 0; }
@media (max-width: 640px) {
  .row { display: block; margin: 0 -17px; }
  .col > .row { margin: 0; }
  .col { max-width: none !important; flex: none !important; }
  .frame { border-top-width: 0; }
  .b-spacer.side { display: none; }
  .b-spacer { height: var(--hm) !important; }
  .b-btn .btn--large { font-size: 15px; letter-spacing: .3em; padding: 21px 46px; }
  .grid > .row:first-child > .col > .blk:first-child { padding-top: 17px; }
  .btn--large { font-size: 15px; letter-spacing: .3em; padding: 21px 46px; }
}

/* ---------- Text ---------- */
h1, h2, h3, h4, p { margin: 0; }
h1 { color: var(--ink-strong); font-family: var(--serif); font-size: 80px; line-height: 1; font-weight: 400; letter-spacing: .02em; margin-top: 15px; }
h2 { font-family: var(--sans); font-size: 30px; line-height: 1.2; font-weight: 400; letter-spacing: .15em; text-transform: lowercase; margin-bottom: 24.9px; }
h3 { font-family: var(--serif); font-size: 30px; line-height: 1; font-weight: 400; letter-spacing: .02em; color: rgba(64, 64, 64, .9); margin-top: 30px; }
.b-text > :first-child { margin-top: 0; }
.b-text > :last-child { margin-bottom: 0; }
h3 + p, h2 + h3 { margin-top: 30px; }
p + p { margin-top: 19px; }
p + h3 { margin-top: 30px; }
.b-text a { color: rgba(64, 64, 64, .85); border-bottom: 1px solid rgba(64, 64, 64, .255); padding-bottom: .05em; }
h3 a, h2 a { border: 0 !important; color: inherit !important; }
.ta-center { text-align: center; }
.ta-right { text-align: right; }
.on-img, .on-img h1, .on-img h2, .on-img h3, .on-img p, .on-img a { color: #fff; }
@media (max-width: 640px) {
  h1 { font-size: 32px; letter-spacing: 0; }
  h2 { font-size: 28px; letter-spacing: .005em; margin-bottom: 23.24px; }
  h3 { font-size: 24px; letter-spacing: 0; margin-top: 24px; }
}

/* ---------- Buttons ---------- */
.b-btn { display: flex; }
.b-btn.center { justify-content: center; }
.b-btn.right { justify-content: flex-end; }
.btn { display: inline-block; font-family: var(--sans); font-size: 11px; line-height: normal; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); border: 2px solid var(--accent); padding: 21px 34px; transition: opacity .2s ease; }
.btn:hover { opacity: .8; }
.btn--small { font-size: 10px; padding: 13px 26px; }
.btn--large { font-size: 12px; font-weight: 400; letter-spacing: .3em; padding: 25px 46px; color: rgb(198, 197, 179); border-color: rgb(198, 197, 179); }
.on-img .btn { color: #fff; border-color: #fff; }

/* ---------- Images ---------- */
.b-img figure { margin: 0; }
.b-img .pic { position: relative; overflow: hidden; }
.b-img .pic img { width: 100%; height: 100%; object-fit: cover; }
.b-img .pic.crop img { position: absolute; inset: 0; }
.b-img figcaption { margin-top: 12px; }
.b-img figcaption p { font-size: 12px; line-height: 1.68; }
.b-img.center .pic, .b-img.center figcaption { margin-left: auto; margin-right: auto; }

/* card design: picture on one side, words on the other */
.b-img.card figure { display: flex; align-items: center; margin: 0; }
.b-img.card .pic-wrap { flex: 0 0 50%; }
.b-img.card.right figure { flex-direction: row-reverse; }
.b-img.card .card-text { flex: 1; margin-left: 10%; }
.b-img.card.right .card-text { margin-left: 0; margin-right: 10%; }
.b-img.card .card-text p { font-family: var(--serif); font-size: 18px; line-height: 1.55; font-weight: 400; letter-spacing: .015em; color: var(--ink); }
.b-img.card .card-text p:first-child { font-family: var(--sans); font-size: 30px; line-height: 1.25; letter-spacing: .08em; color: var(--ink-strong); }
.b-img.card .card-text p + p { margin-top: 9.5px; }
.b-img.card .card-text::after { content: ""; display: block; height: 9.5px; }
@media (max-width: 640px) {
  .b-img.card figure, .b-img.card.right figure { display: block; }
  .b-img.card .card-text { margin: 24px 0 0; }
}

/* ---------- Video ---------- */
.b-video .frame16 { position: relative; overflow: hidden; background: #000; }
.b-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Divider, quote ---------- */
.b-hr hr { border: 0; height: 1px; background: rgb(204, 204, 204); margin: 9.5px 0; }
.b-quote { padding-left: 0; padding-right: 0; }
.b-quote blockquote { margin: 0; font-family: var(--serif); font-size: 40px; line-height: 1.1; font-style: italic; font-weight: 400; letter-spacing: .01em; }
.b-quote figcaption { font-family: var(--sans); font-size: 16px; line-height: 2; font-weight: 500; letter-spacing: .1em; padding-top: 8px; }

/* ---------- Project grids (summary) ---------- */
.b-summary .items { display: grid; gap: 10px; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
.b-summary.wide .items { column-gap: 60px; row-gap: 60px; }
.b-summary .thumb { position: relative; padding-bottom: 100%; overflow: hidden; display: block; margin-bottom: 15px; }
.b-summary .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .2s ease; }
.b-summary .thumb:hover img { opacity: .85; }
.b-summary .title { font-size: 20px; line-height: 24px; text-align: center; margin: 0 0 2px; }
.b-summary.wide .title { margin-bottom: 10px; }
.b-summary .more { display: block; font-size: 14px; line-height: 20px; text-align: center; margin-bottom: 10px; }
.b-summary .date { font-size: 13px; line-height: 18.2px; text-align: center; }
@media (max-width: 640px) { .b-summary .items { grid-template-columns: 1fr; } }

/* ---------- Gallery grid ---------- */
.b-gallery .slides { display: grid; gap: 10px; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.b-gallery .slide { display: block; }
.b-gallery .slide .pic { position: relative; padding-bottom: var(--ratio, 66.6667%); overflow: hidden; }
.b-gallery .slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.b-gallery .meta { padding: 10px 0; }
.b-gallery .meta .t { font-size: 16px; line-height: 1.4; }
.b-gallery .meta .d { font-size: 14px; line-height: 1.5; }
@media (max-width: 640px) { .b-gallery .slides { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Form ---------- */
.b-form .field { margin-bottom: 18px; }
.b-form .label { display: block; font-size: 19px; line-height: normal; padding-bottom: 4px; }
.b-form .req, .b-form .sub { font-size: 12px; line-height: normal; }
.b-form .sub { display: block; margin: 7px 0 2px; }
.b-form .names { display: flex; gap: 9px; }
.b-form .names > div { flex: 1; }
.b-form input, .b-form textarea { width: 100%; font: inherit; font-weight: 500; color: rgb(39, 39, 39); background: var(--bg); border: 1px solid rgb(169, 169, 169); padding: 10px; border-radius: 0; height: 46px; }
.b-form textarea { height: 100px; resize: vertical; }
.b-form .submit { font-family: var(--sans); font-size: 19px; line-height: 30.4px; font-weight: 400; letter-spacing: .06em; color: rgb(198, 197, 179); background: transparent; border: 2px solid rgb(198, 197, 179); padding: 19px 47.5px; cursor: pointer; }
.on-img .b-form .submit { color: rgb(39, 39, 39); border-color: rgb(39, 39, 39); }
.b-form .thanks { display: none; }
.b-form.sent .thanks { display: block; }

/* ---------- Social links ---------- */
.b-social ul { list-style: none; display: flex; justify-content: center; gap: 14px; padding: 0; margin: 0; }
.b-social a { display: grid; place-items: center; width: 32px; height: 32px; color: rgba(0, 0, 0, .6); }
.b-social svg { width: 22px; height: 22px; fill: currentColor; }

/* ---------- Project list pages ---------- */
.plist .filter { padding-bottom: 48px; }
.plist .items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 20px; row-gap: 11px; }
.plist .title { font-size: 11px; line-height: 14.3px; font-weight: 400; letter-spacing: .17em; text-transform: uppercase; color: var(--ink-dark); margin-bottom: 10px; }
.plist .date { font-size: 11px; line-height: 30.4px; font-weight: 400; letter-spacing: .04em; color: var(--ink-dark); margin-bottom: 10px; }
.plist .pic { position: relative; padding-bottom: 150%; overflow: hidden; display: block; margin-bottom: 16.18px; }
.plist .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 640px) { .plist .items { grid-template-columns: 1fr; } }

/* ---------- Project pages ---------- */
.item-title { margin-top: 0; font-family: var(--serif); font-size: 25px; line-height: 1.5; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-dark); text-align: center; margin-bottom: 40px; }
.item-date { font-size: 11px; line-height: 30.4px; font-weight: 400; letter-spacing: .04em; color: var(--ink-dark); text-align: center; margin-bottom: 40px; }
.item-body { margin-bottom: 40px; }
.share { display: flex; justify-content: center; gap: 8px; margin-bottom: 40px; }
.share a { width: 13px; height: 13px; display: block; }
.share svg { width: 13px; height: 13px; }
.pager { display: flex; justify-content: space-between; gap: 20px; }
.pager { padding-top: 40px; }
.pager a { display: block; flex: 0 0 calc(50% - 42.5px); }
.pager .next { text-align: right; margin-left: auto; }
.pager .lbl { display: block; font-size: 10px; line-height: 5px; font-weight: 400; letter-spacing: .1em; color: rgb(97, 97, 97); padding: 4px 0; }
.pager .ttl { display: block; font-size: 11px; line-height: 14.3px; font-weight: 400; letter-spacing: .17em; text-transform: uppercase; color: var(--ink-dark); padding: 4px 0; }

/* ---------- Search ---------- */
.search-box input { width: 100%; font: inherit; padding: 10px 0; border: 0; border-bottom: 1px solid rgba(0, 0, 0, .3); background: transparent; color: var(--ink-strong); }
.search-results { margin-top: 30px; }
.search-results a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(0, 0, 0, .08); }

/* ---------- Footer ---------- */
.ftr { background: rgba(224, 224, 224, .1); }
.ftr .ftr-in { max-width: 1325px; margin: 0 auto; padding: 50px; min-height: 154px; }
@media (max-width: 640px) { .ftr .ftr-in { padding: 20px; min-height: 60px; } }
