:root {
  --bg: #f5f0f0;
  --text: #4a2c17;
  --muted: #7a6a60;
  --line: #e2d8d5;
  --panel: #fbf8f7;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  line-height: 1.7;
  background: var(--bg);
  color: var(--text);
}

img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Header and navigation */
.site-header { padding: 32px 0 16px; text-align: center; }
.logo img { width: 220px; margin: 0 auto 20px; }
.nav { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 32px; }
.nav a {
  text-decoration: none;
  letter-spacing: 0.08em;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--text); }

/* Typography */
h1, h2, h3 { font-weight: 400; line-height: 1.3; text-transform: lowercase; }
h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 20px; }
p { margin-bottom: 16px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 12px;
}

/* Sections */
section { padding: 72px 0; }
.panel { background: var(--panel); }
.centre { text-align: center; max-width: 680px; margin: 0 auto; }

.hero { text-align: center; padding-top: 24px; }
.hero h1 { margin-bottom: 32px; }
.hero img { width: 100%; max-height: 640px; object-fit: cover; }
/* Home page hero image: change 30% to resize it (100% = full width) */
.hero .hero-img { width: 30%; min-width: 260px; max-height: none; margin: 0 auto; }
.hero .split { text-align: left; }
.statement { max-width: 640px; margin: 40px auto 0; font-size: 1.25rem; }
.hero .centre .statement { margin-top: 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* Values list (about page) */
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; text-align: left; margin-top: 12px; }
.values dt { font-weight: 400; font-size: 1.15rem; margin-bottom: 6px; text-transform: lowercase; }
.values dd { color: var(--muted); }

/* Buttons */
.buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.btn {
  display: inline-block;
  padding: 12px 28px;
  border: 1px solid var(--text);
  text-decoration: none;
  letter-spacing: 0.08em;
  font: inherit;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.btn:hover { background: var(--text); color: var(--bg); }
.btn.solid { background: var(--text); color: var(--bg); }
.btn.solid:hover { background: transparent; color: var(--text); }

/* Forms */
.form { display: grid; gap: 18px; max-width: 420px; margin: 32px 0; }
.form label { display: grid; gap: 6px; font-size: 0.95rem; }
.form input, .form textarea, .form select {
  font: inherit;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 12px 14px;
  width: 100%;
}
.form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text) 50%), linear-gradient(135deg, var(--text) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--text); }
.form textarea { min-height: 140px; resize: vertical; }
.form .btn { justify-self: start; }
.form .small { margin: 0; }
.hidden { display: none; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 48px 0; text-align: center; }
footer h3 { font-size: 1.3rem; margin-bottom: 4px; }
.social { display: flex; gap: 24px; justify-content: center; margin: 20px 0; }
.small { color: var(--muted); font-size: 0.8rem; }

/* Mobile */
@media (max-width: 760px) {
  section { padding: 48px 0; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .values { grid-template-columns: 1fr; }
}

/* Portfolio */
.square { aspect-ratio: 1 / 1; overflow: hidden; background: var(--line); display: block; width: 100%; border: 0; padding: 0; }
.square img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.collection-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 48px 32px; }
.card { text-decoration: none; display: block; }
.card h3 { font-size: 1.3rem; margin: 16px 0 6px; }
.card p { color: var(--muted); margin: 0; }
.card:hover img, .gallery button:hover img { transform: scale(1.03); }
.collection-description { text-align: left; margin-top: 8px; }
.eyebrow a { text-decoration: none; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.gallery button { cursor: zoom-in; }
.collection-nav { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); }
.collection-nav a { text-decoration: none; letter-spacing: 0.05em; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(30, 20, 14, 0.92); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 48px 16px; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; font: inherit; font-size: 2.5rem; line-height: 1; cursor: pointer; padding: 12px 16px; }
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); }
.specs { text-align: left; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.specs h2 { font-size: 1.2rem; margin-bottom: 12px; }
.specs ul { padding-left: 1.2em; color: var(--muted); }
.specs li { margin-bottom: 6px; }

/* Contact page waving GIF */
.wave { max-width: 380px; width: 100%; justify-self: center; text-align: center; }
.split .wave img { aspect-ratio: 1 / 1; object-fit: cover; }
.wave figcaption { margin-top: 12px; color: var(--muted); }
