/* ==========================================================================
   Tessa Brown Art — hand-rebuilt static clone
   Design system reproduced from the live Squarespace site.
   Fonts: essonnes-display (headings/wordmark) substituted with Playfair Display;
          EB Garamond (body/buttons); Inter Tight (meta) — all via Google Fonts.
   ========================================================================== */

:root {
  --cream: #f3f2ed;        /* page background */
  --sage: #5a5b43;         /* footer + muted text */
  --sage-50: rgba(90, 91, 67, 0.5);
  --ink: #36322b;          /* primary dark text / nav */
  --taupe: #b6ab97;        /* header band */
  --taupe-line: #a89c86;
  --dark: #3d362e;         /* "Latest Collection" band */
  --white: #ffffff;
  --maxw: 1280px;
  --gut: 40px;
  --serif: "Playfair Display", "Essonnes Display", Georgia, serif;
  --body: "EB Garamond", Georgia, serif;
  --meta: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--sage);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.78; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin: 0 0 0.4em;
  line-height: 1.12;
}
h1 { font-size: clamp(34px, 4vw, 50px); }
h2 { font-size: clamp(26px, 3vw, 34px); }
h3 { font-size: 22px; }

p { margin: 0 0 1.1em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 780px; margin-left: auto; margin-right: auto; }
.center { text-align: center; }

/* ----- Announcement bar ----- */
.announce {
  background: var(--taupe);
  color: var(--ink);
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: none;
  padding: 8px 40px;
  position: relative;
}
.announce .close { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); cursor: pointer; opacity: 0.6; font-size: 15px; font-style: normal; }

/* ----- Header ----- */
.site-header {
  background: var(--taupe);
  border-bottom: 1px solid var(--taupe-line);
  position: sticky; top: 0; z-index: 50;
}
.site-header .bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 20px var(--gut);
  max-width: 1480px; margin: 0 auto;
}
.nav-primary, .header-actions { display: flex; align-items: center; gap: 26px; }
.header-actions { justify-content: flex-end; }
.nav-primary .has-sub { position: relative; }
.nav-primary .submenu {
  display: none; position: absolute; top: 100%; left: -16px;
  background: var(--taupe); border: 1px solid var(--taupe-line);
  min-width: 250px; padding: 12px 0; z-index: 60; flex-direction: column; gap: 0;
  box-shadow: 0 14px 30px rgba(54,50,43,0.14);
}
.nav-primary .has-sub:hover .submenu { display: flex; }
.nav-primary .submenu a { padding: 9px 22px; font-size: 15px; white-space: nowrap; }
.nav-primary .submenu a:hover { background: rgba(54,50,43,0.06); opacity: 1; }
.nav-primary a, .header-actions a {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 16px;
  color: var(--ink);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.wordmark {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 0.26em;
  color: var(--ink);
  text-align: center;
  text-transform: uppercase;
  padding-left: 0.26em;
  white-space: nowrap;
}
.wordmark small { display: block; font-size: 9px; letter-spacing: 0.34em; margin-top: 4px; opacity: 0.7; }
.btn-outline {
  border: 1px solid var(--ink);
  padding: 9px 22px;
  font-family: var(--body);
  font-size: 16px;
  border-radius: 1px;
  transition: background .25s, color .25s;
}
.btn-outline:hover { background: var(--ink); color: var(--cream); opacity: 1; }
.icons { display: flex; gap: 14px; align-items: center; }
.icons a { font-size: 15px; }
.cart-link { font-family: var(--meta); font-size: 13px; }

/* mobile nav toggle */
.nav-toggle { display: none; background: none; border: 0; font-size: 22px; color: var(--ink); cursor: pointer; }

/* ----- Hero ----- */
.hero {
  position: relative;
  height: 78vh;
  min-height: 520px;
  overflow: hidden;
  background: #cfc7b8;
}
.hero .slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; animation: heroFade 18s infinite;
}
.hero .slide:nth-child(1) { animation-delay: 0s; }
.hero .slide:nth-child(2) { animation-delay: 6s; }
.hero .slide:nth-child(3) { animation-delay: 12s; }
@keyframes heroFade {
  0% { opacity: 0; } 6% { opacity: 1; } 30% { opacity: 1; } 36% { opacity: 0; } 100% { opacity: 0; }
}

/* ----- Generic section ----- */
.section { padding: 80px 0; }
.section.tight { padding: 56px 0; }
.eyebrow {
  font-family: var(--meta);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 18px;
}
.lead { color: var(--sage-50); font-size: 17px; }

/* ----- Home: tagline + bio ----- */
.tagline { text-align: center; max-width: 620px; margin: 0 auto 18px; }
.bio { text-align: center; max-width: 560px; margin: 0 auto; color: var(--sage-50); font-size: 16px; }

/* ----- Home: Shop / Portfolio / About trio ----- */
.trio {
  display: grid;
  grid-template-columns: 1fr 1.12fr 1fr;
  gap: 26px;
  align-items: center;
  margin-top: 56px;
}
.trio .tile { position: relative; overflow: hidden; }
.trio .tile img { width: 100%; height: 100%; object-fit: cover; transition: filter .3s, transform 6s ease; }
.trio .tile.tall img { aspect-ratio: 3/4; }
.trio .tile.short img { aspect-ratio: 4/5; }
.trio .tile:hover img { filter: brightness(0.82); }
.trio .tile .label {
  position: absolute; left: 22px; bottom: 18px;
  font-family: var(--serif); color: #fff; font-size: 28px; font-weight: 300;
  text-shadow: 0 1px 14px rgba(0,0,0,.35);
}

/* ----- Latest Collection band ----- */
.latest {
  position: relative;
  background: var(--dark);
  color: #fff;
  min-height: 460px;
  display: flex; align-items: center;
  background-size: cover; background-position: center;
}
.latest::after { content: ""; position: absolute; inset: 0; background: rgba(40,34,28,0.35); }
.latest .inner { position: relative; z-index: 2; width: 100%; }
.latest h2 { color: #fff; text-align: right; font-size: clamp(30px, 4vw, 46px); }
.latest .r { text-align: right; }
.btn-light {
  display: inline-block; background: #fff; color: var(--ink);
  font-family: var(--body); font-style: italic; font-size: 17px;
  padding: 11px 30px; margin-top: 8px;
}
.btn-light:hover { opacity: 0.9; }

/* ----- Testimonials ----- */
.kind { background: var(--cream); text-align: center; }
.kind .quote { font-family: var(--serif); font-weight: 300; font-size: clamp(22px,2.4vw,30px); color: var(--ink); max-width: 760px; margin: 0 auto 22px; line-height: 1.25; }
.kind .qbody { max-width: 620px; margin: 0 auto 16px; color: var(--sage-50); font-size: 16px; }
.kind .qname { font-style: italic; color: var(--sage); }
.kind .arrows { margin-top: 30px; font-size: 22px; color: var(--sage); }
.kind .arrows span { margin: 0 14px; cursor: pointer; }
.testimonial { display: none; }
.testimonial.active { display: block; }

/* ----- Product / gallery grid ----- */
.collection-head { text-align: center; padding: 50px 0 6px; }
.collection-head h1 { font-size: 30px; color: var(--sage); font-weight: 300; letter-spacing: 0; }
.collection-head .desc { max-width: 640px; margin: 8px auto 0; color: var(--sage-50); font-size: 16px; }
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 30px;
  align-items: start;
  padding: 34px 0 90px;
}
.card { text-align: left; }
.card .thumb { overflow: hidden; }
.card .thumb img { width: 100%; height: auto; display: block; transition: filter .3s; }
.card:hover .thumb img { filter: brightness(0.9); }
.card .cmeta { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-top: 12px; }
.card .title { font-family: var(--serif); font-weight: 300; font-size: 15px; color: var(--ink); line-height: 1.3; }
.card .price { font-family: var(--body); font-size: 14px; color: var(--sage); margin-top: 3px; }
.card .soldout { font-family: var(--meta); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: #9a8f7c; white-space: nowrap; padding-top: 3px; }

/* sub-category nav (prints) */
.catnav { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; padding: 16px 0 0; font-family: var(--serif); }
.catnav a { font-size: 17px; font-weight: 300; color: var(--sage); padding: 0 20px; }
.catnav a.active { color: var(--ink); }
.catnav a:hover { opacity: 1; color: var(--ink); }
.catnav .sep { color: var(--taupe-line); font-size: 14px; }
.cdesc { max-width: 640px; margin: 8px auto 0; color: var(--sage-50); font-size: 16px; text-align: center; }

/* ----- Product detail ----- */
.breadcrumb { font-family: var(--body); font-size: 15px; color: var(--sage); padding: 30px 0 22px; }
.breadcrumb a:hover { text-decoration: underline; opacity: 1; }
.breadcrumb span { color: var(--sage-50); }
.product { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; padding: 0 0 90px; align-items: start; }
.product .gallery { display: flex; gap: 16px; }
.product .thumbcol { display: flex; flex-direction: column; gap: 12px; flex: 0 0 64px; }
.product .thumbcol img { width: 64px; height: 64px; object-fit: cover; cursor: pointer; opacity: 0.92; }
.product .thumbcol img:hover { opacity: 1; outline: 1px solid var(--sage); }
.product .main { position: relative; flex: 1; min-width: 0; }
.product .main img { width: 100%; display: block; }
.product .garrow { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0; font-size: 30px; line-height: 1; color: #3a352e; cursor: pointer; opacity: 0.7; padding: 8px 12px; font-family: var(--body); }
.product .garrow:hover { opacity: 1; }
.product .garrow.prev { left: 6px; }
.product .garrow.next { right: 6px; }
.product .info { padding-top: 4px; }
.product .info h1 { font-size: clamp(30px, 3vw, 42px); margin-bottom: 16px; }
.product .info .price { font-family: var(--body); font-size: 19px; color: var(--sage); margin-bottom: 22px; }
.product .info .vlabel { font-family: var(--meta); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); margin-bottom: 8px; }
.product select, .product .qty { font-family: var(--body); font-size: 16px; padding: 12px 14px; border: 1px solid var(--taupe-line); background: #fff; width: 100%; margin-bottom: 18px; border-radius: 0; }
.product .add {
  width: 100%; background: var(--taupe); color: var(--ink);
  font-family: var(--serif); font-style: italic; font-size: 18px; letter-spacing: 0.01em;
  padding: 17px; border: 0; cursor: pointer; text-transform: none;
}
.product .add:hover { background: #ab9f88; }
.product .add[disabled] { opacity: 0.55; cursor: default; }
.product .desc { margin: 0 0 26px; color: var(--sage); font-size: 16px; line-height: 1.7; }
.product .desc p { margin: 0 0 0.9em; }
.product .desc img { margin: 16px 0; }

/* ----- About ----- */
.about-hero img { width: 100%; max-height: 70vh; object-fit: cover; }
.about-body { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 70px 0; }
.about-body .imgs { display: grid; gap: 16px; }
.about-text p { color: var(--sage); font-size: 17px; }
.about-text .sig { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--ink); }
.featured-in { text-align: center; padding: 50px 0; border-top: 1px solid var(--taupe-line); border-bottom: 1px solid var(--taupe-line); }
.featured-in .names { font-family: var(--serif); font-size: 18px; color: var(--ink); letter-spacing: 0.02em; }
.faqs { max-width: 820px; margin: 0 auto; padding: 70px 0; }
.faq { border-bottom: 1px solid var(--taupe-line); padding: 18px 0; }
.faq summary { font-family: var(--serif); font-size: 20px; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--sage); }
.faq[open] summary::after { content: "–"; }
.faq p { margin: 14px 0 4px; color: var(--sage); font-size: 16px; }

/* ----- Forms (contact / commissions) ----- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding: 40px 0 90px; align-items: start; }
.form-intro p { color: var(--sage); font-size: 17px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--meta); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage); margin-bottom: 7px; }
.field .req { color: #a08; opacity: 0.5; }
.field input, .field textarea {
  width: 100%; font-family: var(--body); font-size: 17px; padding: 12px 14px;
  border: 1px solid var(--taupe-line); background: #fff; border-radius: 0; color: var(--ink);
}
.field textarea { min-height: 150px; resize: vertical; }
.form-submit {
  background: var(--ink); color: var(--cream); border: 0; cursor: pointer;
  font-family: var(--body); font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 13px 40px;
}
.form-submit:hover { background: var(--sage); }

/* ----- Contact page ----- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 56px 0 90px; align-items: start; }
.contact-img img { width: 100%; display: block; }
.contact-intro { color: var(--sage); font-size: 17px; line-height: 1.7; margin: 0 0 44px; }
.contact-intro a { border-bottom: 1px solid var(--sage); }
.contact-form .fgroup-label { font-family: var(--body); font-size: 17px; color: var(--ink); margin-bottom: 8px; }
.contact-form .frow { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact-form .field label { font-family: var(--body); text-transform: none; letter-spacing: 0; font-size: 16px; color: var(--ink); margin-bottom: 6px; }
.contact-form .field label .req { color: var(--sage-50); font-size: 14px; }
.contact-form .field input, .contact-form .field textarea {
  border: 0; border-bottom: 1px solid #a9a9a9; background: transparent; border-radius: 0;
  padding: 8px 0; font-size: 17px;
}
.contact-form .field textarea { min-height: 120px; }
.contact-form .form-submit {
  background: #0c0c0c; color: #fff; font-family: var(--serif); font-style: italic;
  font-size: 18px; letter-spacing: 0.01em; text-transform: none; padding: 13px 36px; margin-top: 6px;
}
.contact-form .form-submit:hover { background: #2a2a2a; }

/* two-up & three-up image rows */
.imgrow { display: grid; gap: 20px; padding: 20px 0; }
.imgrow.c2 { grid-template-columns: 1fr 1fr; }
.imgrow.c3 { grid-template-columns: repeat(3, 1fr); }
.imgrow img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.splitblock { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; padding: 56px 0; }
.splitblock.rev .txt { order: 2; }

/* ----- Journal ----- */
.journal-head h1 { max-width: 720px; margin: 0 auto; font-size: clamp(26px, 2.8vw, 33px); color: var(--ink); }
.journal-head .eyebrow { margin: 16px 0 0; }
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 30px; align-items: start; padding: 44px 0 90px; }
.post-card .thumb { display: block; overflow: hidden; background: #e7e4db; }
.post-card .thumb img { width: 100%; height: auto; display: block; transition: filter .3s; }
.post-card:hover .thumb img { filter: brightness(0.88); }
.post-card h3 { margin: 16px 0 8px; font-size: 18px; line-height: 1.3; }
.post-card h3 a { color: var(--ink); }
.post-card .read-more { font-family: var(--body); font-size: 15px; color: var(--sage); border-bottom: 1px solid var(--sage); padding-bottom: 1px; }
.post-card .read-more:hover { opacity: 1; color: var(--ink); }
.post-card .meta { font-family: var(--meta); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sage); }
.article { max-width: 760px; margin: 0 auto; padding: 60px 0 90px; }
.article h1 { text-align: center; }
.article .meta { text-align: center; font-family: var(--meta); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); margin-bottom: 36px; }
.article .body { color: var(--sage); font-size: 18px; line-height: 1.8; }
.article .body img { margin: 28px auto; }
.article .body h2, .article .body h3 { margin-top: 1.4em; }

/* ----- Footer ----- */
.site-footer { background: var(--sage); color: #e8e7df; padding: 70px var(--gut) 50px; }
.site-footer .top { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; max-width: 1200px; margin: 0 auto 40px; align-items: center; }
.site-footer a { color: #e8e7df; }
.site-footer .fcol { text-align: center; }
.site-footer .fmono { display: inline-block; margin-bottom: 22px; }
.site-footer .fmono img { width: 74px; height: auto; opacity: 0.95; }
.site-footer .fnav { font-family: var(--serif); font-size: 17px; }
.site-footer .fnav a { margin: 0 8px; }
.site-footer .copyright { font-size: 14px; margin-top: 16px; opacity: 0.85; }
.site-footer .credits { font-size: 13px; margin-top: 10px; opacity: 0.7; }
.site-footer .fsocial { display: flex; gap: 16px; margin-top: 18px; font-size: 16px; justify-content: center; }
.site-footer .newsletter { text-align: center; }
.site-footer .newsletter h4 { color: #fff; font-family: var(--meta); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; }
.site-footer .newsletter p { font-size: 15px; opacity: 0.85; }
.site-footer .newsletter input { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,0.5); color: #fff; padding: 10px 2px; font-family: var(--body); font-size: 16px; margin-bottom: 18px; }
.site-footer .newsletter input::placeholder { color: rgba(255,255,255,0.7); }
.site-footer .newsletter button { background: #fff; color: var(--sage); border: 0; font-family: var(--body); font-style: italic; font-size: 16px; padding: 10px 30px; cursor: pointer; }
.site-footer .legal { max-width: 760px; margin: 30px auto 0; text-align: center; font-size: 13px; line-height: 1.7; opacity: 0.7; }

/* ----- Newsletter popup ----- */
.popup-overlay { position: fixed; inset: 0; background: rgba(40,36,30,0.55); display: none; align-items: center; justify-content: center; z-index: 200; }
.popup-overlay.show { display: flex; }
.popup { background: var(--cream); max-width: 460px; width: 90%; padding: 46px 40px; text-align: center; position: relative; }
.popup h3 { font-family: var(--serif); letter-spacing: 0.06em; text-transform: uppercase; font-size: 19px; }
.popup p { color: var(--sage); font-size: 15px; }
.popup input { width: 100%; padding: 12px; border: 1px solid var(--taupe-line); background: #fff; margin: 14px 0; font-family: var(--body); }
.popup button { background: var(--ink); color: var(--cream); border: 0; padding: 12px 26px; font-family: var(--meta); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; }
.popup .x { position: absolute; top: 12px; right: 16px; cursor: pointer; color: var(--sage); font-size: 18px; }

/* ----- Responsive ----- */
@media (max-width: 980px) {
  .trio, .product, .about-body, .form-grid, .splitblock, .site-footer .top,
  .contact-grid, .contact-form .frow { grid-template-columns: 1fr; }
  .contact-grid { gap: 36px; }
  .splitblock.rev .txt { order: 0; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .journal-grid { grid-template-columns: 1fr; }
  .latest h2, .latest .r { text-align: center; }
  .product .info { position: static; }
}
@media (max-width: 760px) {
  .site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px var(--gut); }
  .wordmark { order: 1; text-align: left; padding-left: 0; font-size: 21px; letter-spacing: 0.2em; white-space: nowrap; }
  .wordmark small { display: none; }
  .header-actions { order: 2; gap: 14px; }
  .nav-toggle { order: 3; display: block; }
  .nav-primary { order: 4; display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--taupe); flex-direction: column; gap: 0; padding: 10px 0; border-bottom: 1px solid var(--taupe-line); }
  .nav-primary.open { display: flex; }
  .nav-primary a { padding: 12px var(--gut); width: 100%; }
  .nav-primary .has-sub { width: 100%; }
  .nav-primary .submenu { position: static; display: flex; box-shadow: none; border: 0; min-width: 0; padding: 0 0 6px; background: transparent; }
  .nav-primary .submenu a { padding-left: calc(var(--gut) + 16px); font-size: 14px; }
  .header-actions .btn-outline, .header-actions .icons { display: none; }
  .hero { height: 58vh; min-height: 380px; }
  .imgrow.c3, .imgrow.c2 { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 22px 16px; }
  :root { --gut: 20px; }
}
