/* Valley House Design — original Adobe Portfolio layout; Inter Black outlined logo; Inter Tight Black headings; Inter Tight Light text; all black; Inter Tight Light text */
@font-face { font-family: "Inter"; src: url("/fonts/inter-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("/fonts/inter-tight-300.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("/fonts/inter-tight-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("/fonts/inter-tight-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }
:root {
  --zz: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14.5' height='5'%3E%3Cpath d='M0 4.19 L7.25 .81 L14.5 4.19' fill='none' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E");
  --ink: #000000;
  --grey: #000000;
  --text: #000000;
  --nav-grey: #000000;
  --hover: rgb(212, 132, 57);
  --side: 70px; /* left/right margin for header, body and footer */
  --font: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --head: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font-family: var(--font); font-weight: 300; font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }
:focus-visible { outline: 2px solid var(--hover); outline-offset: 2px; }

/* header */
.site-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 28px var(--side) 0; }
.wordmark { text-decoration: none; display: block; }
.wordmark-name { display: block; font-family: "Inter", var(--head); font-size: 36px; line-height: 50px; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; color: #000;  white-space: nowrap; }
.js .wordmark-name { opacity: 0; }
.js .wordmark-name.ready { opacity: 1; transition: opacity .15s; }
/* outlined logo: a black stroked copy sits underneath, white-filled letters on top hide the inner overlaps */
@supports (-webkit-text-stroke: 1px #000) {
  .wordmark-name { position: relative; z-index: 0; color: #fff; }
  .wordmark-name::before { content: attr(data-text); position: absolute; left: 0; top: 0; z-index: -1; color: #000; -webkit-text-stroke: 2.2px #000; }
}
.wordmark-name.solid { color: #000; }
.wordmark-name.solid::before { display: none; }
.wordmark-tag { display: block; margin-top: -4px; font-size: 15px; line-height: 20px; font-weight: 300; text-transform: uppercase; color: #000; }
.site-nav { display: flex; gap: 15px; padding-top: 2px; }
.site-nav a { text-decoration: none; font-size: 15px; line-height: 30px; font-weight: 300; text-transform: uppercase; color: var(--nav-grey); transition: color .2s; }
.site-nav a { padding-bottom: 11px; background: var(--zz) repeat-x 0 24px / 14.5px 5px; }
.site-nav a:hover { background: linear-gradient(#000, #000) no-repeat 0 26.5px / 100% 1px; }
.site-nav a[aria-current], .site-nav a[aria-current]:hover { background: var(--zz) repeat-x 0 24px / 14.5px 5px, var(--zz) repeat-x 0 29px / 14.5px 5px; }

/* home grid: edge to edge, no gutters, title on hover */
.grid { list-style: none; margin: 36px 0 0; padding: 0 var(--side); display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; }
.card { position: relative; display: block; text-decoration: none; }
.card-img { display: block; aspect-ratio: 427 / 334; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-details { position: absolute; inset: 0; background: rgba(114, 128, 56, .94); color: #fff; padding: 34px; display: flex; flex-direction: column; justify-content: center; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .15s; }
.card:hover .card-details, .card:focus-visible .card-details { opacity: 1; }
.card-title { display: block; font-family: var(--head); font-size: 23px; line-height: 28px; font-weight: 900; letter-spacing: -.01em; padding: 0 0 5px; }
.card-services { display: block; font-size: 15px; line-height: 21px; font-weight: 400; }

/* project page */
main { min-height: 50vh; }
.project { padding-top: 48px; }
.project-head, .module.text, .module.label { width: min(900px, calc(100% - 2 * var(--side))); margin-left: var(--side); margin-right: auto; }
.project-head h1 { margin: 0 0 12px; font-family: var(--head); font-size: 32px; line-height: 42px; font-weight: 900; letter-spacing: -.01em; color: var(--text); padding-top: 14px; }
.description, .module.text { font-size: 17px; line-height: 27px; font-weight: 300; color: var(--text); }
.description p, .module.text p { margin: 0 0 22px; }
/* links: zigzag underline that flattens on hover */
.module.text a, .description a, .about .prose a { color: inherit; text-decoration: none; padding-bottom: 4px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14.5' height='5'%3E%3Cpath d='M0 4.19 L7.25 .81 L14.5 4.19' fill='none' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E") repeat-x 0 100% / 14.5px 5px; }
.module.text a:hover, .description a:hover, .about .prose a:hover { color: inherit; background: linear-gradient(#000, #000) no-repeat 0 calc(100% - 1.5px) / 100% 1px; }
.module.text { padding-top: 20px; }
.project-head + .module.text { padding-top: 0; }
.module.label { margin-top: 70px; margin-bottom: 40px; text-align: left; font-family: var(--head); font-size: 28px; line-height: 38px; font-weight: 900; letter-spacing: -.01em; color: var(--text); }
.module.image, .module.row { margin: 0 var(--side) 30px; }
.module figure { margin: 0; }
.module.image figure { display: flex; justify-content: flex-start; }
.module.image img { width: min(100%, var(--w, 100%)); }
.module.row { display: flex; justify-content: flex-start; align-items: flex-start; gap: 24px; }
.module.row figure { flex: 1 1 0; min-width: 0; display: flex; justify-content: flex-start; }
.module.row img { width: min(100%, var(--w, 100%)); }

/* about */
.about { display: grid; grid-template-columns: minmax(0, 800px) minmax(0, 379px); justify-content: space-between; gap: 13px; padding: 100px var(--side) 0; align-items: start; }
.about h1 { margin: 0 0 16px; font-family: var(--head); font-size: 36px; line-height: 44px; font-weight: 900; letter-spacing: -.01em; color: var(--text); }
.about .prose { font-size: 15px; line-height: 26px; font-weight: 400; color: var(--text); }
.about .prose p { margin: 0 0 20px; }
.about-img { margin: 30px 0 0; }
.notfound { width: min(800px, calc(100% - 40px)); margin: 0 auto; padding-top: 48px; }
.notfound h1 { font-family: var(--head); font-size: 40px; font-weight: 900; color: var(--text); }

/* footer */
.site-footer { margin-top: 100px; padding: 0 0 30px; text-align: center; }
.site-footer hr { width: auto; height: 25px; margin: -10px var(--side) 4px; border: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14.5' height='5'%3E%3Cpath d='M0 4.19 L7.25 .81 L14.5 4.19' fill='none' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E") repeat-x 0 10px / 14.5px 5px; }
.site-footer hr:hover { background: linear-gradient(#000, #000) no-repeat 0 12px / 100% 1px; }
.site-footer p { margin: 0; padding: 0 var(--side); font-size: 15px; line-height: 24px; font-weight: 300; color: var(--text); }
.footer-name { display: inline-block; height: 24px; line-height: 24px; vertical-align: top; white-space: nowrap; font-family: var(--head); font-weight: 900; text-transform: uppercase; letter-spacing: .12em; font-size: 15px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* tablets and phones */
@media (max-width: 1024px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  :root { --side: 20px; }
  .site-header { flex-direction: column; padding-top: 24px; }
  .wordmark-name { font-size: clamp(14px, 5vw, 24px); line-height: 32px; letter-spacing: .07em; }
  .wordmark-name::before { -webkit-text-stroke-width: 1.6px; }
  .wordmark-tag { font-size: 12px; line-height: 17px; }
  .grid { grid-template-columns: 1fr; margin-top: 24px; }
  .module.image, .module.row { margin-bottom: 24px; }
  .module.row { flex-direction: column; align-items: stretch; }
  .module.row figure { flex: none; width: 100%; }
  .project-head h1 { font-size: 24px; line-height: 32px; }
  .description, .module.text { font-size: 16px; line-height: 25px; }
  .module.label { font-size: 22px; line-height: 30px; margin-top: 40px; }
  .about { grid-template-columns: 1fr; padding-top: 40px; }
  .about-img { max-width: 379px; }
}
/* touch screens have no hover: show the title under each cover */
@media (hover: none) {
  .card-details { position: static; display: block; opacity: 1; background: none; color: var(--ink); padding: 12px 20px 22px; }
  .card-title { font-size: 18px; line-height: 26px; padding: 0 0 4px; color: var(--text); }
  .card-services { font-size: 15px; line-height: 21px; color: var(--text); }
}
@media (prefers-reduced-motion: reduce) { .card-details { transition: none; } }

/* combined pages (Smaller Projects, The American Institute of Architects): smaller section headings, tighter space under them */
.project-smaller-projects .module.label, .project-american-institute-of-architects .module.label, .project-cool-jacket-productions .module.label , .project-writing .module.label { font-size: 22px; line-height: 28px; margin-top: 60px; margin-bottom: 6px; }
.project-smaller-projects .module.label + .module.text, .project-american-institute-of-architects .module.label + .module.text, .project-cool-jacket-productions .module.label + .module.text , .project-writing .module.label + .module.text { padding-top: 0; }
.project-smaller-projects .module.text p, .project-american-institute-of-architects .module.text p, .project-cool-jacket-productions .module.text p , .project-writing .module.text p { margin-bottom: 14px; }
@media (max-width: 760px) { .project-smaller-projects .module.label, .project-american-institute-of-architects .module.label, .project-cool-jacket-productions .module.label , .project-writing .module.label { font-size: 19px; line-height: 25px; margin-top: 40px; } }
.project-writing .module.row { align-items: center; }
.project-writing .module.row figure:last-child { flex: .62 1 0; }
/* readable line length on project pages: ~55-60 characters */
.project .description, .project .module.text { max-width: 27em; }
/* project body copy flows into two ~55-character columns when there's room, one column otherwise */
.project .module.text.cols { max-width: none; width: min(calc(54em + 48px), calc(100% - 2 * var(--side))); columns: 27em 2; column-gap: 48px; }
.project .module.text.cols p { break-inside: avoid; }
.project .module.text p:last-child { margin-bottom: 0; }
.project .module.text + .module.image, .project .module.text + .module.row { margin-top: 30px; }
