/* THE DREA PROJECT — rebuilt to match the original site */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --ink: #2e2e2e;
  --muted: #969696;
  --rule: #e4e4e4;
  --gutter: clamp(1rem, 3vw, 2.25rem);
  --max: 1140px;
}

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid #6b6b6b; outline-offset: 3px; }

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

/* ---------- header ---------- */

.site-header {
  padding: 1.5rem 0 1.25rem;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.wordmark {
  font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2.1rem);
  letter-spacing: .01em;
  text-transform: uppercase;
  color: #1a1a1a;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.site-nav { display: flex; flex-wrap: wrap; gap: clamp(1rem, 2.5vw, 2.1rem); }
.site-nav a {
  font-size: clamp(1rem, .92rem + .3vw, 1.15rem);
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s ease;
  white-space: nowrap;
}
.site-nav a:hover { color: #4a4a4a; }
.site-nav a[aria-current="page"] { color: #1a1a1a; }

main { flex: 1; }

/* ---------- home ---------- */

.hero { margin-bottom: 2.75rem; }
.hero img { width: 100%; height: auto; }

.tagline {
  font-family: "Roboto Mono", "Courier New", monospace;
  font-size: clamp(.95rem, .75rem + .7vw, 1.32rem);
  line-height: 1.85;
  color: #4d4d4d;
  text-align: center;
  margin: 0 auto 4.5rem;
  max-width: 46rem;
  letter-spacing: -.01em;
}

/* ---------- collections ---------- */

.gallery { padding-bottom: 3.5rem; }
.row {
  display: grid;
  gap: clamp(.75rem, 2vw, 3rem);
  margin-bottom: clamp(1.25rem, 3vw, 2.75rem);
}
.row-2 { grid-template-columns: repeat(2, 1fr); }
.row-3 { grid-template-columns: repeat(3, 1fr); }

.tile { margin: 0; }
.tile a { display: block; }
.tile img { width: 100%; height: auto; }

/* row 1 sits in a 4:3 frame, as on the original */
.row-1 .tile img { aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- contact ---------- */

.page-body { padding-bottom: 4rem; }
.required-note { color: var(--muted); font-size: .85rem; margin: 0 0 1.75rem; }
.form { max-width: 34rem; }
.field { margin-bottom: 1.5rem; }
.field > label,
.field > span.label { display: block; font-size: .95rem; margin-bottom: .45rem; }
.name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.sub { font-size: .8rem; color: var(--muted); margin-top: .3rem; }
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfcfcf;
  border-radius: 2px;
  padding: .6rem .7rem;
  transition: border-color .2s ease;
}
input:focus, textarea:focus { outline: none; border-color: #8a8a8a; }
textarea { min-height: 8.5rem; resize: vertical; }
.req { color: #c0392b; }
.hp { position: absolute; left: -9999px; }
button[type="submit"] {
  font: inherit;
  font-size: .95rem;
  background: #3d3d3d;
  color: #fff;
  border: 0;
  border-radius: 2px;
  padding: .7rem 1.9rem;
  cursor: pointer;
  transition: background .2s ease;
}
button[type="submit"]:hover { background: #1a1a1a; }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 1.6rem 0 2.25rem;
  font-size: clamp(.95rem, .9rem + .25vw, 1.08rem);
  font-weight: 500;
  color: var(--muted);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: clamp(1.25rem, 3vw, 2rem); }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: #4a4a4a; }

/* ---------- responsive ---------- */

@media (max-width: 720px) {
  .site-header .wrap { flex-direction: column; align-items: flex-start; gap: .9rem; }
  .row-3 { grid-template-columns: repeat(2, 1fr); }
  .name-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .row-2, .row-3 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .01ms !important; }
}
