:root{
  --bg:#F8F5F1;
  --text:#222222;

  --font-head:"Playfair Display", serif;
  --font-body:"Lora", serif;
  --font-ui:"Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --max:1120px;
  --radius:18px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--font-body);
  line-height:1.55;
}

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

.container{
  width:min(var(--max), calc(100% - 48px));
  margin:0 auto;
}

/* HEADER */
.header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:saturate(120%) blur(10px);
  background:rgba(248,245,241,0.72);
  border-bottom:1px solid rgba(34,34,34,0.08);
}

.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 28px;
  gap:16px;
}

/* BRAND */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  white-space:nowrap;
  text-decoration:none;
}

.brand__image{
  height:40px;
  width:auto;
  display:block;
}

.brand__line{
  font-family:var(--font-head);
  font-style:italic;
  font-weight:400;
  font-size:18px;
  letter-spacing:0.4px;
  line-height:1;
  color:var(--text);
  transform:translateY(-2px);
}

/* Desktop nav */
.nav--desktop{
  display:flex;
  gap:22px;
  font-family:var(--font-ui);
  font-size:12px;
  letter-spacing:0.16em;
  text-transform:uppercase;
}

/* Burger */
.burger{
  display:none;
  border:0;
  background:transparent;
  padding:8px;
  cursor:pointer;
}
.burger span{
  display:block;
  width:22px;
  height:2px;
  background:var(--text);
  margin:5px 0;
  border-radius:10px;
}

/* Mobile drawer */
.drawer{
  border-top:1px solid rgba(34,34,34,0.08);
  background:rgba(248,245,241,0.92);
}
.nav--mobile{
  display:flex;
  flex-direction:column;
  padding:14px 24px 18px;
  gap:10px;
  font-family:var(--font-ui);
  font-size:13px;
  letter-spacing:0.14em;
  text-transform:uppercase;
}

/* Sections */
.section{ padding: 40px; }

/* Cover */
.section--cover{ padding:0; }

.cover{
  position:relative;
  height:min(92vh, 860px);
  overflow:hidden;
}

.cover__media{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

/* ============================== */
/* SECTION DIVIDERS (FIXED)       */
/* ============================== */

.section-divider{
  width:100%;
  border-top:1px solid rgba(0,0,0,0.07);
  border-bottom:1px solid rgba(0,0,0,0.07);
  padding:10px 0;
  margin:5px 0 20px 0;
  text-align:left;
}

.section-divider span{
  margin-left: 20px;
  font-family:var(--font-ui);
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  opacity:.7;
}

/* Cards grid */
.grid--2{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:40px;
}

/* Cards */
.card{
  padding:24px;
  border:1px solid rgba(34,34,34,0.10);
  background:rgba(255,255,255,0.5);
  border-radius:var(--radius);
}

.card__title{
  font-family:var(--font-head);
  font-size:26px;
  margin:0 0 10px;
}

.card__text{
  font-family:var(--font-ui);
  font-size:15px;
  opacity:.85;
  line-height:1.6;
  margin-bottom:16px;
}


.card__link{
  font-family:var(--font-ui);
  font-size:13px;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#222;
  opacity:.7;
  text-decoration:none;
}
/* DEFAULT CARDS (News, Future, Collections) */
.card:not(.card--collab) .card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.card__soon {
  font-family: var(--font-ui);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #222;
  opacity: .7;
  display: inline-block;
  margin-top: 14px;
}
#future .card__link {
  pointer-events: none;       /* отключить клики только здесь */
  cursor: default !important; /* обычный курсор */
  text-decoration: none !important; /* без подчёркивания */
  opacity: 0.7;               /* оставить твой стиль */
}

#future .card__link:hover {
  text-decoration: none !important;
}
#collections .card__link {
  pointer-events: auto !important;
  cursor: pointer !important;
  opacity: 0.7;
  text-decoration: none;
}

#collections .card__link:hover {
  text-decoration: underline;
}

/* ============================== */
/* HOME PAGE — CARD DATE STYLE    */
/* ============================== */

.card_date{
  font-family: var(--font-ui); /* Montserrat */
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 14px;
}


/* Prose */
.prose{
  margin-top:26px;
  max-width:820px;
  font-size:18px;
}

/* FOOTER */
.footer{
  border-top:1px solid rgba(34,34,34,0.08);
  padding:26px 0;
}
.footer__inner{
  display:flex;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}
.footer__right{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  font-family:var(--font-ui);
  font-size:11px;
  letter-spacing:0.14em;
  text-transform:uppercase;
}

/* ------------------------------ */
/* LETTER MODULE                  */
/* ------------------------------ */

.letter{
  width:100%;
  max-width:820px;
  margin:0 auto 60px auto;
}

.letter__hero{
  width:100%;
  margin:0 auto 20px auto;
}

.letter__hero-image{
  width:100%;
  display:block;
  border-radius: 18px;
  overflow: hidden;
}

.letter__title{
  font-family:var(--font-head);
  font-size:46px;
  margin:0 0 6px;
  text-align:center;
}

.letter__subtitle{
  margin:6px 0 24px;
  font-family:var(--font-ui);
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  opacity:.7;
  text-align:center;
}

.letter__pinned{
  padding:32px;
  border:1px solid rgba(34,34,34,0.12);
  border-radius:var(--radius);
  background:rgba(255,255,255,0.4);
  margin-bottom:28px;
}
.letter__pinned h3 {
  font-family: var(--font-head); /* Playfair — как было раньше */
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  margin:0 0 12px;
}

.letter__pinned p {
  font-family: var(--font-ui); /* Lora — как было раньше */
  font-size: 15px;
  line-height: 1.6;
  opacity: .9;
}

.letter__pinned-title{
  font-family:var(--font-head);
  font-size:26px;
  margin:0 0 8px;
}

.letter__date{
  font-family:var(--font-ui);
  font-size:11px;
  text-transform:normal;
  letter-spacing:.14em;
  opacity:.6;
  margin-bottom:14px;
}

.letter__list{
  display:flex;
  flex-direction:column;
  gap:32px;
}

 .letter__entry {
  padding: 24px;
  border: 1px solid rgba(34,34,34,0.10);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.4);
  margin-bottom: 48px;
}


.letter__entry-title {
  font-family: var(--font-head); /* Playfair */
  font-size: 22px;               /* как в Collaborations */
  font-weight: 400;
  line-height: 1.3;
  margin: 0 0 12px;
}

.letter__entry p,
.letter__entry li {
  font-family: var(--font-ui);   /* Montserrat */
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.9;
}


.diary{
  background:rgba(255,255,255,0.55);
}

.diary__label{
  font-family:var(--font-ui);
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.16em;
  opacity:.6;
}

.diary__text{
  font-size:18px;
  margin-top:8px;
}

/* ============================== */
/* MOBILE                         */
/* ============================== */

@media (max-width:768px){

  .nav--desktop{ display:none; }
  .burger{ display:block; }

  .section{ padding:64px 0; }

  .grid--2{
    grid-template-columns:1fr;
    gap:24px;
  }

  .section-divider{
    margin:60px 0 32px;
  }

  .brand__image{ height:36px; }
  .brand__line{
    font-size:22px;
    transform:translateY(-1px);
  }

    /* HOME PAGE – tighter rhythm on mobile */
   body.home .section{
     padding:40px 0;
  }

   body.home .section-divider{
     margin:32px 0 24px;
  }

}
  .letter{
    margin-bottom:40px;
  }

  .letter__hero{
    margin-bottom:40px;
  }

  .letter__title{ font-size:34px; }
  .letter__pinned-title{ font-size:26px; }
  .letter__entry-title{ font-size:22px; }
}

/* ========================================= */
/* LETTER PAGE — FINAL AYA PREMIUM TYPOGRAPHY */
/* ========================================= */


/* Date */
body.letter-page .letter__date {
  font-family: var(--font-ui);
  font-size: 11px;
  opacity: 0.6;
  letter-spacing: 0.16em;
  line-height: 1.18;
  margin: 0 0 12px;
}


/* SUPPORT — основной текст Montserrat */
.support-block p,
.support-block li {
  font-family: var(--font-ui);  /* Montserrat */
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.9;
}

/* SUPPORT — заголовки */
.support-block h3 {
  font-family: var(--font-head); /* Playfair */
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  margin: 28px 0 12px;
}
 

/* ========================================= */
/* LETTER PAGE — HERO BANNER (FINAL VERSION) */
/* ========================================= */

/* Hero block — same style as homepage */
body.letter-page .letter__hero {
  width: 100%;
  max-width: 820px;
  margin: 20px auto 0;
  padding: 20px 0 10px 0;  
        
  border-radius: 22px;  
  overflow: hidden;     
  
}

body.letter-page .letter__hero-image {
  max-width: 820px;
  width: 100%;
  height: auto;
  inline-block;
  object-fit: cover;     /* нормальное поведение */
}

/* Mobile */
@media (max-width: 768px) {
  body.letter-page .letter__hero {
    padding: 18px 0 8px 0;
  }

  body.letter-page .letter__hero-image {
    max-width: 92%;
    margin: 0 auto;
  }
}
/* ============================== */
/* HOME — CARD DATE (FINAL)       */
/* ============================== */

.card-date{
  font-family: var(--font-ui); /* Montserrat */
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 14px;
}


.card_date {
  font-family: var(--font-ui);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 14px;
}


/* ============================== */
/* COLLABORATIONS = ONE BIG BLOCK */
/* ============================== */

.grid--1 {
  display: grid;
  grid-template-columns: 1fr;
}
 
 /* ==============================
   MOBILE — COLLAB ALIGN FIX
   ============================== */
  
  @media (max-width: 768px) {

    /* SECTION collaborations */
    body.collab-page .section--collaborations {
      padding: 16px 0 !important;
    }

    /* GRID — центрируем карточку */
    body.collab-page .section--collaborations .grid--1 {
      padding-left: 16px;
      padding-right: 16px;

      display: grid;
      justify-items: center;
    }

    /* CARD */
    body.collab-page .card--collab {
      width: 100%;
      max-width: 100%;
    }

  }

/* ============================== */
/* FIX: COLLAB IMAGE SIDE LAYOUT  */
/* ============================== */

.card--collab {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  padding: 36px;

  border-radius: var(--radius);
  background: rgba(255,255,255,0.45);
  border: 1px solid rgba(34,34,34,0.10);

  align-items: flex-start; /* 🔑 тянемся по высоте текста */
}
/* IMAGE CONTAINER */
.card--collab .card__image-wrap {
  border-radius: var(--radius);
  overflow: hidden;
}

/* IMAGE ITSELF */
.card--collab .collab__image {
  width: 100%;
  height: auto;          /* 🔑 естественная высота */
  display: block;
}

/* CONTENT */
.card--collab .card__content {
  padding-right: 20px;
}

/* EYEBROW STYLE */
.card__eyebrow {
  font-family: var(--font-head); /* Playfair */
  font-size: 16px;
  font-style: italic;
  opacity: 0.75;
  margin: 0 0 16px 0;
}

/* SECTION TITLES */
.card__content h3 {
  font-family: var(--font-head);
  font-style: normal;     
  font-size: 22px;
  margin: 20px 0 8px;
  line-height: 1.3;
}

/* PARAGRAPHS */
.card__content p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 12px;
}

/* LISTS */
.card__content ul {
  margin: 0 0 14px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.85;
}

/* EMAIL FOOTER */
.card__email {
  margin-top: 16px;
  font-family: var(--font-ui); /* Montserrat */
  font-size: 12px;
  letter-spacing: 0.14em;
  opacity: 0.7;
  text-transform: uppercase;
}

/* ============================== */
/* MOBILE VERSION                 */
/* ============================== */

@media (max-width: 768px) {
  .card--collab {
    grid-template-columns: 1fr; /* картинка сверху */
  }

  .card__image-wrap {
    height: 420px;      /* фиксированная высота, чтобы постер выглядел красиво */
    
  }

  .card--collab .collab__image {
    height: 100%;
    object-fit: cover;
  
  }  
}  
/* ========================================= */
/* COLLAB PAGE — FINAL ALIGN & TYPOGRAPHY 
/* ========================================= */

   /* 1. PAGE TITLE (верхний блок под хедером) */
   body.collab-page main > section:first-child {
     padding: 16px 0 12px !important;
   }

/* Контейнер как на главной */
   body.collab-page main > section:first-child > .container {
     padding-left: 24px;
     padding-right: 24px;
   }

/* Заголовок страницы */
   body.collab-page .page-title {
     font-family: var(--font-head); /* Playfair Display */
     font-style: normal;     
     font-size: 32px;
     font-weight: 400;
     line-height: 1.25;
     margin: 0 0 10px;
   }

/* Подзаголовок страницы */
   body.collab-page .page-subtitle {
     font-family: var(--font-ui);   /* Montserrat */
     font-size: 12px;
     letter-spacing: 0.18em;
     text-transform: uppercase;
     opacity: 0.65;
     margin: 0;
   }

/* 2. COLLABORATIONS CARD SECTION */
   body.collab-page .section--collaborations {
     padding: 16px 0 !important; /* убираем боковой padding */
   }

/* Делаем grid контейнером как на Home */
   body.collab-page .section--collaborations .grid--1 {
     max-width: var(--max); /* 1120px */
     margin: 0 auto;
     padding-left: 24px;
     padding-right: 24px;
   }

/* 3. CARD TYPOGRAPHY (внутри collaborations) */

/* Eyebrow */
   body.collab-page .card__eyebrow {
     font-family: var(--font-ui);
     font-size: 12px;
     letter-spacing: 0.14em;
     text-transform: uppercase;
     opacity: 0.6;
     margin-bottom: 12px;
   }

/* Внутренние заголовки (Who We Are и т.д.) */
   body.collab-page .card__content h3 {
     font-family: var(--font-head); /* Playfair */
     font-style: normal;            /* КЛЮЧЕВОЕ */
     font-size: 22px;
     font-weight: 400;
     line-height: 1.3;
     margin: 28px 0 12px;
   }

/* Основной текст */
   body.collab-page .card__content p,
   body.collab-page .card__content li {
     font-family: var(--font-ui);   /* Montserrat */
     font-size: 15px;
     line-height: 1.6;
     opacity: 0.9;
   }
  /* ============================== */
  /* FOOTER — AYA CLEAN EDITION     */
  /* ============================== */

  .footer {
    background: #E7E0D7; 
    border-top: 1px solid rgba(34,34,34,0.08);
    padding: 28px 0 26px;
    margin-top: 32px;
    font-family: var(--font-ui);
  }

  .footer__inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
  
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
  }

  /* SOCIAL ICONS */
  .footer__socials {
    display: flex;
    gap: 14px;
    margin: 10px 0 6px;
  }

  .footer__socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
  }

  .footer__socials img {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    object-fit: contain;
    opacity: 0.6;
    transition: opacity 0.25s ease;
  }

  .footer__socials a:hover img {
    opacity: 1;
  }

  /* COMPANY INFO */
  .footer__title {
    font-family: var(--font-head);
    font-size: 18px;
    margin: 0;
  }

  .footer__location,
  .footer__copy {
    font-size: 13px;
    opacity: 0.7;
    margin: 4px 0;
  }

  /* LEGAL LINKS */
  .footer__links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
    font-size: 13px;
    opacity: 0.85;
  }

  .footer__links a {
    text-decoration: none;
    color: #222;
    letter-spacing: .06em;
  }

  .footer__links a:hover {
    text-decoration: underline;
    opacity: 1;
  }
  .footer .container{
    max-width: none;
    width: calc(100% - 48px); /* те же 24px слева/справа */
  }
  /* MOBILE */
  @media (max-width: 768px) {
    .footer {
      padding: 24px 0 22px;
      margin-top: 28px;
    }

    .footer__inner {
       margin-left: 0;
    }

    .footer__socials {
      gap: 16px;
    }
  }
    
