/* Jake Aspinwall Design */
:root {
  --paper: #f5f1ea;
  --paper-deep: #ece6dc;
  --ink: #2a2521;
  --muted: #685e55;
  --line: #d9d0c3;
  --serif: ivypresto-display, "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: sofia-pro, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --gutter: clamp(20px, 4vw, 64px);
  --max: 1440px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* Labels */
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 400;
}

h2.eyebrow { margin: 0; line-height: inherit; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(245, 241, 234, .94);
  backdrop-filter: saturate(140%) blur(6px);
  -webkit-backdrop-filter: saturate(140%) blur(6px);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.wordmark {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: .2em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav { display: flex; gap: clamp(18px, 3vw, 40px); }
.nav a {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 400; padding: 6px 0; border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { border-color: var(--ink); }

/* Home hero */
.hero { padding: 0 var(--gutter); max-width: calc(var(--max) + 2 * var(--gutter)); margin: 0 auto; }
.hero figure { margin: 0; }
.hero img { aspect-ratio: 3 / 2; object-fit: cover; max-height: 86vh; }
.caption {
  margin-top: 12px;
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}

/* Intro statement */
.statement { padding: clamp(72px, 12vw, 168px) 0; text-align: center; }
.statement p {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.25;
  max-width: 22em; margin: 0 auto;
}
.text-link {
  display: inline-block; margin-top: 36px;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 400;
  border-bottom: 1px solid var(--ink); padding-bottom: 4px;
}

/* Projects index */
.section-head {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 1px solid var(--line); padding-top: 20px; margin-bottom: clamp(28px, 4vw, 48px);
}
.projects { padding-bottom: clamp(80px, 12vw, 160px); }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 6vw, 88px) clamp(20px, 3vw, 40px); }
.project-card.wide { grid-column: 1 / -1; }
.project-card .frame { overflow: hidden; background: var(--paper-deep); }
.project-card img { aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.project-card.wide img { aspect-ratio: 16 / 9; }
.project-card a:hover img { transform: scale(1.025); }
.project-card .meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: 18px; gap: 16px; }
.project-card h3 {
  margin: 0; font-family: var(--serif); font-weight: 300;
  font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1;
}

/* Studio */
.studio { background: var(--paper-deep); padding: clamp(80px, 11vw, 150px) 0; }
.studio .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.studio h2, .inquire h2, .project-title h1 {
  margin: 0; font-family: var(--serif); font-weight: 300; line-height: 1.08;
}
.studio h2 { font-size: clamp(32px, 4vw, 54px); margin-top: 18px; }
.studio p.body { margin-top: 24px; max-width: 30em; color: #4a433d; }
.studio img { aspect-ratio: 4 / 5; object-fit: cover; max-width: 460px; justify-self: end; }

/* Inquire */
.inquire { padding: clamp(96px, 13vw, 180px) 0; text-align: center; }
.inquire h2 { font-size: clamp(34px, 4.6vw, 64px); margin-top: 18px; }
.button {
  display: inline-block; margin-top: 36px;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 400;
  border: 1px solid var(--ink); padding: 16px 34px;
  transition: background .2s, color .2s;
}
.button:hover { background: var(--ink); color: var(--paper); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 32px; font-size: 13px; }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a, .footer-contact a { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 400; }
.footer-contact { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-area { margin-top: 36px; color: var(--muted); }
.footer-legal { margin-top: 24px; display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }

/* Project page */
.project-title { padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); }
.project-title h1 { font-size: clamp(48px, 8vw, 120px); margin-top: 18px; letter-spacing: -.01em; }
.project-title .lede {
  margin-top: 28px; max-width: 34em;
  font-family: var(--serif); font-weight: 300; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.45;
}
.facts { display: flex; gap: clamp(24px, 5vw, 72px); margin-top: 40px; flex-wrap: wrap; }
.facts div span { display: block; }
.facts div span + span { margin-top: 4px; font-size: 14px; }

.gallery { display: grid; gap: clamp(20px, 3vw, 40px); padding-bottom: clamp(80px, 11vw, 150px); }
.gallery figure { margin: 0; }
.gallery .full img { aspect-ratio: 3 / 2; object-fit: cover; }
.gallery .pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.gallery .pair img { aspect-ratio: 4 / 5; object-fit: cover; }
.gallery .offset { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.gallery .offset .tall img { aspect-ratio: 4 / 5; object-fit: cover; }
.gallery .offset .wide img { aspect-ratio: 7 / 5; object-fit: cover; }
.gallery .note {
  padding: clamp(48px, 7vw, 96px) 0; max-width: 32em; margin: 0 auto; text-align: center;
  font-family: var(--serif); font-weight: 300; font-size: clamp(20px, 2vw, 28px); line-height: 1.45;
}

.next-project { border-top: 1px solid var(--line); padding: clamp(56px, 8vw, 100px) 0; text-align: center; }
.next-project a h2 { margin: 16px 0 0; font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 6vw, 84px); line-height: 1; }
.next-project a:hover h2 { font-style: italic; }

@media (max-width: 767px) {
  .site-header .wrap { height: 64px; }
  .nav { gap: 16px; }
  .nav a { font-size: 10px; letter-spacing: .16em; }
  .hero { padding: 0; }
  .hero img { aspect-ratio: 4 / 5; max-height: none; }
  .hero .caption { padding: 0 var(--gutter); }
  .project-grid { grid-template-columns: 1fr; }
  .project-card.wide img { aspect-ratio: 4 / 5; }
  .studio .wrap { grid-template-columns: 1fr; }
  .studio img { justify-self: stretch; max-width: none; }
  .wordmark { font-size: 13px; letter-spacing: .12em; }
  .nav { gap: 14px; }
  .nav a { letter-spacing: .12em; }
  .gallery .pair { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gallery .offset { grid-template-columns: 1fr; }
  .gallery .offset .wide img { aspect-ratio: 3 / 2; }
  .footer-legal { flex-direction: row; }
}

/* ---------- Full site additions ---------- */
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.site-footer .brand-mark { width: 44px; height: 44px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 20; }
.skip-link:focus { left: 8px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 1px solid var(--ink); outline-offset: 3px; }

/* Page titles */
.page-title { padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); }
.page-title h1 { margin: 18px 0 0; font-family: var(--serif); font-weight: 300; line-height: 1.08; font-size: clamp(40px, 6vw, 88px); max-width: 14em; }
.page-title .lede { margin-top: 24px; max-width: 34em; font-family: var(--serif); font-weight: 300; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.45; }

/* Projects index */
.project-list { display: grid; gap: clamp(72px, 10vw, 140px); padding-bottom: clamp(80px, 11vw, 150px); }
.project-row { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(24px, 4vw, 64px); align-items: end; }
.project-row:nth-child(even) { grid-template-columns: 4fr 7fr; }
.project-row:nth-child(even) .frame { order: 2; }
.project-row .frame { overflow: hidden; background: var(--paper-deep); }
.project-row img { aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.project-row a:hover img { transform: scale(1.025); }
.project-row h2 { margin: 14px 0 0; font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 4vw, 56px); line-height: 1.05; }
.project-row p { margin-top: 18px; color: #4a433d; max-width: 26em; }
.project-row .text-link { margin-top: 28px; }

/* Gallery extras */
.gallery .capped { max-width: 1100px; width: 100%; margin: 0 auto; }

/* Studio page */
.split { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.reverse { grid-template-columns: 6fr 5fr; }
.split.reverse > :first-child { order: 2; }
.split img { aspect-ratio: 4 / 5; object-fit: cover; }
.split h2 { margin: 18px 0 0; font-family: var(--serif); font-weight: 300; font-size: clamp(30px, 3.6vw, 50px); line-height: 1.1; }
.prose p { margin-top: 20px; max-width: 32em; color: #4a433d; }
.band { padding: clamp(72px, 10vw, 140px) 0; }
.band.tint { background: var(--paper-deep); }
.services { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); margin-top: clamp(36px, 5vw, 64px); }
.services img { aspect-ratio: 4 / 5; object-fit: cover; }
.services h3 { margin: 22px 0 0; font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 2.6vw, 36px); }
.services p { margin-top: 10px; color: #4a433d; max-width: 28em; }
.band-head h2 { margin: 18px 0 0; font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 4vw, 54px); line-height: 1.1; }
.process { list-style: none; padding: 0; margin: clamp(36px, 5vw, 64px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.process li { border-top: 1px solid var(--line); padding-top: 20px; }
.process h3 { margin: 12px 0 0; font-family: var(--serif); font-weight: 300; font-size: 24px; }
.process p { margin-top: 8px; color: #4a433d; font-size: 15px; }
.faq { margin-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line); max-width: 880px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 40px 24px 0; position: relative; font-family: var(--serif); font-size: clamp(19px, 1.7vw, 24px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 22px; font-family: var(--sans); font-weight: 300; font-size: 22px; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 24px; max-width: 40em; color: #4a433d; }

/* Inquire page */
.inquire-grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(32px, 6vw, 96px); padding-bottom: clamp(80px, 11vw, 150px); align-items: start; }
.inquire-aside img { aspect-ratio: 4 / 5; object-fit: cover; }
.contact-lines { margin-top: 32px; display: grid; gap: 18px; }
.contact-lines span { display: block; }
.contact-lines a { font-size: 17px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.contact-form .wide { grid-column: 1 / -1; }
.contact-form label { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 400; margin-bottom: 8px; }
.contact-form .field-optional { text-transform: none; letter-spacing: 0; font-size: 12px; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form select, .contact-form textarea {
  width: 100%; border: 0; border-bottom: 1px solid #8a7f72; background: transparent; border-radius: 0;
  font: inherit; font-size: 17px; color: var(--ink); padding: 8px 0 10px; -webkit-appearance: none; appearance: none;
}
.contact-form select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 24px; }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-bottom-color: var(--ink); }
.contact-form input[type="submit"] { justify-self: start; background: transparent; color: var(--ink); cursor: pointer; font: inherit; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 400; border: 1px solid var(--ink); padding: 16px 40px; -webkit-appearance: none; appearance: none; border-radius: 0; }
.contact-form input[type="submit"]:hover { background: var(--ink); color: var(--paper); }
.contact-form input[type="submit"]:disabled { opacity: .6; cursor: default; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.w-form-done, .w-form-fail { display: none; }
.w-form-done { padding: 48px 0; font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); line-height: 1.2; }
.w-form-fail { margin-top: 20px; color: #8a3b2e; }
.inquiry-check { grid-column: 1 / -1; }

/* Text pages */
.prose-page { max-width: 760px; padding-bottom: clamp(80px, 11vw, 150px); }
.prose-page p { margin-top: 20px; color: #4a433d; }
.prose-page a { border-bottom: 1px solid var(--ink); }

@media (max-width: 767px) {
  .brand { gap: 10px; }
  .brand-mark { width: 28px; height: 28px; }
  .project-row, .project-row:nth-child(even) { grid-template-columns: 1fr; }
  .project-row:nth-child(even) .frame { order: 0; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .services { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .inquire-grid { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
}
@media (max-width: 440px) {
  .site-header .brand .wordmark { display: none; }
}
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Sections that follow a band with no gap of their own */
.inquire.flush, .band.flush { padding-top: 0; }
