
/* ==========================================================
   LETTER 32
   EXACT EDITORIAL REFERENCE
   ========================================================== */

.le32-page{
  --le32-bg:#f4f1e8;
  --le32-dark:#17392c;
  --le32-text:#444b44;
  --le32-line:rgba(43,55,46,.14);
  --le32-white:#f6f2e8;

  background:var(--le32-bg);
  color:var(--le32-dark);
}

.le32-main{
  overflow:hidden;
}

.le32-shell{
  width:min(1390px,calc(100% - 72px));
  margin:0 auto;
}

.le32-kicker{
  font-family:Arial,sans-serif;
  font-size:10px;
  line-height:1.2;
  letter-spacing:.19em;
  text-transform:uppercase;
  color:#6f796f;
}


/* ==========================================================
   INTRO
   ========================================================== */

.le32-intro{
  padding:36px 0 22px;
}

.le32-intro h1{
  margin:8px 0 7px;

  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(64px,5.9vw,94px);
  font-weight:400;

  line-height:.92;
  letter-spacing:-.047em;

  color:#122f25;
}

.le32-deck{
  max-width:900px;

  margin:0;

  font-family:Arial,sans-serif;
  font-size:18px;
  line-height:1.45;

  color:#464d47;
}


/* ==========================================================
   MAIN EDITORIAL SPREAD
   ========================================================== */

.le32-spread{
  padding:0 0 0;
}

.le32-spread-grid{
  display:grid;

  grid-template-columns:
    minmax(0,1.05fr)
    minmax(440px,.95fr);

  gap:clamp(48px,4.7vw,78px);

  align-items:stretch;
}


/* PHOTO */

.le32-photo{
  position:relative;

  margin:0;

  height:715px;

  overflow:hidden;

  background:#e5e2d9;
}

.le32-photo img{
  display:block;

  width:100%;
  height:100%;

  object-fit:cover;
  object-position:center 27%;
}


/* LETTER */

.le32-letter{
  position:relative;

  max-width:650px;

  padding:
    2px
    0
    12px;
}

.le32-letter h2{
  margin:
    0
    0
    17px;

  font-family:Georgia,"Times New Roman",serif;

  font-size:clamp(33px,2.45vw,41px);
  font-weight:400;

  line-height:1.03;
  letter-spacing:-.027em;

  color:#19382d;
}

.le32-letter p{
  margin:
    0
    0
    17px;

  font-family:Arial,sans-serif;

  font-size:15px;
  line-height:1.56;

  color:#444a44;
}

.le32-signoff{
  margin-top:22px;

  font-family:Georgia,"Times New Roman",serif;
  font-size:18px;
  line-height:1.2;

  color:#344238;
}


/* REAL AUTOGRAPH */

.le32-autograph{
  width:300px;
  height:105px;

  margin:
    7px
    0
    0;

  overflow:hidden;

  display:flex;
  align-items:center;
  justify-content:flex-start;
}

.le32-autograph img{
  display:block;

  width:290px;
  max-width:none;

  height:100px;

  object-fit:contain;
  object-position:left center;

  background:transparent !important;
}

.le32-author{
  margin-top:0;

  font-family:Arial,sans-serif;
  font-size:11px;

  color:#687068;
}

.le32-letter-button{
  display:inline-flex;

  align-items:center;
  justify-content:center;

  min-height:44px;

  margin-top:13px;

  padding:
    0
    24px;

  background:#19392d;

  border:
    1px solid #19392d;

  color:#f5f1e8 !important;

  font-family:Arial,sans-serif;

  font-size:9px;
  letter-spacing:.18em;

  text-transform:uppercase;

  transition:
    background .25s ease,
    color .25s ease;
}

.le32-letter-button:hover{
  background:transparent;
  color:#19392d !important;
}


/* ==========================================================
   FINAL DARK GREEN BAND
   ========================================================== */

.le32-final{
  position:relative;

  overflow:hidden;

  background:#17392c;

  color:#f5f1e8;

  padding:
    34px
    0
    37px;
}

.le32-final-grid{
  position:relative;
  z-index:3;

  display:grid;

  grid-template-columns:
    minmax(0,1.05fr)
    minmax(360px,.60fr);

  gap:75px;

  align-items:center;
}


/* left */

.le32-final .le32-kicker{
  color:#b8c2b7;
}

.le32-final h2{
  max-width:820px;

  margin:
    9px
    0
    0;

  font-family:Georgia,"Times New Roman",serif;

  font-size:clamp(45px,4.15vw,66px);
  font-weight:400;

  line-height:.96;
  letter-spacing:-.038em;

  color:#f6f2e8;
}


/* right */

.le32-final-right{
  position:relative;

  z-index:4;

  padding-left:45px;

  border-left:
    1px solid rgba(246,242,232,.28);
}

.le32-final-right p{
  max-width:390px;

  margin:
    0
    0
    20px;

  font-family:Arial,sans-serif;

  font-size:14px;
  line-height:1.48;

  color:#e4e9e2;
}

.le32-final-button{
  display:inline-flex;

  align-items:center;
  justify-content:center;

  min-height:45px;

  padding:
    0
    22px;

  border:
    1px solid rgba(246,242,232,.86);

  background:#f4f0e7;

  color:#18382c !important;

  font-family:Arial,sans-serif;

  font-size:9px;
  letter-spacing:.15em;

  text-transform:uppercase;
}


/* stone — only on far right */

.le32-final-stone{
  position:absolute;

  z-index:1;

  right:-130px;
  bottom:-215px;

  width:650px;

  opacity:.42;

  pointer-events:none;
}

.le32-final-stone img{
  display:block;

  width:100%;
  height:auto;
}


/* ==========================================================
   FOOTER
   ========================================================== */

.le32-footer{
  background:#17392c;

  color:#e8ece6;

  border-top:
    1px solid rgba(246,242,232,.18);

  padding:
    19px
    0
    22px;
}

.le32-footer-grid{
  display:grid;

  grid-template-columns:
    1fr
    1.55fr
    .8fr;

  gap:30px;

  align-items:center;
}

.le32-footer-copy{
  font-family:Arial,sans-serif;

  font-size:9px;

  color:#b3bdb2;
}

.le32-footer-directions{
  display:flex;

  justify-content:center;

  gap:
    28px;

  flex-wrap:wrap;
}

.le32-footer-directions a,
.le32-footer-social a{
  font-family:Arial,sans-serif;

  font-size:9px;

  color:#e3e8e1;

  text-decoration:none;
}

.le32-footer-social{
  display:flex;

  justify-content:flex-end;

  gap:19px;
}


/* ==========================================================
   LAPTOP
   ========================================================== */

@media(max-width:1150px){

  .le32-spread-grid{
    grid-template-columns:
      minmax(430px,1fr)
      minmax(390px,.92fr);

    gap:42px;
  }

  .le32-photo{
    height:670px;
  }

  .le32-letter p{
    font-size:14px;
  }

}


/* ==========================================================
   TABLET
   ========================================================== */

@media(max-width:900px){

  .le32-shell{
    width:calc(100% - 40px);
  }

  .le32-spread-grid{
    grid-template-columns:1fr;

    gap:38px;
  }

  .le32-photo{
    height:auto;

    aspect-ratio:4 / 5;
  }

  .le32-letter{
    max-width:720px;
  }

  .le32-letter p{
    font-size:16px;

    line-height:1.62;
  }

  .le32-final-grid{
    grid-template-columns:1fr;

    gap:32px;
  }

  .le32-final-right{
    padding:
      25px
      0
      0;

    border-left:0;

    border-top:
      1px solid rgba(246,242,232,.25);
  }

  .le32-footer-grid{
    grid-template-columns:1fr;

    gap:18px;
  }

  .le32-footer-directions,
  .le32-footer-social{
    justify-content:flex-start;
  }

}


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

@media(max-width:560px){

  .le32-shell{
    width:calc(100% - 28px);
  }

  .le32-intro{
    padding:
      38px
      0
      20px;
  }

  .le32-intro h1{
    font-size:57px;
  }

  .le32-deck{
    font-size:16px;

    line-height:1.5;
  }

  .le32-desktop-break{
    display:none;
  }

  .le32-letter h2{
    font-size:32px;
  }

  .le32-letter p{
    font-size:16px;

    line-height:1.65;
  }

  .le32-autograph{
    width:275px;
  }

  .le32-autograph img{
    width:265px;
  }

  .le32-final{
    padding:
      45px
      0
      47px;
  }

  .le32-final h2{
    font-size:43px;
  }

  .le32-final-stone{
    width:390px;

    right:-170px;
    bottom:-100px;

    opacity:.24;
  }

  .le32-footer-directions{
    gap:
      13px
      19px;
  }

  .le32-footer-social{
    gap:16px;
  }

}


/* ==========================================================
   LETTER 32.1 — REFERENCE MATCH POLISH
   ========================================================== */


/* ---------- EDITORIAL SPREAD ---------- */

@media(min-width:901px){

  .le32-spread-grid{
    grid-template-columns:
      minmax(0,1.07fr)
      minmax(440px,.93fr) !important;

    gap:50px !important;
  }

  .le32-photo{
    height:700px !important;
  }

  .le32-letter{
    max-width:630px !important;
    padding-top:2px !important;
  }

  .le32-letter p{
    font-size:15px !important;
    line-height:1.54 !important;
    margin-bottom:17px !important;
  }

}


/* ---------- SIGNATURE ---------- */

.le32-autograph{
  width:300px !important;
  height:102px !important;
  margin-top:8px !important;
}

.le32-autograph img{
  width:285px !important;
  height:98px !important;
}


/* ==========================================================
   FINAL GREEN BAND
   ========================================================== */

.le32-final{
  padding:34px 0 38px !important;
}


/* Камень занимает только правую часть и растворяется слева */

.le32-final-stone{
  position:absolute !important;

  top:0 !important;
  right:0 !important;
  bottom:0 !important;

  width:36% !important;
  height:100% !important;

  overflow:hidden !important;

  opacity:1 !important;

  pointer-events:none !important;

  -webkit-mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      rgba(0,0,0,.35) 13%,
      #000 32%,
      #000 100%
    );

  mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      rgba(0,0,0,.35) 13%,
      #000 32%,
      #000 100%
    );
}


.le32-final-stone img{
  position:absolute !important;

  right:-18% !important;
  bottom:-8% !important;

  width:145% !important;
  max-width:none !important;

  height:118% !important;

  object-fit:cover !important;
  object-position:right center !important;

  filter:
    brightness(.42)
    saturate(.62)
    contrast(1.08) !important;
}


/* Текст остаётся поверх изображения */

.le32-final-grid{
  position:relative !important;
  z-index:4 !important;
}


.le32-final h2{
  font-size:clamp(44px,4vw,63px) !important;
  line-height:.97 !important;
}


.le32-final-right{
  position:relative !important;
  z-index:5 !important;

  max-width:430px !important;
}


.le32-final-right p{
  max-width:360px !important;
}


/* ---------- FOOTER ---------- */

.le32-footer{
  padding-top:18px !important;
  padding-bottom:19px !important;
}

.le32-footer-grid{
  min-height:28px !important;
}


/* MOBILE */

@media(max-width:900px){

  .le32-final-stone{
    width:52% !important;
    opacity:.72 !important;
  }

}

@media(max-width:560px){

  .le32-final-stone{
    width:65% !important;
  }

  .le32-final-stone img{
    right:-35% !important;
    width:170% !important;
  }

}


/* ==========================================================
   LETTER 33 — EXACT REFERENCE MATCH
   ========================================================== */


/* ---------- PAGE ---------- */

.le32-page{
  background:#f4f1e8 !important;
}


/* ---------- INTRO ---------- */

.le32-intro{
  padding:34px 0 20px !important;
}

.le32-intro h1{
  margin:7px 0 7px !important;

  max-width:none !important;

  font-size:clamp(62px,5.65vw,90px) !important;
  line-height:.94 !important;
  letter-spacing:-.045em !important;

  color:#171d19 !important;
}

.le32-deck{
  max-width:800px !important;

  font-size:17px !important;
  line-height:1.42 !important;

  color:#434944 !important;
}


/* ==========================================================
   MAIN MAGAZINE SPREAD
   ========================================================== */

.le32-spread{
  padding:0 !important;
}

.le32-spread-grid{
  display:grid !important;

  grid-template-columns:
    minmax(0,1.06fr)
    minmax(440px,.94fr) !important;

  gap:34px !important;

  align-items:stretch !important;
}


/* ---------- PORTRAIT ---------- */

.le32-photo{
  height:640px !important;

  margin:0 !important;

  background:#ebe7df !important;

  overflow:hidden !important;
}

.le32-photo img{
  width:100% !important;
  height:100% !important;

  object-fit:cover !important;
  object-position:center 24% !important;

  filter:none !important;
}


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

.le32-letter{
  max-width:650px !important;

  padding:
    4px
    0
    14px !important;
}

.le32-letter h2{
  margin:0 0 14px !important;

  font-size:clamp(31px,2.45vw,39px) !important;
  line-height:1.04 !important;

  letter-spacing:-.026em !important;

  color:#25362c !important;
}

.le32-letter p{
  margin:0 0 15px !important;

  font-size:14px !important;
  line-height:1.52 !important;

  color:#444a44 !important;
}


/* ---------- SIGN OFF ---------- */

.le32-signoff{
  margin-top:18px !important;

  font-size:17px !important;
}


/* ---------- AUTOGRAPH ---------- */

.le32-autograph{
  width:275px !important;
  height:88px !important;

  margin:
    5px
    0
    0 !important;
}

.le32-autograph img{
  width:265px !important;
  height:84px !important;

  object-fit:contain !important;
  object-position:left center !important;
}

.le32-author{
  margin-top:0 !important;

  font-size:10px !important;
}


/* ---------- BUTTON ---------- */

.le32-letter-button{
  min-height:42px !important;

  margin-top:11px !important;

  padding:
    0
    22px !important;

  background:#19372c !important;
  border-color:#19372c !important;

  color:#f5f1e8 !important;

  font-size:8px !important;
  letter-spacing:.18em !important;
}


/* ==========================================================
   FINAL BAND
   ========================================================== */

.le32-final{
  margin-top:0 !important;

  padding:
    31px
    0
    32px !important;

  background:#17372b !important;
}


/* reference-like columns */

.le32-final-grid{
  grid-template-columns:
    minmax(0,1.05fr)
    minmax(340px,.55fr) !important;

  gap:62px !important;

  align-items:center !important;
}


.le32-final h2{
  max-width:760px !important;

  margin-top:7px !important;

  font-size:clamp(43px,3.9vw,61px) !important;

  line-height:.96 !important;
  letter-spacing:-.035em !important;
}


/* ---------- RIGHT CTA ---------- */

.le32-final-right{
  max-width:430px !important;

  padding-left:42px !important;
}

.le32-final-right p{
  max-width:365px !important;

  margin-bottom:18px !important;

  font-size:13px !important;
  line-height:1.48 !important;
}

.le32-final-button{
  min-height:43px !important;

  padding:
    0
    21px !important;

  font-size:8px !important;
}


/* ==========================================================
   STONE / REFERENCE VISUAL
   ========================================================== */

.le32-final-stone{
  top:0 !important;
  right:0 !important;
  bottom:0 !important;

  width:34% !important;
  height:100% !important;

  opacity:1 !important;

  overflow:hidden !important;

  -webkit-mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      rgba(0,0,0,.22) 14%,
      rgba(0,0,0,.76) 36%,
      #000 58%,
      #000 100%
    ) !important;

  mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      rgba(0,0,0,.22) 14%,
      rgba(0,0,0,.76) 36%,
      #000 58%,
      #000 100%
    ) !important;
}

.le32-final-stone img{
  position:absolute !important;

  right:-15% !important;
  bottom:-25% !important;

  width:140% !important;
  max-width:none !important;

  height:auto !important;

  filter:
    brightness(.34)
    saturate(.65)
    contrast(1.12) !important;
}


/* ==========================================================
   FOOTER
   ========================================================== */

.le32-footer{
  padding:
    16px
    0
    18px !important;

  background:#17372b !important;
}

.le32-footer-grid{
  grid-template-columns:
    1fr
    1.6fr
    .8fr !important;

  min-height:27px !important;
}

.le32-footer-copy,
.le32-footer-directions a,
.le32-footer-social a{
  font-size:8px !important;
}


/* ==========================================================
   DESKTOP TUNING
   ========================================================== */

@media(min-width:1160px){

  .le32-shell{
    width:min(1390px,calc(100% - 92px)) !important;
  }

}


/* ==========================================================
   TABLET
   ========================================================== */

@media(max-width:900px){

  .le32-spread-grid{
    grid-template-columns:1fr !important;

    gap:34px !important;
  }

  .le32-photo{
    height:auto !important;

    aspect-ratio:4 / 5 !important;
  }

  .le32-letter{
    max-width:720px !important;
  }

  .le32-letter p{
    font-size:16px !important;

    line-height:1.62 !important;
  }

  .le32-final-grid{
    grid-template-columns:1fr !important;
  }

}


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

@media(max-width:560px){

  .le32-intro h1{
    font-size:54px !important;
  }

  .le32-deck{
    font-size:16px !important;
  }

  .le32-letter h2{
    font-size:31px !important;
  }

  .le32-letter p{
    font-size:16px !important;
  }

  .le32-final h2{
    font-size:42px !important;
  }

}


/* ==========================================================
   LETTER 33.1 — FINAL SPREAD BALANCE
   ========================================================== */

@media(min-width:901px){

  .le32-spread-grid{
    grid-template-columns:
      minmax(0,1fr)
      minmax(470px,.98fr) !important;

    gap:42px !important;
  }

  .le32-photo{
    height:585px !important;
  }

  .le32-photo img{
    object-position:center 22% !important;
  }

  .le32-letter{
    max-width:680px !important;
    padding-top:2px !important;
  }

  .le32-letter h2{
    font-size:40px !important;
    margin-bottom:16px !important;
  }

  .le32-letter p{
    font-size:14.5px !important;
    line-height:1.55 !important;
    margin-bottom:15px !important;
  }

  .le32-signoff{
    margin-top:16px !important;
  }

  .le32-autograph{
    width:270px !important;
    height:86px !important;
    margin-top:4px !important;
  }

  .le32-autograph img{
    width:260px !important;
    height:82px !important;
  }

  .le32-letter-button{
    margin-top:10px !important;
  }

}


/* ==========================================================
   LETTER 34 — FULL-BLEED EDITORIAL SPREAD
   exact magazine geometry
   ========================================================== */


/* ----------------------------------------------------------
   INTRO
   Keep intro aligned with site shell
   ---------------------------------------------------------- */

.le32-intro{
  padding-top:34px !important;
  padding-bottom:24px !important;
}

.le32-intro h1{
  margin-bottom:8px !important;
}

.le32-deck{
  max-width:820px !important;
}


/* ----------------------------------------------------------
   FULL-BLEED SPREAD
   photo touches viewport left edge
   ---------------------------------------------------------- */

@media (min-width:901px){

  .le32-spread{
    width:100% !important;
    padding:0 !important;
    margin:0 !important;
  }

  /* remove normal shell restriction only for this spread */
  .le32-spread > .le32-shell{
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
  }

  .le32-spread-grid{
    width:100% !important;

    display:grid !important;

    grid-template-columns:
      minmax(0,50vw)
      minmax(0,1fr) !important;

    gap:0 !important;

    align-items:stretch !important;
  }


  /* --------------------------------------------------------
     PHOTO
     -------------------------------------------------------- */

  .le32-photo{
    width:100% !important;

    height:auto !important;
    min-height:650px !important;

    margin:0 !important;

    align-self:stretch !important;

    overflow:hidden !important;

    background:#e7e4db !important;
  }

  .le32-photo img{
    display:block !important;

    width:100% !important;
    height:100% !important;

    object-fit:cover !important;

    /*
      real approved portrait:
      keep face and seated pose visible
    */
    object-position:center 24% !important;
  }


  /* --------------------------------------------------------
     LETTER COLUMN
     -------------------------------------------------------- */

  .le32-letter{
    box-sizing:border-box !important;

    width:100% !important;
    max-width:none !important;

    padding:
      10px
      max(54px,calc((100vw - 1390px)/2 + 46px))
      28px
      clamp(48px,5vw,76px) !important;

    align-self:stretch !important;
  }


  .le32-letter h2{
    max-width:620px !important;

    margin:
      0
      0
      17px !important;

    font-size:clamp(34px,2.65vw,42px) !important;

    line-height:1.03 !important;
    letter-spacing:-.028em !important;
  }


  .le32-letter p{
    max-width:625px !important;

    margin:
      0
      0
      16px !important;

    font-size:14.5px !important;
    line-height:1.56 !important;
  }


  /* --------------------------------------------------------
     SIGNATURE AREA
     -------------------------------------------------------- */

  .le32-signoff{
    margin-top:20px !important;

    font-size:18px !important;
  }

  .le32-autograph{
    width:285px !important;
    height:94px !important;

    margin:
      6px
      0
      0 !important;
  }

  .le32-autograph img{
    width:275px !important;
    height:90px !important;
  }

  .le32-author{
    margin-top:0 !important;

    font-size:10px !important;
  }

  .le32-letter-button{
    margin-top:12px !important;

    min-height:43px !important;

    padding:
      0
      24px !important;
  }

}


/* ----------------------------------------------------------
   DESKTOP LARGE
   slightly more cinematic photo width
   ---------------------------------------------------------- */

@media (min-width:1450px){

  .le32-spread-grid{
    grid-template-columns:
      minmax(0,49.5vw)
      minmax(0,1fr) !important;
  }

  .le32-letter{
    padding-left:70px !important;
  }

}


/* ----------------------------------------------------------
   MID-SIZE DESKTOP
   prevent letter from becoming cramped
   ---------------------------------------------------------- */

@media (min-width:901px) and (max-width:1180px){

  .le32-spread-grid{
    grid-template-columns:
      minmax(0,47%)
      minmax(0,53%) !important;
  }

  .le32-letter{
    padding:
      8px
      36px
      28px
      40px !important;
  }

  .le32-letter h2{
    font-size:36px !important;
  }

  .le32-letter p{
    font-size:14px !important;
    line-height:1.53 !important;
  }

}


/* ----------------------------------------------------------
   FINAL GREEN BAND
   attach directly to editorial spread
   ---------------------------------------------------------- */

.le32-final{
  margin-top:0 !important;
  border-top:0 !important;
}


/* Keep final band visually connected to the spread */

@media (min-width:901px){

  .le32-final{
    padding-top:32px !important;
    padding-bottom:34px !important;
  }

}


/* ----------------------------------------------------------
   TABLET
   Return to normal shell-based composition
   ---------------------------------------------------------- */

@media (max-width:900px){

  .le32-spread > .le32-shell{
    width:calc(100% - 40px) !important;
    max-width:none !important;
    margin:0 auto !important;
  }

  .le32-spread-grid{
    grid-template-columns:1fr !important;
    gap:34px !important;
  }

  .le32-photo{
    min-height:0 !important;
    height:auto !important;
    aspect-ratio:4 / 5 !important;
  }

  .le32-letter{
    padding:
      0
      0
      28px !important;
  }

}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width:560px){

  .le32-spread > .le32-shell{
    width:calc(100% - 28px) !important;
  }

}


/* ==========================================================
   LETTER 34.1 — REFERENCE HEIGHT + RHYTHM
   ========================================================== */

@media(min-width:901px){

  .le32-spread-grid{
    grid-template-columns:49% 51% !important;
  }

  .le32-photo{
    height:575px !important;
    min-height:575px !important;
  }

  .le32-photo img{
    object-position:center 22% !important;
  }

  .le32-letter{
    padding:
      4px
      max(46px,calc((100vw - 1390px)/2 + 38px))
      16px
      42px !important;
  }

  .le32-letter h2{
    margin-bottom:14px !important;
    font-size:38px !important;
  }

  .le32-letter p{
    max-width:630px !important;
    margin-bottom:13px !important;
    font-size:14px !important;
    line-height:1.49 !important;
  }

  .le32-signoff{
    margin-top:13px !important;
  }

  .le32-autograph{
    width:260px !important;
    height:78px !important;
    margin-top:3px !important;
  }

  .le32-autograph img{
    width:250px !important;
    height:76px !important;
  }

  .le32-author{
    font-size:9px !important;
  }

  .le32-letter-button{
    min-height:40px !important;
    margin-top:8px !important;
    padding:0 20px !important;
  }

}



/* ==========================================================
   LETTER 34.2 — BIGGER PHOTO + TRANSPARENT BACKGROUND
   ========================================================== */

@media (min-width: 901px){

  .le32-spread-grid{
    align-items:end !important;
  }

  .le32-photo{
    position: relative !important;
    background: transparent !important;
    overflow: visible !important;
    min-height: 690px !important;
    height: 690px !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
  }

  .le32-photo img{
    width: 118% !important;
    max-width: none !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center bottom !important;
    display: block !important;
    background: transparent !important;
    filter: none !important;
  }

  .le32-letter{
    padding-left: 36px !important;
    padding-right: max(34px, calc((100vw - 1380px)/2 + 18px)) !important;
  }

  .le32-letter h2{
    margin-top: 8px !important;
  }
}

@media (max-width: 900px){

  .le32-photo{
    background: transparent !important;
    min-height: 520px !important;
    height: 520px !important;
    overflow: visible !important;
  }

  .le32-photo img{
    width: 108% !important;
    max-width: none !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center bottom !important;
    background: transparent !important;
  }
}

/* ==========================================================
   LETTER 35 — EDITORIAL TYPOGRAPHY
   photo intentionally untouched
   ========================================================== */


/* INTRO */

.le32-intro h1{
  font-size:clamp(70px,6.1vw,96px) !important;
  line-height:.91 !important;
  letter-spacing:-.047em !important;
  color:#171c18 !important;
}

.le32-deck{
  max-width:760px !important;

  margin-top:9px !important;

  font-family:Georgia,"Times New Roman",serif !important;
  font-size:18px !important;
  line-height:1.48 !important;

  color:#505850 !important;
}


/* LETTER HEADING */

.le32-letter h2{
  max-width:580px !important;

  margin-bottom:27px !important;

  font-family:Georgia,"Times New Roman",serif !important;
  font-size:clamp(39px,3vw,48px) !important;
  font-weight:400 !important;

  line-height:1.02 !important;
  letter-spacing:-.035em !important;

  color:#18392d !important;
}


/* BODY */

.le35-letter-text{
  max-width:585px;
}

.le35-letter-text p{
  margin:0 0 23px !important;

  font-family:Georgia,"Times New Roman",serif !important;

  font-size:16px !important;
  line-height:1.67 !important;

  letter-spacing:-.006em !important;

  color:#3e463f !important;
}


/* editorial drop cap */

.le35-opening::first-letter{
  float:left;

  margin:
    8px
    9px
    0
    0;

  font-family:Georgia,"Times New Roman",serif;

  font-size:66px;
  line-height:.72;

  color:#18392d;
}


/* SIGN-OFF */

.le32-signoff{
  margin-top:31px !important;

  font-family:Georgia,"Times New Roman",serif !important;

  font-size:21px !important;
  line-height:1.25 !important;

  color:#29392f !important;
}


/* signature / author spacing */

.le32-autograph{
  margin-top:9px !important;
}

.le32-author{
  margin-top:4px !important;

  font-size:10px !important;
  letter-spacing:.01em !important;

  color:#747c74 !important;
}


.le32-letter-button{
  margin-top:18px !important;
}


/* desktop: more breathing room around the letter */

@media(min-width:901px){

  .le32-letter{
    padding-left:48px !important;
  }

}


/* mobile */

@media(max-width:900px){

  .le35-letter-text{
    max-width:680px;
  }

  .le35-letter-text p{
    font-size:17px !important;
  }

}

@media(max-width:560px){

  .le32-intro h1{
    font-size:56px !important;
  }

  .le32-deck{
    font-size:17px !important;
  }

  .le32-letter h2{
    font-size:35px !important;
  }

  .le35-opening::first-letter{
    font-size:57px;
  }

}


/* ==========================================================
   LETTER 35.1 — PORTRAIT BOUNDS + TITLE FIX
   ========================================================== */

.le32-intro{
  position:relative !important;
  z-index:5 !important;
}


/* desktop */

@media(min-width:901px){

  /* larger photographic column, but no image overflow */
  .le32-spread-grid{
    grid-template-columns:
      minmax(0,54%)
      minmax(0,46%) !important;

    align-items:start !important;
  }

  .le32-photo{
    position:relative !important;

    height:720px !important;
    min-height:720px !important;

    display:flex !important;
    align-items:flex-end !important;
    justify-content:center !important;

    overflow:hidden !important;

    background:transparent !important;

    z-index:1 !important;
  }

  .le32-photo img{
    display:block !important;

    width:100% !important;
    max-width:100% !important;

    height:100% !important;
    max-height:100% !important;

    object-fit:contain !important;
    object-position:center bottom !important;

    background:transparent !important;

    transform:none !important;

    position:relative !important;
    top:auto !important;
    left:auto !important;
    right:auto !important;
    bottom:auto !important;
  }

  .le32-letter{
    position:relative !important;
    z-index:2 !important;

    padding-left:44px !important;
  }

}


/* tablet */

@media(max-width:900px){

  .le32-photo{
    height:auto !important;
    min-height:0 !important;

    aspect-ratio:4 / 5 !important;

    overflow:hidden !important;

    background:transparent !important;
  }

  .le32-photo img{
    width:100% !important;
    height:100% !important;

    object-fit:contain !important;
    object-position:center bottom !important;

    transform:none !important;
  }

}


/* ==========================================================
   LETTER 35.2 — EDITORIAL COMPOSITION POLISH
   keep transparent portrait
   ========================================================== */

@media(min-width:901px){

  /* one editorial spread, not two separate columns */
  .le32-spread-grid{
    grid-template-columns:
      minmax(0,57%)
      minmax(0,43%) !important;

    gap:0 !important;
    align-items:end !important;
  }


  /* portrait anchor */

  .le32-photo{
    height:720px !important;
    min-height:720px !important;

    display:flex !important;
    align-items:flex-end !important;
    justify-content:flex-start !important;

    overflow:hidden !important;

    background:transparent !important;
  }

  .le32-photo img{
    display:block !important;

    width:110% !important;
    max-width:none !important;

    height:auto !important;
    max-height:720px !important;

    object-fit:contain !important;
    object-position:left bottom !important;

    margin-left:-3% !important;

    transform:none !important;

    background:transparent !important;
  }


  /* bring letter closer to portrait */

  .le32-letter{
    max-width:none !important;

    padding:
      18px
      max(34px,calc((100vw - 1390px)/2 + 22px))
      24px
      24px !important;
  }


  /* editor's heading */

  .le32-letter h2{
    max-width:560px !important;

    margin:
      0
      0
      26px !important;

    font-size:clamp(40px,3vw,47px) !important;

    line-height:1.01 !important;
    letter-spacing:-.035em !important;
  }


  /* body measure */

  .le35-letter-text{
    max-width:570px !important;
  }

  .le35-letter-text p{
    max-width:570px !important;

    margin-bottom:22px !important;

    font-size:15.5px !important;
    line-height:1.66 !important;

    color:#353e37 !important;
  }


  /* drop cap: editorial but not oversized */

  .le35-opening::first-letter{
    font-size:61px !important;

    line-height:.76 !important;

    margin:
      7px
      9px
      0
      0 !important;
  }


  /* signoff slightly tighter */

  .le32-signoff{
    margin-top:27px !important;
  }

  .le32-autograph{
    margin-top:7px !important;
  }

  .le32-letter-button{
    margin-top:15px !important;
  }

}


/* keep tablet/mobile safe */

@media(max-width:900px){

  .le32-photo img{
    width:100% !important;
    margin-left:0 !important;
  }

}


/* ==========================================================
   LETTER 35.3 — FINAL EDITORIAL GEOMETRY
   portrait preserved
   ========================================================== */

@media(min-width:901px){

  /* Возвращаем разворот в контролируемую журнальную ширину */
  .le32-spread > .le32-shell{
    width:min(1400px,calc(100% - 56px)) !important;
    max-width:1400px !important;
    margin:0 auto !important;
  }

  .le32-spread-grid{
    display:grid !important;

    grid-template-columns:
      minmax(0,55%)
      minmax(0,45%) !important;

    gap:30px !important;

    align-items:end !important;
  }

  /* Фото не уменьшаем */
  .le32-photo{
    height:700px !important;
    min-height:700px !important;

    overflow:hidden !important;
    background:transparent !important;

    display:flex !important;
    align-items:flex-end !important;
    justify-content:center !important;
  }

  .le32-photo img{
    width:100% !important;
    max-width:100% !important;

    height:100% !important;
    max-height:100% !important;

    margin:0 !important;

    object-fit:contain !important;
    object-position:center bottom !important;

    transform:none !important;

    background:transparent !important;
  }

  /* Письмо ближе к портрету */
  .le32-letter{
    box-sizing:border-box !important;

    width:100% !important;
    max-width:610px !important;

    padding:
      12px
      0
      24px
      6px !important;
  }

  .le32-letter h2{
    max-width:540px !important;

    margin:0 0 25px !important;

    font-size:44px !important;
    line-height:1.02 !important;
    letter-spacing:-.034em !important;
  }

  /* Более дорогая длина строки */
  .le35-letter-text{
    max-width:545px !important;
  }

  .le35-letter-text p{
    max-width:545px !important;

    margin-bottom:21px !important;

    font-size:16px !important;
    line-height:1.65 !important;

    color:#394239 !important;
  }

  .le35-opening::first-letter{
    font-size:60px !important;
    line-height:.76 !important;

    margin:
      7px
      10px
      0
      0 !important;
  }

  .le32-signoff{
    margin-top:26px !important;
  }

  .le32-autograph{
    margin-top:7px !important;
  }

}


/* На ноутбуках письмо не должно уходить за экран */

@media(min-width:901px) and (max-width:1250px){

  .le32-spread > .le32-shell{
    width:calc(100% - 36px) !important;
  }

  .le32-spread-grid{
    grid-template-columns:
      minmax(0,53%)
      minmax(0,47%) !important;

    gap:24px !important;
  }

  .le32-photo{
    height:650px !important;
    min-height:650px !important;
  }

  .le32-letter h2{
    font-size:40px !important;
  }

  .le35-letter-text p{
    font-size:15px !important;
    line-height:1.62 !important;
  }

}


/* ==========================================================
   LETTER 35.4 — FINAL EDITORIAL TYPOGRAPHY
   NO LAYOUT / PHOTO / CTA CHANGES
   ========================================================== */


/* ----------------------------------------------------------
   TOP EDITORIAL INTRO
   ---------------------------------------------------------- */

.le32-intro{
  padding-bottom:30px !important;
}

.le32-intro h1{
  max-width:760px !important;

  margin:
    9px
    0
    14px !important;

  font-size:clamp(64px,5.55vw,88px) !important;
  line-height:.94 !important;
  letter-spacing:-.043em !important;

  color:#171c18 !important;
}


.le32-deck{
  max-width:720px !important;

  margin:0 !important;

  font-family:Georgia,"Times New Roman",serif !important;

  font-size:17px !important;
  line-height:1.52 !important;
  letter-spacing:-.007em !important;

  color:#596158 !important;
}


/* ----------------------------------------------------------
   LETTER TITLE
   ---------------------------------------------------------- */

.le32-letter h2{
  max-width:500px !important;

  margin:
    0
    0
    24px !important;

  font-size:clamp(36px,2.65vw,43px) !important;
  line-height:1.035 !important;
  letter-spacing:-.031em !important;

  color:#18392d !important;
}


/* ----------------------------------------------------------
   BODY COPY
   narrower magazine measure
   ---------------------------------------------------------- */

.le35-letter-text{
  max-width:525px !important;
}


.le35-letter-text p{
  max-width:525px !important;

  margin:
    0
    0
    24px !important;

  font-family:Georgia,"Times New Roman",serif !important;

  font-size:15.5px !important;
  line-height:1.69 !important;

  letter-spacing:-.004em !important;

  color:#3c443d !important;
}


/* First paragraph slightly more open */

.le35-letter-text .le35-opening{
  margin-bottom:27px !important;
}


/* Editorial drop cap */

.le35-opening::first-letter{
  float:left !important;

  margin:
    8px
    10px
    1px
    0 !important;

  font-size:58px !important;
  line-height:.75 !important;

  color:#18392d !important;
}


/* ----------------------------------------------------------
   SIGN OFF
   ---------------------------------------------------------- */

.le32-signoff{
  margin-top:30px !important;

  font-size:20px !important;
  line-height:1.3 !important;

  color:#27372e !important;
}


.le32-author{
  margin-top:4px !important;

  font-size:9px !important;
  letter-spacing:.025em !important;

  color:#7a8179 !important;
}


/* ----------------------------------------------------------
   LAPTOP
   ---------------------------------------------------------- */

@media(min-width:901px) and (max-width:1250px){

  .le32-intro h1{
    font-size:70px !important;
  }

  .le32-letter h2{
    font-size:38px !important;
  }

  .le35-letter-text{
    max-width:500px !important;
  }

  .le35-letter-text p{
    max-width:500px !important;

    font-size:15px !important;
    line-height:1.66 !important;
  }

}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media(max-width:900px){

  .le32-intro{
    padding-bottom:24px !important;
  }

  .le35-letter-text{
    max-width:680px !important;
  }

  .le35-letter-text p{
    max-width:680px !important;

    font-size:17px !important;
    line-height:1.67 !important;
  }

}


@media(max-width:560px){

  .le32-intro h1{
    font-size:54px !important;
    margin-bottom:12px !important;
  }

  .le32-deck{
    font-size:16px !important;
  }

  .le32-letter h2{
    font-size:34px !important;
    margin-bottom:22px !important;
  }

  .le35-opening::first-letter{
    font-size:53px !important;
  }

}


/* ==========================================================
   LETTER 35.5 — FINAL VERTICAL RHYTHM
   portrait geometry preserved
   ========================================================== */

@media(min-width:901px){

  /* чуть компактнее весь разворот */
  .le32-photo{
    height:660px !important;
    min-height:660px !important;
  }

  /* PNG остаётся полностью видимым */
  .le32-photo img{
    width:100% !important;
    height:100% !important;

    object-fit:contain !important;
    object-position:center bottom !important;

    transform:none !important;
    margin:0 !important;
  }

  /* убираем лишний нижний воздух у текста */
  .le32-letter{
    padding-bottom:10px !important;
  }

  .le35-letter-text p:last-child{
    margin-bottom:18px !important;
  }

  .le32-signoff{
    margin-top:20px !important;
  }

  .le32-letter-button{
    margin-bottom:0 !important;
  }

}

/* зелёный блок примыкает к развороту */
.le32-final{
  margin-top:0 !important;
}


/* ==========================================================
   LETTER 35.6 — TEXT CLOSER TO PHOTO + SHAPE WRAP
   ========================================================== */

@media (min-width: 1100px){

  /* вместо жёсткой сетки — журнальный поток */
  .le32-editorial,
  .le32-body,
  .le-body{
    display:block !important;
  }

  /* фото становится float-объектом */
  .le32-photo,
  .le-portrait,
  .letter-final-photo{
    float:left !important;

    width:clamp(430px, 40vw, 560px) !important;
    max-width:46% !important;
    height:auto !important;
    min-height:0 !important;

    margin:
      8px
      18px
      8px
      0 !important;

    background:transparent !important;
    overflow:visible !important;

    shape-outside:url("assets/images/letter-seated.webp") !important;
    shape-image-threshold:0.05 !important;
    shape-margin:8px !important;
  }

  /* прозрачный PNG без подложки */
  .le32-photo img,
  .le-portrait img,
  .letter-final-photo img{
    display:block !important;

    width:100% !important;
    height:auto !important;

    object-fit:contain !important;
    object-position:center bottom !important;

    background:transparent !important;
    padding:0 !important;
    margin:0 !important;
  }

  /* правая часть становится настоящим текстовым разворотом */
  .le32-letter,
  .le-body-copy,
  .letter-final-copy{
    display:block !important;
    width:auto !important;
    max-width:none !important;

    padding:0 !important;
    margin:0 !important;
  }

  /* заголовок письма ближе к фото */
  .le32-letter h2,
  .le-body-copy h2,
  .letter-final-copy h2{
    margin:
      10px
      0
      18px !important;

    max-width:none !important;
  }

  /* немного tighter набор для красивого обтекания */
  .le32-letter p,
  .le-body-copy p,
  .letter-final-copy p{
    max-width:none !important;
  }

  /* подпись и кнопка остаются в потоке */
  .le32-signoff,
  .final-autograph{
    margin-top:22px !important;
  }

  /* clearfix */
  .le32-letter::after,
  .le-body-copy::after,
  .letter-final-copy::after{
    content:"";
    display:block;
    clear:both;
  }
}

/* на планшетах и телефонах возвращаем нормальный стек */
@media (max-width: 1099px){
  .le32-photo,
  .le-portrait,
  .letter-final-photo{
    float:none !important;
    shape-outside:none !important;
    width:100% !important;
    max-width:100% !important;
    margin:18px 0 24px !important;
  }
}


/* ==========================================================
   LETTER 35.7 — REAL SILHOUETTE WRAP
   ========================================================== */


/* kill broken 35.6 float rules */

.le357-spread .le32-photo,
.le357-spread .le32-letter{
  float:none !important;
  shape-outside:none !important;
}


/* ==========================================================
   DESKTOP
   ========================================================== */

@media(min-width:1100px){

  .le357-spread{
    padding:0 !important;
  }

  .le357-spread > .le32-shell{
    width:min(1400px,calc(100% - 64px)) !important;
    max-width:1400px !important;
    margin:0 auto !important;
  }


  .le357-editorial-flow{
    position:relative;

    min-height:700px;

    font-family:Georgia,"Times New Roman",serif;
  }


  /* actual silhouette float */

  .le357-portrait{
    float:left !important;

    width:56% !important;
    max-width:760px !important;

    margin:
      0
      26px
      0
      -3% !important;

    background:transparent !important;

    shape-outside:url("assets/images/letter-seated.webp") !important;
    shape-image-threshold:.03 !important;
    shape-margin:18px !important;
  }


  .le357-portrait img{
    display:block;

    width:100%;
    height:auto;

    object-fit:contain;

    background:transparent;
  }


  /* title can approach shoulder / silhouette */

  .le357-editorial-flow > h2{
    margin:
      26px
      0
      25px !important;

    font-family:Georgia,"Times New Roman",serif;

    font-size:clamp(38px,3vw,47px);
    font-weight:400;

    line-height:1.02;
    letter-spacing:-.034em;

    color:#18392d;
  }


  .le357-editorial-flow .le35-letter-text{
    max-width:none !important;
  }


  .le357-editorial-flow .le35-letter-text p{
    max-width:none !important;

    margin:
      0
      0
      23px !important;

    font-size:16px !important;
    line-height:1.68 !important;

    color:#394239 !important;
  }


  /* drop cap */

  .le357-editorial-flow .le35-opening::first-letter{
    float:left;

    margin:
      7px
      10px
      0
      0;

    font-size:59px;
    line-height:.76;

    color:#18392d;
  }


  /* signature remains part of flow */

  .le357-editorial-flow .le32-signoff{
    margin-top:26px !important;

    font-size:20px !important;
  }


  .le357-editorial-flow .le32-autograph{
    width:270px !important;
    height:88px !important;

    margin:
      7px
      0
      0 !important;
  }


  .le357-editorial-flow .le32-autograph img{
    width:260px !important;
    height:84px !important;

    object-fit:contain !important;
    object-position:left center !important;
  }


  .le357-editorial-flow .le32-letter-button{
    margin-top:15px !important;
  }


  .le357-clear{
    clear:both;
  }

}


/* ==========================================================
   EXTRA LARGE
   ========================================================== */

@media(min-width:1450px){

  .le357-portrait{
    width:58% !important;
    margin-left:-5% !important;

    shape-margin:20px !important;
  }

}


/* ==========================================================
   LAPTOP
   use stable two-column layout below 1100px
   ========================================================== */

@media(min-width:760px) and (max-width:1099px){

  .le357-editorial-flow{
    display:grid;

    grid-template-columns:1fr 1fr;

    gap:34px;

    align-items:start;
  }

  .le357-portrait{
    grid-column:1;
    grid-row:1 / span 8;

    float:none !important;

    width:100% !important;
    max-width:none !important;

    margin:0 !important;

    shape-outside:none !important;
  }

  .le357-portrait img{
    width:100%;
    height:auto;
  }

  .le357-editorial-flow > h2,
  .le357-editorial-flow .le35-letter-text,
  .le357-editorial-flow .le32-signoff,
  .le357-editorial-flow .le32-autograph,
  .le357-editorial-flow .le32-author,
  .le357-editorial-flow .le32-letter-button{
    grid-column:2;
  }

}


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

@media(max-width:759px){

  .le357-portrait{
    float:none !important;

    width:100% !important;
    max-width:none !important;

    margin:
      0
      0
      32px !important;

    shape-outside:none !important;
  }

  .le357-portrait img{
    width:100%;
    height:auto;
  }

  .le357-editorial-flow > h2{
    font-size:34px;

    margin-bottom:22px;
  }

}


/* ==========================================================
   LETTER 36 — STABLE EDITORIAL SPREAD
   no float / no shape-outside
   ========================================================== */


/* ----------------------------------------------------------
   TOP TYPOGRAPHY
   ---------------------------------------------------------- */

.le32-intro{
  padding-bottom:24px !important;
}

.le32-intro h1{
  max-width:760px !important;

  margin:
    8px
    0
    12px !important;

  font-size:clamp(64px,5.5vw,88px) !important;
  line-height:.94 !important;
  letter-spacing:-.043em !important;

  color:#171c18 !important;
}

.le32-deck{
  max-width:640px !important;

  margin:0 !important;

  font-family:Georgia,"Times New Roman",serif !important;
  font-size:18px !important;
  line-height:1.46 !important;

  color:#596159 !important;
}


/* ==========================================================
   EDITORIAL SPREAD
   ========================================================== */

.le36-spread{
  padding:0 !important;
  overflow:hidden;
}

.le36-grid{
  display:grid !important;

  grid-template-columns:
    minmax(0,57%)
    minmax(0,43%) !important;

  gap:0 !important;

  align-items:end !important;
}


/* ----------------------------------------------------------
   PORTRAIT
   ---------------------------------------------------------- */

.le36-portrait{
  position:relative;

  height:710px;

  margin:0;

  display:flex;
  align-items:flex-end;
  justify-content:center;

  overflow:hidden;

  background:transparent;
}

.le36-portrait img{
  display:block;

  width:100%;
  max-width:100%;

  height:100%;
  max-height:100%;

  object-fit:contain;
  object-position:center bottom;

  background:transparent;

  margin:0;
  transform:none;
}


/* ----------------------------------------------------------
   LETTER COLUMN
   ---------------------------------------------------------- */

.le36-letter{
  position:relative;

  box-sizing:border-box;

  width:100%;
  max-width:570px;

  /*
    starts around shoulder level;
    slight negative optical pull toward portrait
  */
  margin-left:-18px;

  padding:
    72px
    0
    22px
    0;

  align-self:stretch;
}


.le36-letter h2{
  max-width:520px;

  margin:
    0
    0
    25px;

  font-family:Georgia,"Times New Roman",serif;

  font-size:clamp(38px,2.8vw,45px);
  font-weight:400;

  line-height:1.02;
  letter-spacing:-.033em;

  color:#18392d;
}


/* ----------------------------------------------------------
   COPY
   ---------------------------------------------------------- */

.le36-copy{
  max-width:530px;
}

.le36-copy p{
  max-width:530px;

  margin:
    0
    0
    23px;

  font-family:Georgia,"Times New Roman",serif;

  font-size:16px;
  line-height:1.67;

  letter-spacing:-.004em;

  color:#394239;
}


/* First paragraph / editorial drop cap */

.le36-opening::first-letter{
  float:left;

  margin:
    8px
    10px
    0
    0;

  font-family:Georgia,"Times New Roman",serif;

  font-size:59px;
  line-height:.75;

  color:#18392d;
}


/* ----------------------------------------------------------
   SIGNATURE AREA
   ---------------------------------------------------------- */

.le36-letter .le32-signoff{
  margin-top:28px !important;

  font-size:20px !important;
  line-height:1.25 !important;
}

.le36-letter .le32-autograph{
  width:270px !important;
  height:88px !important;

  margin:
    7px
    0
    0 !important;
}

.le36-letter .le32-autograph img{
  width:260px !important;
  height:84px !important;

  object-fit:contain !important;
  object-position:left center !important;
}

.le36-letter .le32-author{
  margin-top:3px !important;

  font-size:9px !important;

  color:#7a8179 !important;
}

.le36-letter .le32-letter-button{
  margin-top:15px !important;
}


/* ==========================================================
   LARGE DESKTOP
   ========================================================== */

@media(min-width:1450px){

  .le36-grid{
    grid-template-columns:
      minmax(0,58%)
      minmax(0,42%) !important;
  }

  .le36-letter{
    margin-left:-26px;
  }

}


/* ==========================================================
   LAPTOP
   ========================================================== */

@media(min-width:901px) and (max-width:1250px){

  .le36-grid{
    grid-template-columns:
      minmax(0,54%)
      minmax(0,46%) !important;
  }

  .le36-portrait{
    height:650px;
  }

  .le36-letter{
    max-width:520px;

    margin-left:-8px;

    padding-top:52px;
  }

  .le36-letter h2{
    font-size:38px;
  }

  .le36-copy{
    max-width:500px;
  }

  .le36-copy p{
    max-width:500px;

    font-size:15px;
    line-height:1.63;
  }

}


/* ==========================================================
   TABLET
   ========================================================== */

@media(max-width:900px){

  .le36-grid{
    grid-template-columns:1fr !important;

    gap:36px !important;
  }

  .le36-portrait{
    height:auto;

    aspect-ratio:4 / 5;
  }

  .le36-letter{
    max-width:700px;

    margin-left:0;

    padding:
      0
      0
      36px;
  }

  .le36-copy{
    max-width:680px;
  }

  .le36-copy p{
    max-width:680px;

    font-size:17px;
  }

}


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

@media(max-width:560px){

  .le36-letter h2{
    font-size:34px;
  }

  .le36-copy p{
    font-size:16px;
    line-height:1.66;
  }

  .le36-opening::first-letter{
    font-size:53px;
  }

}


/* ==========================================================
   LETTER 40.0 — FULL REBUILD TO REFERENCE
   ========================================================== */

.le40-page{
  background:#f5f2ea !important;
  color:#243028 !important;
}

.le40-shell{
  width:min(1280px, calc(100% - 72px)) !important;
  margin:0 auto !important;
}


/* ----------------------------------------------------------
   INTRO
   ---------------------------------------------------------- */

.le40-intro{
  padding:28px 0 14px !important;
}

.le40-kicker{
  margin:0 0 8px !important;

  font-family:Arial,sans-serif !important;
  font-size:12px !important;
  letter-spacing:.18em !important;
  text-transform:uppercase !important;

  color:#8c9189 !important;
}

.le40-intro h1{
  max-width:760px !important;

  margin:0 0 10px !important;

  font-family:Georgia,"Times New Roman",serif !important;
  font-size:clamp(72px,6vw,90px) !important;
  font-weight:400 !important;

  line-height:.92 !important;
  letter-spacing:-.055em !important;

  color:#171b18 !important;
}

.le40-deck{
  max-width:760px !important;

  margin:0 !important;

  font-family:Georgia,"Times New Roman",serif !important;
  font-size:18px !important;
  line-height:1.42 !important;

  color:#515950 !important;
}


/* ----------------------------------------------------------
   EDITORIAL GRID
   ---------------------------------------------------------- */

.le40-editorial{
  padding:10px 0 0 !important;
}

.le40-editorial-grid{
  display:grid !important;
  grid-template-columns:minmax(0, 1.06fr) minmax(0, .94fr) !important;
  gap:34px !important;
  align-items:start !important;
}


/* ----------------------------------------------------------
   PHOTO STAGE
   ---------------------------------------------------------- */

.le40-photo-stage{
  margin:0 !important;
}

.le40-scene{
  position:relative !important;

  min-height:690px !important;

  overflow:hidden !important;

  background:
    radial-gradient(circle at 18% 16%, rgba(255,255,255,.62), transparent 22%),
    linear-gradient(180deg, #efe7db 0%, #ebe3d8 100%) !important;
}


/* decorative top plant */
.le40-plant{
  position:absolute !important;
  pointer-events:none !important;
}

.le40-plant-top{
  left:-24px !important;
  top:34px !important;
  width:180px !important;
  height:210px !important;
  opacity:.92 !important;
  filter:saturate(.88) !important;
}

.le40-plant-top::before,
.le40-plant-top::after{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
}

.le40-plant-top::before{
  background:
    radial-gradient(ellipse 18px 8px at 56px 34px, rgba(92,112,79,.88) 0 72%, transparent 74%),
    radial-gradient(ellipse 18px 8px at 74px 52px, rgba(97,117,83,.85) 0 72%, transparent 74%),
    radial-gradient(ellipse 20px 9px at 95px 74px, rgba(102,120,86,.88) 0 72%, transparent 74%),
    radial-gradient(ellipse 18px 8px at 113px 96px, rgba(93,112,80,.86) 0 72%, transparent 74%),
    radial-gradient(ellipse 18px 8px at 58px 90px, rgba(104,121,88,.86) 0 72%, transparent 74%),
    radial-gradient(ellipse 17px 8px at 85px 116px, rgba(103,119,87,.84) 0 72%, transparent 74%),
    radial-gradient(ellipse 16px 8px at 108px 139px, rgba(93,111,80,.84) 0 72%, transparent 74%),
    linear-gradient(160deg, transparent 0 45%, rgba(114,103,79,.72) 46% 48%, transparent 49% 100%);
  transform:rotate(-8deg) !important;
}

.le40-plant-top::after{
  filter:blur(10px) !important;
  opacity:.28 !important;
  background:
    radial-gradient(circle at 80px 96px, rgba(75,92,66,.55), transparent 42%),
    radial-gradient(circle at 52px 64px, rgba(75,92,66,.40), transparent 38%) !important;
}

.le40-plant-bottom{
  left:-42px !important;
  bottom:-8px !important;
  width:210px !important;
  height:170px !important;
  filter:blur(1.2px) !important;
  opacity:.92 !important;
}

.le40-plant-bottom::before,
.le40-plant-bottom::after{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
}

.le40-plant-bottom::before{
  background:
    radial-gradient(ellipse 34px 15px at 72px 110px, rgba(95,117,82,.92) 0 70%, transparent 72%),
    radial-gradient(ellipse 30px 14px at 100px 88px, rgba(101,122,88,.90) 0 70%, transparent 72%),
    radial-gradient(ellipse 32px 14px at 130px 116px, rgba(92,112,79,.92) 0 70%, transparent 72%),
    radial-gradient(ellipse 28px 13px at 44px 138px, rgba(101,121,86,.88) 0 70%, transparent 72%),
    radial-gradient(ellipse 32px 14px at 148px 142px, rgba(88,107,76,.88) 0 70%, transparent 72%),
    linear-gradient(148deg, transparent 0 40%, rgba(116,106,84,.70) 41% 43%, transparent 44% 100%);
}

.le40-plant-bottom::after{
  filter:blur(16px) !important;
  opacity:.26 !important;
  background:
    radial-gradient(circle at 72px 118px, rgba(86,103,74,.66), transparent 36%),
    radial-gradient(circle at 132px 136px, rgba(86,103,74,.55), transparent 30%) !important;
}


/* faux books */
.le40-books{
  position:absolute !important;
  left:20px !important;
  bottom:98px !important;
  z-index:2 !important;
  display:grid !important;
  gap:7px !important;
}

.le40-books span{
  display:flex !important;
  align-items:center !important;

  height:28px !important;
  padding:0 16px !important;

  background:#efe8dc !important;
  color:#867f73 !important;

  border:1px solid rgba(125,114,95,.12) !important;
  box-shadow:0 10px 24px rgba(0,0,0,.05) !important;

  font-family:Arial,sans-serif !important;
  font-size:10px !important;
  letter-spacing:.13em !important;
  text-transform:uppercase !important;
}

.le40-books span:nth-child(1){
  width:138px !important;
}

.le40-books span:nth-child(2){
  width:154px !important;
}


/* wall art */
.le40-art{
  position:absolute !important;
  right:28px !important;
  top:42px !important;

  width:152px !important;
  height:192px !important;

  background:
    linear-gradient(180deg, rgba(209,192,170,.6), rgba(208,189,166,.75)),
    linear-gradient(120deg, transparent 0 45%, rgba(170,151,128,.18) 46% 52%, transparent 53%),
    linear-gradient(155deg, transparent 0 44%, rgba(176,157,134,.12) 45% 48%, transparent 49%);
  border:12px solid #eadfcd !important;
  box-shadow:0 16px 34px rgba(0,0,0,.06) !important;
}

.le40-art::after{
  content:"" !important;
  position:absolute !important;
  inset:18px !important;
  background:
    radial-gradient(circle at 28% 36%, rgba(158,140,118,.14), transparent 24%),
    linear-gradient(115deg, transparent 0 43%, rgba(157,140,118,.18) 44% 48%, transparent 49%),
    linear-gradient(65deg, transparent 0 39%, rgba(161,143,119,.12) 40% 43%, transparent 44%);
}


/* stone block */
.le40-stone{
  position:absolute !important;
  right:0 !important;
  bottom:0 !important;

  width:184px !important;
  height:110px !important;

  background:
    linear-gradient(180deg, rgba(229,216,199,.96), rgba(220,205,187,.98)),
    linear-gradient(135deg, transparent 0 46%, rgba(173,157,138,.18) 47% 48%, transparent 49% 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    0 12px 28px rgba(0,0,0,.06) !important;
}

.le40-stone::before{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  background:
    radial-gradient(circle at 18% 26%, rgba(142,125,103,.11), transparent 16%),
    radial-gradient(circle at 58% 46%, rgba(132,116,95,.10), transparent 13%),
    radial-gradient(circle at 78% 78%, rgba(141,124,102,.10), transparent 15%),
    linear-gradient(95deg, transparent 0 47%, rgba(150,133,110,.10) 48% 49%, transparent 50% 100%);
}


/* portrait */
.le40-portrait{
  position:absolute !important;
  left:50% !important;
  bottom:0 !important;
  transform:translateX(-46%) !important;

  width:min(100%, 760px) !important;
  height:100% !important;

  object-fit:contain !important;
  object-position:center bottom !important;

  z-index:3 !important;
  background:transparent !important;
}


/* ----------------------------------------------------------
   RIGHT LETTER COLUMN
   ---------------------------------------------------------- */

.le40-letter{
  position:relative !important;
  z-index:4 !important;

  padding:8px 0 0 !important;
}

.le40-letter h2{
  margin:0 0 18px !important;

  font-family:Georgia,"Times New Roman",serif !important;
  font-size:clamp(38px,3vw,54px) !important;
  font-weight:400 !important;

  line-height:1.03 !important;
  letter-spacing:-.03em !important;

  color:#1d3f33 !important;
}

.le40-copy{
  max-width:560px !important;
}

.le40-copy p{
  margin:0 0 18px !important;

  font-family:Georgia,"Times New Roman",serif !important;
  font-size:16px !important;
  line-height:1.54 !important;

  color:#4a544b !important;
}

.le40-signoff{
  margin-top:8px !important;

  font-family:Georgia,"Times New Roman",serif !important;
  font-size:18px !important;
  line-height:1.3 !important;

  color:#334238 !important;
}

.le40-signature{
  margin:10px 0 0 !important;
  width:320px !important;
  height:108px !important;
}

.le40-signature img{
  width:100% !important;
  height:100% !important;
  object-fit:contain !important;
  object-position:left center !important;
}

.le40-author{
  margin-top:-2px !important;

  font-family:Arial,sans-serif !important;
  font-size:12px !important;
  line-height:1.4 !important;

  color:#8a8f87 !important;
}

.le40-button{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;

  min-height:54px !important;
  padding:0 28px !important;

  margin-top:18px !important;

  background:#17392d !important;
  color:#f6f1e8 !important;

  border:1px solid rgba(23,57,45,.96) !important;

  font-family:Arial,sans-serif !important;
  font-size:12px !important;
  letter-spacing:.18em !important;
  text-transform:uppercase !important;
  text-decoration:none !important;

  transition:all .25s ease !important;
}

.le40-button:hover{
  background:#24493b !important;
  color:#fffaf2 !important;
}


/* ----------------------------------------------------------
   GREEN BAND + FOOTER
   ---------------------------------------------------------- */

.le40-band{
  position:relative !important;
  margin-top:0 !important;
  overflow:hidden !important;

  background:
    radial-gradient(circle at 82% 28%, rgba(255,255,255,.08), transparent 18%),
    linear-gradient(90deg, #123728 0%, #14392d 40%, #163b2f 100%) !important;
  color:#f6f1e8 !important;
}

.le40-band::after{
  content:"" !important;
  position:absolute !important;
  right:-2px !important;
  bottom:0 !important;

  width:290px !important;
  height:154px !important;

  background:
    linear-gradient(180deg, rgba(38,54,46,.22), rgba(21,33,28,.02)),
    linear-gradient(120deg, rgba(255,255,255,.04), transparent 34%),
    linear-gradient(135deg, #284033 0%, #1e3028 35%, #304c3e 100%) !important;
  opacity:.95 !important;
}

.le40-band-grid{
  position:relative !important;
  z-index:2 !important;

  display:grid !important;
  grid-template-columns:minmax(0, 1.2fr) 1px minmax(340px, .8fr) !important;
  gap:38px !important;
  align-items:center !important;

  padding:26px 0 22px !important;
}

.le40-band-left h2{
  margin:6px 0 0 !important;

  font-family:Georgia,"Times New Roman",serif !important;
  font-size:clamp(52px,4.7vw,74px) !important;
  font-weight:400 !important;

  line-height:.95 !important;
  letter-spacing:-.05em !important;

  color:#f7f2e8 !important;
}

.le40-band-kicker{
  font-family:Arial,sans-serif !important;
  font-size:11px !important;
  letter-spacing:.18em !important;
  text-transform:uppercase !important;

  color:#c3cec1 !important;
}

.le40-band-divider{
  width:1px !important;
  height:114px !important;
  background:rgba(255,255,255,.25) !important;
}

.le40-band-right{
  max-width:430px !important;
}

.le40-band-right p{
  margin:0 0 18px !important;

  font-family:Georgia,"Times New Roman",serif !important;
  font-size:16px !important;
  line-height:1.46 !important;

  color:#eef2ec !important;
}

.le40-band-button{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;

  min-height:52px !important;
  padding:0 24px !important;

  background:#f4efe5 !important;
  color:#18392d !important;

  border:1px solid rgba(244,239,229,.9) !important;

  font-family:Arial,sans-serif !important;
  font-size:11px !important;
  letter-spacing:.18em !important;
  text-transform:uppercase !important;
  text-decoration:none !important;
}

.le40-footer{
  position:relative !important;
  z-index:2 !important;

  display:grid !important;
  grid-template-columns:auto 1fr auto !important;
  gap:26px !important;
  align-items:center !important;

  padding:16px 0 18px !important;

  border-top:1px solid rgba(255,255,255,.16) !important;
}

.le40-footer-copy{
  font-family:Arial,sans-serif !important;
  font-size:10px !important;
  line-height:1.4 !important;
  color:#d4ddd0 !important;
}

.le40-footer-nav,
.le40-footer-links{
  display:flex !important;
  align-items:center !important;
  gap:26px !important;
  flex-wrap:wrap !important;
}

.le40-footer-nav{
  justify-content:center !important;
}

.le40-footer-nav a,
.le40-footer-links a{
  font-family:Arial,sans-serif !important;
  font-size:10px !important;
  letter-spacing:.04em !important;
  text-decoration:none !important;
  color:#f3f6f1 !important;
}

.le40-footer-links{
  justify-content:flex-end !important;
}


/* ----------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------- */

@media(max-width:1180px){

  .le40-editorial-grid{
    grid-template-columns:minmax(0, 1fr) minmax(0, .92fr) !important;
    gap:28px !important;
  }

  .le40-scene{
    min-height:640px !important;
  }

  .le40-band-grid{
    grid-template-columns:1fr !important;
    gap:24px !important;
  }

  .le40-band-divider{
    display:none !important;
  }

  .le40-footer{
    grid-template-columns:1fr !important;
    gap:14px !important;
    text-align:left !important;
  }

  .le40-footer-nav{
    justify-content:flex-start !important;
  }

  .le40-footer-links{
    justify-content:flex-start !important;
  }
}

@media(max-width:900px){

  .le40-shell{
    width:min(100%, calc(100% - 36px)) !important;
  }

  .le40-intro{
    padding-top:22px !important;
  }

  .le40-intro h1{
    font-size:58px !important;
  }

  .le40-deck{
    font-size:17px !important;
  }

  .le40-editorial-grid{
    grid-template-columns:1fr !important;
    gap:24px !important;
  }

  .le40-scene{
    min-height:560px !important;
  }

  .le40-letter h2{
    font-size:38px !important;
  }

  .le40-copy p{
    font-size:17px !important;
  }

  .le40-band-left h2{
    font-size:48px !important;
  }
}

@media(max-width:560px){

  .le40-intro h1{
    font-size:48px !important;
  }

  .le40-kicker{
    font-size:11px !important;
  }

  .le40-scene{
    min-height:470px !important;
  }

  .le40-portrait{
    width:110% !important;
    transform:translateX(-50%) !important;
  }

  .le40-letter h2{
    font-size:34px !important;
  }

  .le40-copy p{
    font-size:16px !important;
    line-height:1.56 !important;
  }

  .le40-band-left h2{
    font-size:40px !important;
  }

  .le40-band-right p{
    font-size:15px !important;
  }

  .le40-footer-nav,
  .le40-footer-links{
    gap:14px !important;
  }
}


/* ==========================================================
   LETTER 40.1 — CLEAN REFERENCE POLISH
   ========================================================== */


/* ----------------------------------------------------------
   CLEAN PHOTO STAGE
   ---------------------------------------------------------- */

.le40-scene{
  min-height:710px !important;

  background:
    radial-gradient(
      circle at 26% 17%,
      rgba(255,255,255,.72) 0,
      rgba(255,255,255,.26) 24%,
      transparent 45%
    ),
    linear-gradient(
      135deg,
      #eee9df 0%,
      #e9e2d7 58%,
      #e4dccf 100%
    ) !important;
}


/* remove schematic decorations */

.le40-plant,
.le40-books,
.le40-art,
.le40-stone{
  display:none !important;
}


/* portrait becomes the hero */

.le40-portrait{
  left:50% !important;
  bottom:0 !important;

  width:106% !important;
  max-width:none !important;

  height:100% !important;

  transform:translateX(-49%) !important;

  object-fit:contain !important;
  object-position:center bottom !important;
}


/* ----------------------------------------------------------
   EDITORIAL ALIGNMENT
   ---------------------------------------------------------- */

.le40-editorial-grid{
  align-items:stretch !important;
}

.le40-letter{
  display:flex !important;
  flex-direction:column !important;

  padding:
    6px
    0
    12px !important;
}


/* slightly tighter letter */

.le40-letter h2{
  margin-bottom:17px !important;
}

.le40-copy p{
  margin-bottom:17px !important;
}


/* signature area */

.le40-signoff{
  margin-top:7px !important;
}

.le40-signature{
  margin-top:7px !important;
}

.le40-button{
  margin-top:14px !important;
}


/* ----------------------------------------------------------
   REMOVE WHITE GAP BEFORE GREEN BAND
   ---------------------------------------------------------- */

.le40-editorial{
  padding-bottom:0 !important;
  margin-bottom:0 !important;
}

.le40-editorial-grid{
  margin-bottom:0 !important;
  padding-bottom:0 !important;
}

.le40-photo-stage,
.le40-letter{
  margin-bottom:0 !important;
}

.le40-band{
  margin-top:0 !important;
}


/* ----------------------------------------------------------
   FINAL BAND
   cleaner / closer to reference
   ---------------------------------------------------------- */

.le40-band{
  background:
    linear-gradient(
      90deg,
      #12382b 0%,
      #153b2e 52%,
      #173d30 100%
    ) !important;
}

.le40-band-grid{
  padding:
    25px
    0
    22px !important;
}

.le40-band-left h2{
  font-size:clamp(48px,4.4vw,68px) !important;
}


/* ----------------------------------------------------------
   SINGLE FOOTER
   ---------------------------------------------------------- */

.le40-footer{
  padding:
    14px
    0
    16px !important;
}


/* ----------------------------------------------------------
   LAPTOP
   ---------------------------------------------------------- */

@media(max-width:1180px){

  .le40-scene{
    min-height:660px !important;
  }

  .le40-portrait{
    width:110% !important;
  }

}


/* ----------------------------------------------------------
   TABLET
   ---------------------------------------------------------- */

@media(max-width:900px){

  .le40-scene{
    min-height:560px !important;
  }

  .le40-portrait{
    width:105% !important;
  }

}


/* ==========================================================
   LETTER 40.2 — REFERENCE LOCK
   align spread bottom + clean signature
   ========================================================== */


/* ----------------------------------------------------------
   MAIN SPREAD: both halves finish on one baseline
   ---------------------------------------------------------- */

.le40-editorial-grid{
  align-items:stretch !important;
}

.le40-photo-stage{
  height:100% !important;
  align-self:stretch !important;
}

.le40-scene{
  height:100% !important;
  min-height:710px !important;
}


/* portrait stays large and anchored to bottom */

.le40-portrait{
  bottom:0 !important;

  width:108% !important;
  height:100% !important;

  object-fit:contain !important;
  object-position:center bottom !important;

  transform:translateX(-49%) !important;
}


/* right column defines a clean bottom edge */

.le40-letter{
  box-sizing:border-box !important;

  min-height:710px !important;

  padding:
    8px
    0
    12px !important;
}


/* ----------------------------------------------------------
   SIGNATURE
   ---------------------------------------------------------- */

.le40-signature{
  background:transparent !important;
  box-shadow:none !important;
  border:0 !important;

  overflow:visible !important;
}

.le40-signature img{
  display:block !important;

  background:transparent !important;
  box-shadow:none !important;
  border:0 !important;

  mix-blend-mode:multiply !important;
}


/* author closer to autograph */

.le40-author{
  margin-top:0 !important;
}


/* ----------------------------------------------------------
   CTA / GREEN BAND CONNECTION
   ---------------------------------------------------------- */

.le40-button{
  margin-bottom:0 !important;
}

.le40-editorial,
.le40-editorial-grid,
.le40-photo-stage,
.le40-letter{
  margin-bottom:0 !important;
}

.le40-band{
  margin-top:0 !important;
}


/* ----------------------------------------------------------
   LARGE DESKTOP
   ---------------------------------------------------------- */

@media(min-width:1250px){

  .le40-scene,
  .le40-letter{
    min-height:720px !important;
  }

}


/* ----------------------------------------------------------
   LAPTOP
   ---------------------------------------------------------- */

@media(max-width:1180px) and (min-width:901px){

  .le40-scene,
  .le40-letter{
    min-height:660px !important;
  }

}


/* ----------------------------------------------------------
   MOBILE / TABLET
   ---------------------------------------------------------- */

@media(max-width:900px){

  .le40-letter{
    min-height:0 !important;
  }

  .le40-scene{
    height:auto !important;
    min-height:560px !important;
  }

}


/* ==========================================================
   LETTER 40.3
   PORTRAIT ENVIRONMENT + SIGNATURE RHYTHM
   ========================================================== */


/* ----------------------------------------------------------
   PHOTO STAGE
   portrait geometry intentionally untouched
   ---------------------------------------------------------- */

.le40-scene{
  isolation:isolate !important;

  background:
    radial-gradient(
      circle at 23% 18%,
      rgba(255,255,255,.76) 0%,
      rgba(255,255,255,.34) 25%,
      transparent 48%
    ),
    linear-gradient(
      135deg,
      #eee9df 0%,
      #ebe5dc 52%,
      #e5ddd1 100%
    ) !important;
}


/* ----------------------------------------------------------
   SOFT WINDOW LIGHT
   ---------------------------------------------------------- */

.le403-light{
  position:absolute !important;

  z-index:0 !important;

  left:-5% !important;
  top:-8% !important;

  width:62% !important;
  height:78% !important;

  pointer-events:none !important;

  background:
    linear-gradient(
      108deg,
      rgba(255,255,255,.00) 0 25%,
      rgba(255,255,255,.24) 26% 38%,
      rgba(255,255,255,.00) 39% 48%,
      rgba(255,255,255,.16) 49% 60%,
      transparent 61%
    ) !important;

  filter:blur(2px) !important;

  opacity:.86 !important;
}


/* ----------------------------------------------------------
   QUIET WALL ART
   ---------------------------------------------------------- */

.le403-frame{
  position:absolute !important;

  z-index:1 !important;

  top:52px !important;
  right:34px !important;

  width:138px !important;
  height:180px !important;

  padding:10px !important;

  box-sizing:border-box !important;

  background:#ebe1d2 !important;

  box-shadow:
    0 18px 38px rgba(52,45,37,.055) !important;

  pointer-events:none !important;
}


.le403-frame-inner{
  width:100% !important;
  height:100% !important;

  background:
    linear-gradient(
      63deg,
      transparent 0 44%,
      rgba(139,122,101,.10) 45% 47%,
      transparent 48%
    ),
    linear-gradient(
      116deg,
      transparent 0 43%,
      rgba(143,125,103,.12) 44% 46%,
      transparent 47%
    ),
    linear-gradient(
      180deg,
      #ded1c0,
      #e6dacb
    ) !important;

  border:
    1px solid rgba(118,100,80,.07) !important;
}


/* ----------------------------------------------------------
   BOOKS
   only a small editorial detail
   ---------------------------------------------------------- */

.le403-books{
  position:absolute !important;

  z-index:2 !important;

  left:22px !important;
  bottom:30px !important;

  display:grid !important;
  gap:4px !important;

  pointer-events:none !important;
}


.le403-books span{
  display:flex !important;

  align-items:center !important;

  height:25px !important;

  padding:
    0
    13px !important;

  background:
    rgba(244,238,227,.92) !important;

  border:
    1px solid rgba(120,105,86,.10) !important;

  box-shadow:
    0 7px 20px rgba(51,44,37,.035) !important;

  font-family:
    Arial,
    sans-serif !important;

  font-size:8px !important;

  letter-spacing:.13em !important;
  text-transform:uppercase !important;

  color:
    #888276 !important;
}


.le403-books span:first-child{
  width:128px !important;
}


.le403-books span:last-child{
  width:143px !important;
}


/* ----------------------------------------------------------
   REAL BRAND STONE
   ---------------------------------------------------------- */

.le403-stone{
  position:absolute !important;

  z-index:1 !important;

  right:-90px !important;
  bottom:-62px !important;

  width:300px !important;

  margin:0 !important;

  opacity:.40 !important;

  pointer-events:none !important;

  -webkit-mask-image:
    linear-gradient(
      to left,
      #000 0%,
      #000 62%,
      rgba(0,0,0,.54) 78%,
      transparent 100%
    ) !important;

  mask-image:
    linear-gradient(
      to left,
      #000 0%,
      #000 62%,
      rgba(0,0,0,.54) 78%,
      transparent 100%
    ) !important;
}


.le403-stone img{
  display:block !important;

  width:100% !important;
  height:auto !important;

  filter:
    saturate(.55)
    brightness(1.03)
    contrast(.88) !important;
}


/* portrait is always above environment */

.le40-portrait{
  z-index:4 !important;
}


/* ==========================================================
   SIGNATURE MICRO-RHYTHM
   ========================================================== */

.le40-signoff{
  margin-top:3px !important;
  margin-bottom:0 !important;
}


.le40-signature{
  width:292px !important;
  height:94px !important;

  margin:
    4px
    0
    0 !important;
}


.le40-signature img{
  width:100% !important;
  height:100% !important;

  object-fit:contain !important;
  object-position:left center !important;

  mix-blend-mode:multiply !important;

  background:transparent !important;
}


.le40-author{
  margin-top:-2px !important;
}


.le40-button{
  min-height:48px !important;

  margin-top:11px !important;

  padding:
    0
    26px !important;
}


/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media(max-width:1180px){

  .le403-frame{
    width:118px !important;
    height:154px !important;

    right:22px !important;
  }

  .le403-stone{
    width:250px !important;

    right:-92px !important;
  }

}


@media(max-width:900px){

  .le403-frame{
    width:110px !important;
    height:142px !important;
  }

  .le403-books{
    left:16px !important;
    bottom:18px !important;
  }

  .le403-stone{
    width:220px !important;

    opacity:.30 !important;
  }

}


@media(max-width:560px){

  .le403-frame{
    display:none !important;
  }

  .le403-books{
    display:none !important;
  }

  .le403-stone{
    width:175px !important;

    right:-70px !important;
    bottom:-32px !important;

    opacity:.23 !important;
  }

}


/* ==========================================================
   LETTER 40.4 — SOFT PHOTOGRAPHIC INTERIOR
   ========================================================== */


/* Убираем декоративные объекты 40.3 */

.le403-frame,
.le403-books,
.le403-stone,
.le403-light{
  display:none !important;
}


/* Базовая сцена */

.le40-scene{
  position:relative !important;
  isolation:isolate !important;

  overflow:hidden !important;

  background:#eee9df !important;
}


/* Реальный интерьер — почти как журнальная декорация */

.le40-scene::before{
  content:"" !important;

  position:absolute !important;
  z-index:0 !important;

  inset:-24px !important;

  background-image:
    url("/assets/images/service-space.jpg") !important;

  background-size:cover !important;
  background-position:center 45% !important;
  background-repeat:no-repeat !important;

  opacity:.24 !important;

  filter:
    blur(7px)
    saturate(.48)
    contrast(.84)
    brightness(1.13) !important;

  transform:scale(1.045) !important;
}


/* Светлая editorial-вуаль поверх фотографии */

.le40-scene::after{
  content:"" !important;

  position:absolute !important;
  z-index:1 !important;

  inset:0 !important;

  background:
    linear-gradient(
      90deg,
      rgba(247,243,235,.91) 0%,
      rgba(247,243,235,.72) 28%,
      rgba(247,243,235,.56) 52%,
      rgba(247,243,235,.70) 76%,
      rgba(247,243,235,.88) 100%
    ),
    linear-gradient(
      180deg,
      rgba(255,255,255,.26) 0%,
      transparent 40%,
      rgba(235,228,217,.16) 100%
    ) !important;

  pointer-events:none !important;
}


/* Портрет всегда поверх пространства */

.le40-portrait{
  position:absolute !important;
  z-index:4 !important;

  filter:
    drop-shadow(
      0 16px 28px
      rgba(43,39,31,.055)
    ) !important;
}


/* Очень мягкое затемнение у нижнего края —
   помогает посадить фигуру в пространство */

.le40-photo-stage{
  position:relative !important;
}

.le40-photo-stage::after{
  content:"" !important;

  position:absolute !important;
  z-index:3 !important;

  left:8% !important;
  right:8% !important;
  bottom:0 !important;

  height:70px !important;

  background:
    radial-gradient(
      ellipse at center bottom,
      rgba(85,76,63,.10),
      transparent 68%
    ) !important;

  pointer-events:none !important;
}


/* LAPTOP */

@media(max-width:1180px){

  .le40-scene::before{
    opacity:.21 !important;
    background-position:center center !important;
  }

}


/* MOBILE */

@media(max-width:700px){

  .le40-scene::before{
    opacity:.16 !important;

    filter:
      blur(6px)
      saturate(.42)
      brightness(1.14) !important;
  }

  .le40-scene::after{
    background:
      rgba(245,241,233,.72) !important;
  }

}


/* ==========================================================
   LETTER 40.5 — READABLE EDITORIAL INTERIOR
   ========================================================== */

.le40-scene{
  background:#ebe6dc !important;
}


/* интерьер делаем заметнее */

.le40-scene::before{
  inset:-12px !important;

  background-image:
    url("/assets/images/service-space.jpg") !important;

  background-size:cover !important;
  background-position:center 46% !important;

  opacity:.40 !important;

  filter:
    blur(2px)
    saturate(.58)
    contrast(.90)
    brightness(1.06) !important;

  transform:scale(1.025) !important;
}


/* светлая зона за фигурой + интерьер по краям */

.le40-scene::after{
  background:
    radial-gradient(
      ellipse at 51% 42%,
      rgba(246,242,233,.94) 0%,
      rgba(246,242,233,.84) 28%,
      rgba(246,242,233,.56) 48%,
      rgba(246,242,233,.18) 72%,
      transparent 100%
    ),
    linear-gradient(
      90deg,
      rgba(245,241,232,.38) 0%,
      rgba(245,241,232,.10) 24%,
      rgba(245,241,232,.00) 50%,
      rgba(245,241,232,.16) 78%,
      rgba(245,241,232,.40) 100%
    ) !important;
}


/* фигура остаётся максимально чистой */

.le40-portrait{
  filter:
    drop-shadow(
      0 18px 30px
      rgba(44,38,30,.075)
    ) !important;
}


/* чуть сильнее посадка в пространство */

.le40-photo-stage::after{
  height:90px !important;

  background:
    radial-gradient(
      ellipse at center bottom,
      rgba(72,65,55,.13),
      transparent 68%
    ) !important;
}


/* laptop */

@media(max-width:1180px){

  .le40-scene::before{
    opacity:.34 !important;
    background-position:center center !important;
  }

}


/* mobile */

@media(max-width:700px){

  .le40-scene::before{
    opacity:.22 !important;

    filter:
      blur(3px)
      saturate(.48)
      brightness(1.08) !important;
  }

}


/* =========================================================
   LETTER 40.6 — remove cropped-legs effect
   цель:
   1) чуть поднять фигуру
   2) добавить воздуха снизу до зелёного блока
   3) сохранить текущий фон и типографику
   ========================================================= */

@media (min-width: 1100px){

  /* весь первый экран письма — больше воздуха снизу */
  .le357-editorial-flow,
  .le32-editorial,
  .letter-editorial,
  .le-body{
    padding-bottom: 72px !important;
  }

  /* левый визуальный блок — чуть выше и с запасом снизу */
  .le-portrait,
  .letter-portrait,
  .le-visual,
  .editorial-portrait{
    min-height: 760px !important;
    padding-bottom: 34px !important;
    overflow: visible !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
  }

  /* сама фигура — немного меньше по высоте и выше по композиции */
  .le-portrait img,
  .le-visual img,
  .editorial-portrait img,
  .le-portrait picture img,
  .le-visual picture img{
    max-height: 680px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: center bottom !important;
    transform: translateY(-8px) !important;
    display: block !important;
  }

  /* если портрет вставлен отдельным слоем / png-блоком */
  .le-portrait .portrait-cutout,
  .le-visual .portrait-cutout,
  .editorial-portrait .portrait-cutout,
  .le-portrait .portrait-figure,
  .le-visual .portrait-figure,
  .editorial-portrait .portrait-figure{
    transform: translateY(-8px) !important;
    bottom: 0 !important;
  }

  /* зелёный блок не должен "резать" низ фото */
  .letter-cta,
  .le-cta,
  .editorial-cta,
  .site-footer-cta{
    margin-top: 18px !important;
    position: relative !important;
    z-index: 1 !important;
  }
}

/* планшет/узкий десктоп — тоже дать воздуху */
@media (min-width: 821px) and (max-width: 1099px){
  .le357-editorial-flow,
  .le32-editorial,
  .letter-editorial,
  .le-body{
    padding-bottom: 56px !important;
  }

  .le-portrait,
  .letter-portrait,
  .le-visual,
  .editorial-portrait{
    min-height: 660px !important;
    padding-bottom: 24px !important;
    overflow: visible !important;
  }

  .le-portrait img,
  .le-visual img,
  .editorial-portrait img{
    max-height: 600px !important;
    object-fit: contain !important;
    object-position: center bottom !important;
  }

  .letter-cta,
  .le-cta,
  .editorial-cta,
  .site-footer-cta{
    margin-top: 14px !important;
  }
}

/* ==========================================================
   LETTER 40.7 — NATURAL PORTRAIT BOTTOM
   ========================================================== */

@media(min-width:901px){

  /* сцена получает настоящий запас снизу */
  .le40-scene{
    min-height:760px !important;
    overflow:hidden !important;
  }

  /* фигура больше не упирается в границу секции */
  .le40-portrait{
    bottom:24px !important;

    width:101% !important;
    height:calc(100% - 34px) !important;

    object-fit:contain !important;
    object-position:center bottom !important;

    transform:translateX(-49%) !important;

    /*
      Если исходный PNG заканчивается резко,
      край мягко растворяется в фоне.
    */
    -webkit-mask-image:
      linear-gradient(
        to bottom,
        #000 0%,
        #000 94%,
        rgba(0,0,0,.92) 97%,
        transparent 100%
      ) !important;

    mask-image:
      linear-gradient(
        to bottom,
        #000 0%,
        #000 94%,
        rgba(0,0,0,.92) 97%,
        transparent 100%
      ) !important;
  }

  /* спокойная нижняя зона под фигурой */
  .le40-photo-stage::after{
    left:0 !important;
    right:0 !important;
    bottom:0 !important;

    height:54px !important;

    background:
      linear-gradient(
        to bottom,
        rgba(238,233,223,0) 0%,
        rgba(238,233,223,.72) 58%,
        #eee9df 100%
      ) !important;

    z-index:3 !important;
    pointer-events:none !important;
  }

}


/* ноутбук */

@media(min-width:901px) and (max-width:1180px){

  .le40-scene{
    min-height:700px !important;
  }

  .le40-portrait{
    bottom:20px !important;
    width:99% !important;
    height:calc(100% - 30px) !important;
  }

}


/* планшет / мобильный */

@media(max-width:900px){

  .le40-portrait{
    bottom:16px !important;
    width:100% !important;
    height:calc(100% - 24px) !important;

    -webkit-mask-image:
      linear-gradient(
        to bottom,
        #000 0%,
        #000 95%,
        transparent 100%
      ) !important;

    mask-image:
      linear-gradient(
        to bottom,
        #000 0%,
        #000 95%,
        transparent 100%
      ) !important;
  }

}


/* =========================================================
   LETTER 40.6 — remove cropped-legs effect
   цель:
   1) чуть поднять фигуру
   2) добавить воздуха снизу до зелёного блока
   3) сохранить текущий фон и типографику
   ========================================================= */

@media (min-width: 1100px){

  /* весь первый экран письма — больше воздуха снизу */
  .le357-editorial-flow,
  .le32-editorial,
  .letter-editorial,
  .le-body{
    padding-bottom: 72px !important;
  }

  /* левый визуальный блок — чуть выше и с запасом снизу */
  .le-portrait,
  .letter-portrait,
  .le-visual,
  .editorial-portrait{
    min-height: 760px !important;
    padding-bottom: 34px !important;
    overflow: visible !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
  }

  /* сама фигура — немного меньше по высоте и выше по композиции */
  .le-portrait img,
  .le-visual img,
  .editorial-portrait img,
  .le-portrait picture img,
  .le-visual picture img{
    max-height: 680px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    object-position: center bottom !important;
    transform: translateY(-8px) !important;
    display: block !important;
  }

  /* если портрет вставлен отдельным слоем / png-блоком */
  .le-portrait .portrait-cutout,
  .le-visual .portrait-cutout,
  .editorial-portrait .portrait-cutout,
  .le-portrait .portrait-figure,
  .le-visual .portrait-figure,
  .editorial-portrait .portrait-figure{
    transform: translateY(-8px) !important;
    bottom: 0 !important;
  }

  /* зелёный блок не должен "резать" низ фото */
  .letter-cta,
  .le-cta,
  .editorial-cta,
  .site-footer-cta{
    margin-top: 18px !important;
    position: relative !important;
    z-index: 1 !important;
  }
}

/* планшет/узкий десктоп — тоже дать воздуху */
@media (min-width: 821px) and (max-width: 1099px){
  .le357-editorial-flow,
  .le32-editorial,
  .letter-editorial,
  .le-body{
    padding-bottom: 56px !important;
  }

  .le-portrait,
  .letter-portrait,
  .le-visual,
  .editorial-portrait{
    min-height: 660px !important;
    padding-bottom: 24px !important;
    overflow: visible !important;
  }

  .le-portrait img,
  .le-visual img,
  .editorial-portrait img{
    max-height: 600px !important;
    object-fit: contain !important;
    object-position: center bottom !important;
  }

  .letter-cta,
  .le-cta,
  .editorial-cta,
  .site-footer-cta{
    margin-top: 14px !important;
  }
}

/* LETTER 40.9 — photo tight to text + bottom */
@media (min-width: 1100px){

  :is(.le357-editorial-flow, .le32-editorial-flow, .le32-editorial){
    align-items: end;
  }

  :is(.le357-editorial-flow, .le32-editorial-flow, .le32-editorial)
  :is(.editorial-visual, .letter-visual, .le32-visual, .le32-photo, .editorial-photo, .portrait-photo){
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    align-self: end;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    overflow: visible;
  }

  :is(.le357-editorial-flow, .le32-editorial-flow, .le32-editorial)
  :is(.editorial-visual, .letter-visual, .le32-visual, .le32-photo, .editorial-photo, .portrait-photo) img{
    display: block;
    margin-left: auto;
    margin-right: -22px;   /* поджать к тексту */
    margin-bottom: -2px;   /* поджать к нижней границе */
    object-fit: contain;
    object-position: right bottom;
  }

  :is(.le357-editorial-flow, .le32-editorial-flow, .le32-editorial)
  :is(.editorial-copy, .letter-copy, .le32-copy, .editorial-text, .letter-text){
    position: relative;
    z-index: 2;
  }
}

/* ==========================================================
   LETTER 41.0 — FINAL PHOTO / TEXT CONNECTION
   ========================================================== */

@media(min-width:1100px){

  .le40-editorial-grid{
    gap:12px !important;
  }

  .le40-photo-stage{
    margin-right:-4px !important;
  }

  .le40-scene{
    width:calc(100% + 10px) !important;
    max-width:none !important;

    margin-right:-10px !important;
  }

  .le40-letter{
    padding-left:14px !important;
  }

}

/* ==========================================================
   LETTER 42.0 — FINAL TRANSPARENT PORTRAIT
   clean override after all previous experiments
   ========================================================== */

@media (min-width:901px){

  .le40-editorial-grid{
    grid-template-columns:
      minmax(0,1.06fr)
      minmax(0,.94fr) !important;

    gap:22px !important;
    align-items:stretch !important;
  }

  .le40-photo-stage{
    position:relative !important;

    align-self:stretch !important;

    margin:0 !important;
    padding:0 !important;

    overflow:visible !important;
  }

  .le40-scene{
    position:relative !important;

    width:100% !important;
    max-width:none !important;

    min-height:720px !important;
    height:100% !important;

    margin:0 !important;
    padding:0 !important;

    overflow:hidden !important;
  }

  /* Новый PNG показываем целиком.
     Никаких масок, искусственного crop или отрицательных отступов. */
  .le40-portrait{
    position:absolute !important;

    z-index:4 !important;

    left:50% !important;
    right:auto !important;

    top:auto !important;
    bottom:0 !important;

    width:100% !important;
    max-width:100% !important;

    height:100% !important;
    max-height:100% !important;

    margin:0 !important;

    transform:translateX(-50%) !important;
    transform-origin:center bottom !important;

    object-fit:contain !important;
    object-position:center bottom !important;

    background:transparent !important;

    filter:none !important;

    -webkit-mask-image:none !important;
    mask-image:none !important;

    clip-path:none !important;
  }

  /* Письмо близко к изображению,
     но без наезда на фигуру. */
  .le40-letter{
    box-sizing:border-box !important;

    margin:0 !important;

    padding:
      8px
      0
      14px
      6px !important;
  }

}


/* TABLET */

@media (max-width:900px){

  .le40-portrait{
    position:absolute !important;

    left:50% !important;
    bottom:0 !important;

    width:100% !important;
    height:100% !important;

    transform:translateX(-50%) !important;

    object-fit:contain !important;
    object-position:center bottom !important;

    margin:0 !important;

    -webkit-mask-image:none !important;
    mask-image:none !important;

    clip-path:none !important;
  }

}


/* ==========================================================
   LETTER 42.1 — TIGHTER GAP BEFORE TEXT COLUMN
   ========================================================== */

@media (min-width: 901px){

  .le40-editorial-grid{
    gap: 8px !important;
  }

  .le40-photo-stage{
    margin-right: -6px !important;
  }

  .le40-letter{
    padding-left: 0 !important;
    margin-left: -4px !important;
  }

}


/* LETTER 42.2 — OPTICAL FINAL GAP */

@media (min-width:901px){

  .le40-editorial-grid{
    gap:14px !important;
  }

  .le40-photo-stage{
    margin-right:0 !important;
  }

  .le40-letter{
    margin-left:0 !important;
    padding-left:0 !important;
  }

}

/* ==========================================================
   LETTER 42.3 — FOOTER COLOR = HOMEPAGE
   homepage .d28-footer: #243026
   ========================================================== */

.le40-band{
  background:#243026 !important;
  background-image:none !important;
}

.le40-footer{
  background:transparent !important;
}

/* ==========================================================
   LETTER — MOBILE HEADER + EASTER EGG V2
   ========================================================== */

/* Easter egg is mobile-only */
.le40-sad-link{
  display:none !important;
}

@media(max-width:900px){

  /* --------------------------------------------------------
     HEADER / BURGER CONTRAST
     -------------------------------------------------------- */

  body.letter-editorial .d28-header{
    background:rgba(244,241,232,.96) !important;
  }

  body.letter-editorial .d28-brand{
    color:#172018 !important;
    -webkit-text-fill-color:#172018 !important;
  }

  body.letter-editorial .d28-toggle{
    color:#172018 !important;
    -webkit-text-fill-color:#172018 !important;

    opacity:1 !important;
    visibility:visible !important;
  }

  body.letter-editorial .d28-menu{
    background:#f4f1e8 !important;
    color:#172018 !important;
  }

  body.letter-editorial .d28-menu a{
    color:#172018 !important;
    -webkit-text-fill-color:#172018 !important;
  }


  /* --------------------------------------------------------
     EASTER EGG — LAST ITEM IN FOOTER
     -------------------------------------------------------- */

  .le40-sad-link{
    display:block !important;

    width:max-content !important;
    max-width:100% !important;

    margin:2px 0 0 !important;

    font-family:Arial,sans-serif !important;
    font-size:9px !important;
    line-height:1.4 !important;
    letter-spacing:.04em !important;

    color:#d4ddd0 !important;
    text-decoration:none !important;

    opacity:.56 !important;
  }
}

@media(hover:hover){
  .le40-sad-link:hover{
    opacity:1 !important;
  }
}

/* ==========================================================
   LETTER — PRIVACY LINK
   ========================================================== */

.le40-privacy-link{
  display:block !important;

  width:max-content;
  max-width:100%;

  margin:4px 0 0;

  font-family:Arial,sans-serif !important;
  font-size:9px !important;
  line-height:1.4 !important;
  letter-spacing:.035em !important;

  color:#d4ddd0 !important;
  text-decoration:none !important;

  opacity:.52 !important;
}

@media(max-width:900px){
  .le40-privacy-link{
    font-size:8px !important;
  }
}

@media(hover:hover){
  .le40-privacy-link:hover{
    opacity:1 !important;
  }
}
