@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600&display=swap');

:root {
  --ink: #2a2420;
  --mute: #6e655c;
  --paper: #f7f2eb;
  --white: #fffcf8;
  --clay: #a85a3a;
  --sand: #e8d9c4;
  --line: #ddd2c4;
  --max: 1100px;
}

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

body {
  font-family: Outfit, sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
}

img { max-width: 100%; display: block; height: auto; }

a { color: var(--clay); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  line-height: 1.2;
}

.wrap, .barro-wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* Announcement */
.pj-announce {
  background: var(--ink);
  color: #f0e8dc;
  text-align: center;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .55rem 1rem;
  font-weight: 500;
}

.pj-announce a { color: #e8b89a; }

/* Header */
.pj-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.pj-header-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 0;
  gap: 1rem;
  flex-wrap: wrap;
}

.pj-logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: .02em;
  text-transform: lowercase;
}

.pj-logo span {
  display: block;
  font-family: Outfit, sans-serif;
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: .1rem;
}

.menu-toggle {
  display: none;
  background: var(--ink);
  color: #fff;
  border: none;
  padding: .4rem .75rem;
  cursor: pointer;
  font-size: .8rem;
}

.nav-main { display: flex; gap: 1.35rem; flex-wrap: wrap; }
.nav-main a {
  color: var(--ink);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
}
.nav-main a:hover, .nav-main a.active { color: var(--clay); }

/* Intro */
.pj-intro {
  padding: 4rem 0 3rem;
  text-align: center;
  background: var(--white);
}

.pj-intro h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 1.25rem;
  max-width: 18ch;
  margin-inline: auto;
  text-transform: lowercase;
}

.pj-intro p {
  max-width: 38rem;
  margin: 0 auto;
  color: var(--mute);
  font-size: 1.05rem;
}

/* Featured 3 collections */
.pj-featured {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  padding: 0 .75rem 3rem;
  max-width: 1400px;
  margin-inline: auto;
  background: var(--white);
}

.pj-feat {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--sand);
}

.pj-feat img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pj-feat:hover img { transform: scale(1.04); }

.pj-feat-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.25rem;
  background: linear-gradient(transparent, rgba(30,24,20,.75));
  color: #fff;
}

.pj-feat-cap h2 {
  font-size: 1.75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-style: normal;
  font-weight: 600;
}

.pj-feat-cap p { font-size: .85rem; opacity: .9; margin-top: .35rem; font-weight: 400; font-family: Outfit, sans-serif; }

/* Manifesto */
.pj-manifesto { padding: 3.5rem 0 2rem; text-align: center; }

.pj-manifesto h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-style: italic;
  margin-bottom: 1rem;
  text-transform: lowercase;
}

.pj-manifesto > .wrap > p {
  max-width: 36rem;
  margin: 0 auto 2rem;
  color: var(--mute);
}

.pj-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-bottom: 1rem;
  text-align: left;
}

.pj-col-card { text-decoration: none; color: inherit; }
.pj-col-card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--sand); }

.pj-col-card h3 {
  margin-top: .75rem;
  font-size: 1.15rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 600;
}

.pj-col-card p { font-size: .88rem; color: var(--mute); margin-top: .3rem; }

.pj-viewall { text-align: center; margin-bottom: 3rem; }

.pj-viewall a {
  display: inline-block;
  border: 1px solid var(--ink);
  padding: .65rem 1.4rem;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}

.pj-viewall a:hover { background: var(--ink); color: #fff; }

/* Recent works */
.pj-recent { background: var(--white); padding: 3.5rem 0; }

.pj-recent h2 {
  text-align: center;
  font-size: 2rem;
  font-style: italic;
  margin-bottom: 2rem;
}

.pj-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.pj-prod { text-decoration: none; color: inherit; text-align: center; }
.pj-prod img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--sand); }
.pj-prod h3 { margin-top: .75rem; font-size: 1.1rem; }
.pj-prod .price { font-size: .9rem; color: var(--mute); margin-top: .25rem; font-family: Outfit, sans-serif; }

/* How to find */
.pj-find {
  padding: 4rem 0;
  text-align: center;
  background: var(--sand);
}

.pj-find h2 { font-size: 2rem; font-style: italic; margin-bottom: 1rem; }
.pj-find p { max-width: 32rem; margin: 0 auto 1.25rem; color: var(--mute); }

.pj-find .maps {
  display: inline-block;
  background: var(--ink);
  color: #fff !important;
  padding: .7rem 1.4rem;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  margin-top: .5rem;
}

/* Subscribe */
.pj-mail {
  padding: 3.5rem 0;
  background: var(--ink);
  color: #f0e8dc;
  text-align: center;
}

.pj-mail h2 { color: #fff; font-style: italic; font-size: 1.85rem; margin-bottom: .65rem; }
.pj-mail p { max-width: 28rem; margin: 0 auto 1.5rem; opacity: .85; font-size: .95rem; }

.pj-mail form {
  display: flex;
  gap: .5rem;
  max-width: 420px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.pj-mail input[type=email] {
  flex: 1;
  min-width: 200px;
  padding: .7rem .9rem;
  border: none;
  font: inherit;
}

.pj-mail button {
  background: var(--clay);
  color: #fff;
  border: none;
  padding: .7rem 1.2rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .78rem;
}

.form-success { display: none; margin-top: 1rem; color: #c8e6c0; }
.form-success.show { display: block; }

/* Footer */
.pj-foot {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 1.5rem;
  font-size: .88rem;
}

.pj-foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.pj-foot h4 {
  font-family: Outfit, sans-serif;
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .75rem;
  color: var(--mute);
}

.pj-foot a { display: block; color: var(--ink); text-decoration: none; margin: .3rem 0; }

.pj-foot-base {
  width: min(100% - 2rem, var(--max));
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: .8rem;
  text-align: center;
}

/* Cookie */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--ink);
  color: #e8dfd4;
  padding: 1.1rem 1.25rem;
  z-index: 100;
}

.cookie-banner.show { display: block; }
.cookie-inner { max-width: 960px; margin: 0 auto; }
.cookie-inner a { color: #e8b89a; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }

.cookie-accept, .cookie-decline, .cookie-settings {
  border: none;
  padding: .45rem .9rem;
  cursor: pointer;
  font-weight: 600;
  font-size: .82rem;
}

.cookie-accept { background: var(--clay); color: #fff; }
.cookie-decline { background: transparent; color: #fff; border: 1px solid #666; }
.cookie-settings { background: transparent; color: #e8b89a; }

.cookie-panel { display: none; max-width: 960px; margin: .75rem auto 0; }
.cookie-panel.open { display: block; }
.cookie-panel label { display: block; margin: .3rem 0; }

/* Inner pages */
.clay-page-head {
  padding: 2.5rem 0 1.5rem;
  text-align: center;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.clay-page-head h1 { font-size: 2.25rem; font-style: italic; margin-bottom: .5rem; }
.clay-page-head p { color: var(--mute); max-width: 36rem; margin: 0 auto; }

.clay-section { padding: 2.5rem 0; }
.clay-section-sand { background: var(--sand); }

.clay-section-head { margin-bottom: 1.5rem; }
.clay-section-head h2 { font-size: 1.75rem; font-style: italic; }

.clay-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.clay-product-card { background: var(--white); border: 1px solid var(--line); }

.clay-product-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.clay-product-info { padding: 1rem; }

.clay-product-info h3 { font-size: 1.05rem; margin-bottom: .35rem; }

.clay-price { color: var(--mute); font-size: .9rem; font-family: Outfit, sans-serif; }

.clay-product-info p:last-child { font-size: .85rem; color: var(--mute); margin-top: .35rem; }

.clay-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.clay-split h2 { font-size: 1.75rem; margin-bottom: .75rem; }
.clay-split p { color: var(--mute); margin-bottom: 1rem; }

.clay-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.clay-card {
  background: var(--white);
  padding: 1.5rem;
  border: 1px solid var(--line);
}

.clay-card h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.clay-card p { color: var(--mute); font-size: .92rem; }

.clay-form label { display: block; font-weight: 500; margin: .85rem 0 .3rem; font-size: .88rem; }

.clay-form input, .clay-form textarea, .clay-form select {
  width: 100%;
  padding: .65rem;
  border: 1px solid var(--line);
  font: inherit;
  background: #fff;
}

.clay-btn {
  display: inline-block;
  padding: .65rem 1.4rem;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  background: var(--clay);
  color: #fff;
  margin-top: .5rem;
}

.legal-doc, .page-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.legal-doc h1, .page-body h1 { margin-bottom: 1rem; }
.legal-doc h2, .page-body h2 { font-size: 1.25rem; margin: 1.5rem 0 .5rem; }
.legal-doc p, .legal-doc li, .page-body p { color: var(--mute); margin-bottom: .75rem; }
.legal-doc ul { padding-left: 1.25rem; }

@media (max-width: 900px) {
  .pj-featured, .pj-cols, .clay-product-grid, .clay-card-grid, .clay-split { grid-template-columns: 1fr; }
  .pj-products { grid-template-columns: repeat(2, 1fr); }
  .pj-foot-grid { grid-template-columns: 1fr; }
  .menu-toggle { display: block; }
  .nav-main { display: none; width: 100%; flex-direction: column; gap: .6rem; padding-top: .75rem; }
  .pj-header-inner { flex-wrap: wrap; }
  .nav-main.open { display: flex; }
}
