/* Valerie Walker Design */
:root {
  --limestone: #E4E3DA;
  --plaster: #F4F3EE;
  --graphite: #2A2B28;
  --flint: #6B6C64;
  --pewter: #B4B2A6;
  --bronze: #57533F;
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --text: "Jost", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--plaster);
  color: var(--graphite);
  font-family: var(--text);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
}
img { display: block; width: 100%; height: auto; object-fit: cover; background: var(--limestone); }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--bronze); outline-offset: 3px;
}
h1, h2 { font-family: var(--display); font-weight: 300; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
p { margin: 0 0 1.1em; max-width: 62ch; }
ul.plain { list-style: none; margin: 0 0 1.4em; padding: 0; }
ul.plain li { margin-bottom: 0.35em; }
ul.plain a { text-decoration: none; border-bottom: 1px solid transparent; }
ul.plain a:hover { border-bottom-color: currentColor; }

/* Header */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px var(--gutter);
  background: var(--plaster);
  position: relative; z-index: 5;
}
.site-header.on-image {
  position: absolute; top: 0; left: 0; right: 0;
  background: transparent; color: #fff;
}
.wordmark { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1; }
.wordmark-name {
  font-family: var(--display); font-weight: 400; font-size: 1.5rem;
  letter-spacing: 0.2em; text-transform: uppercase; margin-right: -0.2em;
}
.wordmark-sub {
  font-family: var(--text); font-weight: 300; font-size: 0.62rem;
  letter-spacing: 0.56em; text-transform: uppercase; margin: 9px -0.56em 0 0;
}
.site-nav ul { display: flex; gap: clamp(18px, 3vw, 44px); list-style: none; margin: 0; padding: 0; }
.site-nav a {
  font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
  padding-bottom: 4px; border-bottom: 1px solid transparent;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: currentColor; }
.menu-toggle {
  display: none; background: none; border: 0; color: inherit; cursor: pointer;
  font: inherit; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; padding: 8px 0;
}

/* Home hero */
.hero { position: relative; height: min(94vh, 920px); min-height: 540px; color: #fff; overflow: hidden; }
.hero-image { position: absolute; inset: 0; height: 100%; object-position: center 40%; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,20,18,.42) 0%, rgba(20,20,18,0) 28%, rgba(20,20,18,0) 40%, rgba(20,20,18,.72) 100%);
}
.hero-text { position: absolute; z-index: 1; left: var(--gutter); right: var(--gutter); bottom: clamp(36px, 7vh, 84px); }
.hero-text h1 { max-width: 15em; }
.hero-text p { margin: 1.1em 0 0; font-size: 1.05rem; letter-spacing: 0.02em; }
@media (prefers-reduced-motion: no-preference) {
  .hero-text { animation: rise 1.1s ease-out both 0.15s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

.statement { padding: clamp(72px, 12vw, 150px) var(--gutter); }
.statement p {
  font-family: var(--display); font-size: clamp(1.5rem, 2.7vw, 2.25rem); line-height: 1.35;
  max-width: 30em; margin: 0 auto; text-align: center;
}

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2.4vw, 36px); padding: 0 var(--gutter); }
.tile { text-decoration: none; display: block; }
.tile img { aspect-ratio: 4 / 5; transition: opacity .3s ease; }
.tile:hover img { opacity: .86; }
.tile-title { display: block; font-family: var(--display); font-size: 1.7rem; margin-top: 16px; line-height: 1.2; }
.tile-note { display: block; color: var(--flint); font-size: 0.95rem; }

.split {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 6vw, 96px);
  padding: clamp(72px, 11vw, 140px) var(--gutter);
}
.text-link { text-underline-offset: 5px; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--bronze); }

/* Call to action band */
.cta {
  background: var(--graphite); color: var(--plaster); text-align: center;
  padding: clamp(64px, 9vw, 120px) var(--gutter);
}
.cta-line { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.25; max-width: 24em; margin: 0 auto 1.3em; }
.button {
  display: inline-block; font: inherit; font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; padding: 16px 34px;
  background: var(--graphite); color: var(--plaster); border: 1px solid var(--graphite);
  transition: background .2s ease, color .2s ease;
}
.button:hover { background: transparent; color: var(--graphite); }
.button-light { background: transparent; color: var(--plaster); border-color: var(--plaster); }
.button-light:hover { background: var(--plaster); color: var(--graphite); }

/* Inner pages */
.page-head { padding: clamp(48px, 8vw, 110px) var(--gutter) clamp(36px, 5vw, 64px); }
.page-head p { margin: 1.2em 0 0; color: var(--flint); font-size: 1.1rem; }

.project { padding: 0 var(--gutter) clamp(64px, 9vw, 120px); }
.project-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 32px;
  border-top: 1px solid var(--pewter); padding: 22px 0 26px;
}
.project-head p { margin: 0; color: var(--flint); }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2.4vw, 36px); }
.project-grid img { aspect-ratio: 4 / 5; }
.project-grid img.wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }

.process {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px);
  padding: 0 var(--gutter) clamp(72px, 10vw, 130px); align-items: start;
}
.process img { aspect-ratio: 4 / 5; position: sticky; top: 28px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li {
  counter-increment: step; display: grid; grid-template-columns: 3.2rem 1fr; column-gap: 12px;
  border-top: 1px solid var(--pewter); padding: 28px 0 22px;
}
.steps li::before {
  content: counter(step); font-family: var(--display); font-size: 2.6rem; line-height: 1; color: var(--bronze);
  grid-row: span 2;
}
.steps h2 { font-size: 1.9rem; margin-bottom: 10px; }
.steps p { grid-column: 2; margin: 0; }

.about {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px);
  padding: 0 var(--gutter) clamp(72px, 10vw, 130px); align-items: start;
}
.about img { aspect-ratio: 4 / 5; object-position: center 20%; }
.about h2 { margin: 0 0 0.6em; }
.about h2:not(:first-child) { margin-top: 1.6em; }
.services { margin: 0 0 1.4em; padding: 0; list-style: none; }
.services li { border-top: 1px solid var(--pewter); padding: 12px 0; }
.services li:last-child { border-bottom: 1px solid var(--pewter); }

.contact {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 6vw, 96px);
  padding: 0 var(--gutter) clamp(72px, 10vw, 130px); align-items: start;
}
.contact-details h2 { margin-bottom: 0.7em; }
.inquiry { display: grid; gap: 22px; max-width: 620px; }
.inquiry label { display: grid; gap: 6px; font-size: 0.95rem; color: var(--flint); }
.inquiry .optional { display: inline; }
.inquiry input, .inquiry textarea {
  font: inherit; color: var(--graphite); background: transparent;
  border: 0; border-bottom: 1px solid var(--pewter); border-radius: 0; padding: 8px 0; width: 100%;
}
.inquiry textarea { border: 1px solid var(--pewter); padding: 12px; resize: vertical; }
.inquiry input:focus, .inquiry textarea:focus { border-color: var(--graphite); }
.inquiry .button { justify-self: start; }
.form-status { margin: 0; min-height: 1.7em; }
.form-status.error { color: #8A2C1E; }

.crumb { margin: 0 0 14px; font-size: 0.95rem; color: var(--flint); }
.crumb a { text-decoration: none; border-bottom: 1px solid var(--pewter); }
.covers { row-gap: clamp(36px, 5vw, 64px); padding-bottom: clamp(72px, 10vw, 130px); }
.gallery { padding: 0 var(--gutter); column-gap: clamp(14px, 2vw, 28px); }
.gallery.cols-3 { columns: 3; }
.gallery.cols-2 { columns: 2; }
.gallery img { margin-bottom: clamp(14px, 2vw, 28px); break-inside: avoid; }
.back { padding: clamp(28px, 4vw, 48px) var(--gutter) clamp(64px, 9vw, 110px); margin: 0; max-width: none; }

/* Footer */
.site-footer { background: var(--limestone); padding: clamp(48px, 7vw, 88px) var(--gutter) 28px; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1.4fr 1fr; gap: 40px; }
.wordmark-footer { align-items: flex-start; margin: 0 0 18px; display: inline-flex; }
.footer-note { color: var(--flint); max-width: 26em; }
.footer-heading { font-family: var(--text); font-weight: 400; font-size: 0.95rem; margin: 0 0 12px; }
.copyright { margin: 44px 0 0; padding-top: 20px; border-top: 1px solid var(--pewter); color: var(--flint); font-size: 0.85rem; max-width: none; }

/* Small screens */
@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--plaster); color: var(--graphite); padding: 8px var(--gutter) 24px;
    border-bottom: 1px solid var(--pewter);
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--limestone); }
  .wordmark-name { font-size: 1.15rem; }
  .tiles, .split, .process, .about, .contact, .footer-grid { grid-template-columns: 1fr; }
  .process img { position: static; aspect-ratio: 3 / 2; }
  .gallery.cols-3, .gallery.cols-2 { columns: 1; }
}
@media (min-width: 821px) and (max-width: 1100px) {
  .gallery.cols-3 { columns: 2; }
}
