/* =========================
   1) FONTS (local)
   ========================= */
@font-face{
  font-family: "Playfair Display";
  src: url("../fonts/PlayfairDisplay/PlayfairDisplay-VariableFont_wght.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: "Josefin Slab";
  src: url("../fonts/JosefinSlab/JosefinSlab-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

/* =========================
   2) VARIABLES
   ========================= */
:root{
  --cream: #F7F3EF;
  --cocoa: #572D0F;

  --bg: var(--cream);
  --text: #1f1a16;

  /* paddings required by brief */
  --pad-x: 80px;     /* desktop page padding */
  --pad-y: 96px;     /* desktop block padding */

  --pad-x-m: 20px;   /* mobile page padding */
  --pad-y-m: 56px;   /* mobile block padding */

  --container: 1280px;
  --radius: 26px;

  --font-h: "Playfair Display", serif;
  --font-btn: "Josefin Slab", serif;
  --font-p: "Inter", system-ui, sans-serif;
}

/* =========================
   3) BASE
   ========================= */
html, body{ max-width: 100%; }

body{
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--font-p);
}

main#content{ display: block; }

h1, h2, h3{
  font-family: var(--font-h);
  color: var(--cocoa);
  font-weight: 400;
  margin: 0 0 14px;
}

h3{ font-size: 28px; }

p{
  font-family: var(--font-p);
  line-height: 1.75;
  margin: 0 0 16px;
  color: var(--text);
}

a{ color: inherit; }

/* WordPress content defaults (Pages/Posts) */
.entry-content{ max-width: 760px; }

.entry-content ul{
  padding-left: 18px;
  margin: 0 0 16px;
}
.entry-content li{ margin: 8px 0; }
.entry-content a{ color: var(--cocoa); }

.page-title{
  font-family: var(--font-h);
  color: var(--cocoa);
  font-size: 48px;
  font-weight: 400;
  margin-bottom: 32px;
}

/* =========================
   4) LAYOUT
   ========================= */
.container{
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.section{
  padding-top: var(--pad-y);
  padding-bottom: var(--pad-y);
}

/* =========================
   5) HEADER / NAV
   ========================= */
.site-header{
  padding: 48px 0;
  position: relative;
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-left: 0;
}

.brand{
  text-decoration: none;
  color: var(--cocoa);
  font-weight: 600;
  font-family: var(--font-h);
  font-size: 28px;
}

.main-nav{
  display: flex;
  align-items: center;
  gap: 24px;
}

.menu{
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.menu a{
  color: var(--cocoa);
  text-decoration: none;
  font-family: var(--font-btn);
  font-size: 18px;
  font-weight: 700;
  font-style: italic;
  opacity: .88;
  padding: 32px 14px;
  transition: opacity .15s ease;
}

.menu a:hover{ opacity: 1; }

.burger{
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 8px;
}

.burger span{
  display: block;
  height: 2px;
  margin: 7px 0;
  background: var(--cocoa);
}

/* Button */
.btn{
  display: inline-block;
  font-family: var(--font-btn);
  letter-spacing: .06em;
  background: var(--cocoa);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  box-shadow: 0 4px 4px rgba(0, 4, 14, .37);
  text-decoration: none;
}
.btn--small{ padding: 9px 14px; }

/* =========================
   6) HERO
   ========================= */
.hero{ padding-top: 0; }

.hero-grid{
  min-height: 760px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 86px;
}

.hero-copy{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 18px;
}

.hero-title{
  font-size: 64px;
  margin: 0 0 18px;
  font-family: var(--font-h);
  color: var(--cocoa);
  font-weight: 500;
  line-height: 110px;
}

.hero-text{
  max-width: 420px;
  margin: 0 0 22px;
  line-height: 29px;
  font-size: 18px;
  font-style: italic;
}

.hero-img{
  width: 560px;
  max-width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
}

/* =========================
   7) ABOUT (SPLIT)
   ========================= */
.split{
  background-color: #fff;
  padding: 0;
}

.split-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 86px;
  align-items: center;
}

.split-title{
  color: var(--cocoa);
  font-size: 42px;
  font-weight: 400;
}

.split-text{
  max-width: 500px;
  color: #000;
  font-size: 18px;
  font-style: italic;
  font-weight: 400;
}

.split-media{
  display: flex;
  justify-content: flex-end;
}

.split-img{
  width: 530px;
  max-width: 100%;
  height: 530px;
  object-fit: cover;
}

/* =========================
   8) COLLECTIONS
   ========================= */
.collections-head{
  text-align: left;
  margin-bottom: 28px;
}

.collections-title{
  color: var(--cocoa);
  font-size: 42px;
  font-weight: 400;
  margin: 0;
}

.collections-subtitle{
  margin: 0;
  font-size: 18px;
  font-family: var(--font-btn);
  font-weight: 400;
  text-align: center;
  max-width: 781px;
}

.collections-list{
  display: flex;
  flex-direction: column;
  gap: 54px;
}

.collection-row{
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 94px;
  align-items: center;
  padding: 65px 53px;
}

.collection-copy{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 36px;
  padding: 0;
  height: auto;
}

.collection-row.is-right{
  grid-template-columns: 1fr 360px;
  padding: 0 70px;
}
.collection-row.is-right .collection-media{ order: 2; }
.collection-row.is-right .collection-copy{ order: 1; }

.collection-img{
  width: 311px;
  height: 286px;
  object-fit: cover;
  border-radius: var(--radius);
}

.collection-name{
  color: var(--cocoa);
  font-size: 42px;
  font-weight: 400;
  margin: 0;
}

.collection-text{
  max-width: 56ch;
  margin: 0 0 14px;
  line-height: 1.75;
  opacity: .9;
}

/* =========================
   9) JOURNAL
   ========================= */
.journal-head{ margin-bottom: 28px; }

.journal-title{
  color: var(--cocoa);
  font-size: 42px;
  font-weight: 400;
  margin: 0 0 10px;
}

.journal-subtitle{
  margin: 0;
  font-family: var(--font-btn);
  font-size: 18px;
  font-weight: 400;
  opacity: .9;
  max-width: 64ch;
}

.journal-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.journal-card{
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  min-height: 520px;
}

.journal-media{
  width: 100%;
  height: 170px;
}

.journal-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.journal-body{
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.journal-pill{
  align-self: flex-start;
  display: inline-flex;
  font-family: var(--font-btn);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--cocoa);
  text-decoration: none;
  border: 1px solid rgba(87,45,15,.35);
  border-radius: 999px;
  padding: 6px 12px;
  margin: 0;
}

.journal-card-title{
  font-size: 24px;
  font-weight: 400;
  margin: 0;
  line-height: 1.15;
}

.journal-card-title a{
  color: var(--cocoa);
  text-decoration: none;
}

.journal-excerpt{
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  opacity: .9;

  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.journal-link{
  margin-top: 24px;
  font-family: var(--font-btn);
  font-weight: 700;
  font-style: italic;
  color: var(--cocoa);
  text-decoration: none;
}
.journal-link:hover{ text-decoration: underline; }

/* =========================
   10) SINGLE POST IMAGE
   ========================= */
.single-img{
  width: 100%;
  max-width: 960px;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 28px 0 24px;
}

/* =========================
   11) FOOTER
   ========================= */
.site-footer{
  background: var(--cocoa);
  color: #fff;
  padding: 84px 0 22px;
  margin-top: 0;
}

.footer-grid{
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  column-gap: 140px;
  align-items: start;
}

.footer-brandwrap{ margin-bottom: 18px; }

.footer-brand{
  font-weight: 600;
  letter-spacing: 0.56px;
  font-family: var(--font-h);
  font-size: 28px;
  margin: 0;
}

.footer-subbrand{
  margin-top: 6px;
  font-size: 16px;
  font-family: var(--font-btn);
  font-weight: 400;
  text-align: center;
  max-width: 200px;
}

.footer-text{
  margin: 0;
  max-width: 261px;
  font-size: 16px;
  font-family: var(--font-p);
  font-weight: 400;
  color: var(--cream);
  padding-top: 46px;
}

.footer-title{
  font-weight: 400;
  margin-bottom: 18px;
  font-family: var(--font-h);
  font-size: 28px;
}

.footer-menu{
  margin: 0;
  padding-left: 16px;
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-menu a{
  color: #fff;
  font-family: var(--font-btn);
  font-size: 18px;
  text-decoration: none;
  line-height: 40px;
}

.footer-contact{
  margin: 0;
  padding-left: 16px;
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact li{
  font-size: 16px;
  font-family: var(--font-btn);
  line-height: 36px;
}

.footer-contact a{
  color: #fff;
  font-family: var(--font-btn);
  font-size: 18px;
  text-decoration: none;
}

.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.18);
  margin-top: 52px;
  padding-top: 18px;
  text-align: center;
  font-size: 11px;
  opacity: .85;
}

.footer-bottom p{
  margin: 6px 0;
  font-weight: 600;
  line-height: 24px;
  font-size: 13px;
  font-family: var(--font-btn);
  color: var(--cream);
}

/* =========================
   12) MOBILE (ONE BLOCK ONLY)
   ========================= */
@media (max-width: 900px){

  :root{
    --pad-x: var(--pad-x-m);
    --pad-y: var(--pad-y-m);
  }

  html, body{ overflow-x: hidden; }

  .container{
    padding-left: var(--pad-x-m);
    padding-right: var(--pad-x-m);
  }

  .page-title{
    font-size: 36px;
    margin-bottom: 24px;
  }

  /* Header / Nav */
  .site-header{ padding: 22px 0; }

  .burger{ display: block; }

  .main-nav{
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    background: var(--bg);
    padding: 18px var(--pad-x-m) 22px;
    border-top: 1px solid rgba(0,0,0,.06);
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .main-nav.is-open{ display: flex; }

  .menu{
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .menu a{
    padding: 12px 0;
    width: 100%;
  }

  .main-nav .btn--small{
    width: auto;
    align-self: flex-start;
    padding: 10px 16px;
  }

  /* Hero */
  .hero{ padding-top: 8px; }

  .hero-grid{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    min-height: auto;
    text-align: center;
  }

  .hero-media{ order: 1; width: 100%; }
  .hero-copy{
    order: 2;
    align-items: center;
    gap: 12px;
  }

  .hero-img{
    width: 100%;
    height: 190px;
    border-radius: 22px;
  }

  .hero-title{
    font-size: 36px;
    line-height: 1.15;
    margin: 0;
  }

  .hero-text{
    max-width: 32ch;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
  }

  .hero-copy .btn{
    width: auto;
    align-self: center;
    padding: 10px 16px;
  }

  /* Split */
  .split{ padding: var(--pad-y) 0; }

  .split-grid{
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }

  .split-copy{ order: 2; }
  .split-media{
    order: 1;
    justify-content: center;
  }

  .split-title{ font-size: 28px; margin: 0 0 12px; }

  .split-text{
    max-width: 34ch;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.7;
  }

  .split-img{
    width: 100%;
    height: 254px;
    object-fit: contain;
  }

  /* Collections */
  .collections-head{ text-align: center; }

  .collections-title{ font-size: 28px; text-align: center; }

  .collections-subtitle{
    text-align: center;
    margin: 10px auto 0;
    max-width: 34ch;
    font-size: 15px;
    line-height: 1.7;
  }

  .collections-list{ gap: 34px; }

  .collection-row,
  .collection-row.is-right{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 0;
  }

  .collection-media{
    order: 1;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .collection-img{
    width: 240px;
    height: 200px;
    border-radius: 22px;
  }

  .collection-copy{
    order: 2;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .collection-name{ font-size: 28px; }

  .collection-text{
    max-width: 34ch;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
  }

  .collections .btn{
    width: auto;
    padding: 10px 16px;
  }

 
  .journal-grid{ grid-template-columns: 1fr; gap: 16px; }
  .journal-card{ min-height: auto; }
  .journal-media{ height: 190px; }
  .journal-body{ padding: 18px 18px 22px; }

  
  .single-img{ height: 260px; }

  
  .site-footer{ padding: 56px 0 18px; }

  .footer-grid{
    grid-template-columns: 1fr;
    row-gap: 28px;
    column-gap: 0;
  }

  .footer-bottom{ margin-top: 32px; }
}
