/* ==================================================
   PROJECTS 29 — SURREY EDITORIAL
   ================================================== */

.projects29{
  --p29-bg:#f4f1e8;
  --p29-green:#19372b;
  --p29-text:#21372d;
  --p29-muted:#6f756f;
  --p29-line:rgba(31,52,43,.18);
  --p29-dark:#17372a;
  --p29-white:#f5f1e7;

  background:var(--p29-bg);
  color:var(--p29-text);
}

.projects29 main{
  overflow:hidden;
}

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

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

.projects29 h1,
.projects29 h2,
.projects29 h3,
.projects29 blockquote{
  font-family:Georgia,"Times New Roman",serif;
  font-weight:400;
  color:var(--p29-green);
}

.projects29 p{
  color:#626a64;
}


/* HERO */

.p29-hero{
  border-bottom:1px solid var(--p29-line);
}

.p29-hero-grid{
  display:grid;
  grid-template-columns:1.12fr .88fr;
  gap:9vw;
  align-items:end;
  padding-top:74px;
  padding-bottom:54px;
}

.p29-hero h1{
  margin:12px 0 0;
  font-size:clamp(64px,6.3vw,108px);
  line-height:.88;
  letter-spacing:-.052em;
}

.p29-hero-intro{
  max-width:520px;
  padding-bottom:7px;
}

.p29-hero-intro p{
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:21px;
  line-height:1.45;
  color:#404d45;
}

.p29-hero-intro .p29-location{
  margin-top:28px;
}


/* SURREY */

.p29-surrey{
  padding:42px 0 84px;
  border-bottom:1px solid var(--p29-line);
}

.p29-surrey-index{
  margin-bottom:24px;
  font-size:11px;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:#67736b;
}

.p29-surrey-layout{
  display:grid;
  grid-template-columns:
    minmax(280px,.78fr)
    minmax(520px,1.55fr)
    minmax(210px,.52fr);
  gap:32px;
  align-items:start;
}

.p29-surrey-copy{
  padding-top:30px;
}

.p29-surrey-copy h2{
  margin:0 0 24px;
  font-size:clamp(42px,4vw,68px);
  line-height:.93;
  letter-spacing:-.045em;
}

.p29-surrey-copy h3{
  margin:0 0 16px;
  font-size:24px;
  line-height:1.1;
}

.p29-surrey-copy p{
  margin:0 0 15px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:16px;
  line-height:1.55;
  color:#5e665f;
}

.p29-surrey-hero{
  margin:0;
}

.p29-surrey-hero img{
  display:block;
  width:100%;
  height:620px;
  object-fit:cover;
}

.p29-surrey-hero figcaption,
.p29-surrey-gallery figcaption{
  margin-top:8px;
  font-size:10px;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:#747b76;
}

.p29-surrey-aside{
  padding-top:22px;
}

.p29-surrey-aside blockquote{
  margin:0 0 42px;
  font-size:31px;
  line-height:1.02;
  letter-spacing:-.025em;
}

.p29-surrey-aside dl{
  margin:0;
}

.p29-surrey-aside dl div{
  border-top:1px solid var(--p29-line);
  padding:17px 0;
}

.p29-surrey-aside dt{
  margin-bottom:5px;
  font-size:9px;
  line-height:1.4;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:#5e6b63;
}

.p29-surrey-aside dd{
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:15px;
  line-height:1.42;
  color:#566159;
}

.p29-surrey-gallery{
  display:grid;
  grid-template-columns:1.15fr 1fr .72fr;
  gap:13px;
  margin-top:16px;
  margin-left:calc(22% + 10px);
}

.p29-surrey-gallery figure{
  margin:0;
}

.p29-surrey-gallery img{
  display:block;
  width:100%;
  height:225px;
  object-fit:cover;
}

.p29-surrey-detail{
  overflow:hidden;
}

.p29-surrey-detail img{
  transform:scale(1.45);
  transform-origin:75% 48%;
}


/* GENERIC SECTION */

.p29-section{
  padding:54px 0 78px;
  border-bottom:1px solid var(--p29-line);
}

.p29-section-intro{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:70px;
  align-items:end;
  margin-bottom:34px;
}

.p29-section-intro h2{
  margin:8px 0 0;
  font-size:clamp(50px,5vw,76px);
  line-height:.92;
  letter-spacing:-.045em;
}

.p29-section-intro p{
  max-width:520px;
  margin:0 0 6px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:17px;
  line-height:1.5;
}


/* KITCHENS */

.p29-kitchen-grid{
  display:grid;
  gap:54px;
}

.p29-kitchen-story{
  display:grid;
  grid-template-columns:1.32fr .68fr;
  gap:34px;
  align-items:center;
}

.p29-kitchen-story-reverse{
  grid-template-columns:.68fr 1.32fr;
}

.p29-pair{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:2px;
}

.p29-pair figure{
  position:relative;
  margin:0;
  overflow:hidden;
}

.p29-pair img{
  display:block;
  width:100%;
  height:390px;
  object-fit:cover;
}

.p29-pair figcaption{
  position:absolute;
  left:12px;
  bottom:12px;
  padding:6px 9px;
  background:rgba(24,52,41,.9);
  color:#f5f1e7;
  font-size:9px;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.p29-kitchen-copy{
  padding:10px 4px;
}

.p29-kitchen-copy h3{
  margin:9px 0 14px;
  font-size:42px;
  line-height:.96;
  letter-spacing:-.035em;
}

.p29-kitchen-copy p{
  max-width:430px;
  margin:0;
  font-size:15px;
  line-height:1.55;
}


/* OTHER SPACES */

.p29-space-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
}

.p29-space-images{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:2px;
  margin-bottom:18px;
}

.p29-space-images img{
  display:block;
  width:100%;
  height:330px;
  object-fit:cover;
}

.p29-space-card h3{
  margin:9px 0 8px;
  font-size:34px;
  line-height:1;
}

.p29-space-card p{
  max-width:540px;
  margin:0;
  font-size:14px;
  line-height:1.55;
}

.p29-text-link{
  display:inline-block;
  margin-top:25px;
  padding-bottom:3px;
  border-bottom:1px solid currentColor;
  color:var(--p29-green);
  font-size:9px;
  letter-spacing:.15em;
  text-transform:uppercase;
  text-decoration:none;
}


/* STYLE TEASER */

.p29-style-teaser{
  padding:62px 0;
  border-bottom:1px solid var(--p29-line);
}

.p29-style-grid{
  display:grid;
  grid-template-columns:.82fr 1.18fr;
  gap:82px;
  align-items:center;
}

.p29-style-grid figure{
  margin:0;
}

.p29-style-grid img{
  display:block;
  width:100%;
  height:370px;
  object-fit:cover;
}

.p29-style-grid h2{
  margin:10px 0 16px;
  font-size:57px;
  line-height:.92;
  letter-spacing:-.045em;
}

.p29-style-grid p{
  max-width:550px;
  margin:0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:17px;
  line-height:1.55;
}


/* VISUAL CONCEPTS */

.p29-visuals{
  padding:54px 0 64px;
  background:#ece7dc;
}

.p29-visual-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.p29-visual-grid figure{
  margin:0;
}

.p29-visual-grid img{
  display:block;
  width:100%;
  height:420px;
  object-fit:cover;
}

.p29-visual-grid figcaption{
  margin-top:10px;
  font-size:9px;
  line-height:1.4;
  letter-spacing:.17em;
  text-transform:uppercase;
  color:#647068;
}


/* CTA */

.p29-final{
  background:var(--p29-dark);
  color:var(--p29-white);
}

.p29-final-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:90px;
  align-items:end;
  padding-top:58px;
  padding-bottom:58px;
}

.p29-final .p29-kicker,
.p29-final .p29-location{
  color:#a9b7ae;
}

.p29-final h2{
  margin:8px 0 0;
  font-size:clamp(52px,5.2vw,80px);
  line-height:.91;
  letter-spacing:-.045em;
  color:var(--p29-white);
}

.p29-final p{
  max-width:460px;
  margin:0 0 24px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:17px;
  line-height:1.5;
  color:#d5dbd6;
}

.p29-outline-btn{
  display:inline-block;
  margin-bottom:24px;
  padding:15px 23px;
  border:1px solid rgba(245,241,231,.65);
  color:var(--p29-white);
  font-size:9px;
  letter-spacing:.15em;
  text-transform:uppercase;
  text-decoration:none;
}


/* FOOTER */

.p29-footer{
  background:#173329;
  color:#e8ebe5;
  border-top:1px solid rgba(255,255,255,.14);
}

.p29-footer-inner{
  min-height:84px;
  display:grid;
  grid-template-columns:1fr 2fr 1fr;
  gap:24px;
  align-items:center;
  font-size:9px;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.p29-footer nav{
  display:flex;
  justify-content:center;
  gap:28px;
}

.p29-footer a{
  color:inherit;
  text-decoration:none;
}

.p29-footer-inner > span:last-child{
  text-align:right;
}


/* TABLET */

@media (max-width:1100px){

  .p29-shell{
    width:min(100% - 44px,1440px);
  }

  .p29-surrey-layout{
    grid-template-columns:.8fr 1.2fr;
  }

  .p29-surrey-aside{
    grid-column:1 / -1;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:45px;
    border-top:1px solid var(--p29-line);
    padding-top:28px;
  }

  .p29-surrey-gallery{
    margin-left:0;
  }

  .p29-style-grid{
    gap:45px;
  }

}


/* MOBILE */

@media (max-width:760px){

  .p29-shell{
    width:calc(100% - 32px);
  }

  .p29-hero-grid,
  .p29-section-intro,
  .p29-final-grid,
  .p29-style-grid{
    grid-template-columns:1fr;
  }

  .p29-hero-grid{
    gap:28px;
    padding-top:42px;
    padding-bottom:38px;
  }

  .p29-hero h1{
    font-size:49px;
    line-height:.92;
  }

  .p29-hero-intro p{
    font-size:17px;
  }


  .p29-surrey{
    padding-top:28px;
    padding-bottom:52px;
  }

  .p29-surrey-layout{
    display:flex;
    flex-direction:column;
    gap:26px;
  }

  .p29-surrey-copy{
    padding-top:0;
  }

  .p29-surrey-copy h2{
    font-size:45px;
  }

  .p29-surrey-hero{
    order:-1;
  }

  .p29-surrey-hero img{
    height:440px;
  }

  .p29-surrey-aside{
    display:block;
  }

  .p29-surrey-aside blockquote{
    font-size:28px;
  }

  .p29-surrey-gallery{
    grid-template-columns:1fr;
    margin-left:0;
  }

  .p29-surrey-gallery img{
    height:275px;
  }


  .p29-section{
    padding:42px 0 54px;
  }

  .p29-section-intro{
    gap:22px;
    margin-bottom:27px;
  }

  .p29-section-intro h2{
    font-size:44px;
  }

  .p29-kitchen-story,
  .p29-kitchen-story-reverse{
    grid-template-columns:1fr;
    gap:20px;
  }

  .p29-kitchen-story-reverse .p29-kitchen-copy{
    order:2;
  }

  .p29-pair img{
    height:265px;
  }

  .p29-kitchen-copy h3{
    font-size:36px;
  }

  .p29-space-grid{
    grid-template-columns:1fr;
    gap:44px;
  }

  .p29-space-images img{
    height:245px;
  }

  .p29-style-grid{
    gap:24px;
  }

  .p29-style-grid img{
    height:320px;
  }

  .p29-style-grid h2{
    font-size:44px;
  }

  .p29-visual-grid{
    grid-template-columns:1fr;
  }

  .p29-visual-grid img{
    height:auto;
    aspect-ratio:4/3;
  }

  .p29-final-grid{
    gap:30px;
    padding-top:44px;
    padding-bottom:48px;
  }

  .p29-final h2{
    font-size:47px;
  }

  .p29-footer-inner{
    grid-template-columns:1fr;
    padding-top:24px;
    padding-bottom:24px;
  }

  .p29-footer nav{
    justify-content:flex-start;
    flex-wrap:wrap;
    gap:14px 22px;
  }

  .p29-footer-inner > span:last-child{
    text-align:left;
  }

}


/* ==========================================================
   PROJECTS 29.2 — SURREY MAGAZINE GRID
   ========================================================== */


/*
   Главное изменение:
   внутренний .p29-surrey-layout растворяем через display:contents,
   поэтому copy / hero / aside / gallery становятся участниками
   одной журнальной сетки.
*/

.p29-surrey > .p29-shell{
  display:grid;
  grid-template-columns:
    minmax(270px,.76fr)
    minmax(500px,1.48fr)
    minmax(190px,.56fr);
  column-gap:clamp(22px,2.2vw,36px);
  row-gap:24px;
  align-items:start;
}


/* index */

.p29-surrey > .p29-shell > .p29-surrey-index{
  grid-column:1 / -1;
  grid-row:1;
  margin:0 0 2px;
}


/* allow children to join parent grid */

.p29-surrey-layout{
  display:contents;
}


/* long editorial story */

.p29-surrey-copy{
  grid-column:1;
  grid-row:2 / span 2;

  max-width:350px;
  padding:0;
}


/* main Surrey image */

.p29-surrey-hero{
  grid-column:2;
  grid-row:2;
  margin:0;
}

.p29-surrey-hero img{
  width:100%;
  height:610px;
  object-fit:cover;
  object-position:center;
}


/* quote + task / approach / result */

.p29-surrey-aside{
  grid-column:3;
  grid-row:2;
  padding:6px 0 0;
}


/* photographic strip now sits directly under hero */

.p29-surrey-gallery{
  grid-column:2 / 4;
  grid-row:3;

  width:100%;
  margin:0;

  display:grid;
  grid-template-columns:1.18fr 1fr .72fr;
  gap:10px;
  align-items:start;
}

.p29-surrey-gallery img{
  display:block;
  width:100%;
  height:205px;
  object-fit:cover;
}

.p29-surrey-gallery figcaption{
  padding-top:7px;
}


/* tighter editorial quote */

.p29-surrey-aside blockquote{
  margin:0 0 31px;
  font-size:clamp(25px,1.9vw,31px);
  line-height:.98;
}


/* keep the long copy elegant */

.p29-surrey-copy h2{
  margin-bottom:17px;
}

.p29-surrey-copy h3{
  margin-bottom:14px;
}

.p29-surrey-copy p{
  margin-bottom:12px;
  line-height:1.48;
}


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

@media (max-width:1180px){

  .p29-surrey > .p29-shell{
    grid-template-columns:
      minmax(250px,.70fr)
      minmax(0,1.30fr);
    column-gap:32px;
    row-gap:24px;
  }

  .p29-surrey-copy{
    grid-column:1;
    grid-row:2 / span 2;
  }

  .p29-surrey-hero{
    grid-column:2;
    grid-row:2;
  }

  .p29-surrey-hero img{
    height:570px;
  }

  .p29-surrey-aside{
    grid-column:2;
    grid-row:3;

    display:grid;
    grid-template-columns:.72fr 1.28fr;
    gap:34px;

    padding:24px 0 0;
    border-top:1px solid rgba(27,53,40,.16);
  }

  .p29-surrey-aside blockquote{
    margin:0;
  }

  .p29-surrey-aside dl{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
  }

  .p29-surrey-aside dl div{
    padding:0;
    border:0;
  }

  .p29-surrey-gallery{
    grid-column:1 / -1;
    grid-row:4;
  }

}


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

@media (max-width:900px){

  .p29-surrey > .p29-shell{
    display:block;
  }

  .p29-surrey-layout{
    display:block;
  }

  .p29-surrey-index{
    margin-bottom:22px !important;
  }

  .p29-surrey-copy{
    max-width:680px;
    margin-bottom:28px;
  }

  .p29-surrey-hero{
    margin-bottom:28px;
  }

  .p29-surrey-hero img{
    height:auto;
    aspect-ratio:4 / 3;
  }

  .p29-surrey-aside{
    display:grid;
    grid-template-columns:1fr 1.4fr;
    gap:34px;
    margin-bottom:28px;
    padding-top:24px;
  }

  .p29-surrey-gallery{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    gap:8px;
  }

}


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

@media (max-width:760px){

  .p29-surrey-copy{
    margin-bottom:24px;
  }

  .p29-surrey-aside{
    grid-template-columns:1fr;
    gap:24px;
  }

  .p29-surrey-aside dl{
    grid-template-columns:1fr;
  }

  .p29-surrey-aside dl div{
    padding:13px 0;
    border-top:1px solid rgba(27,53,40,.16);
  }

  .p29-surrey-gallery{
    grid-template-columns:1fr 1fr;
  }

  .p29-surrey-gallery .p29-surrey-detail{
    grid-column:1 / -1;
  }

  .p29-surrey-gallery img{
    height:auto;
    aspect-ratio:4 / 3;
  }

  .p29-surrey-gallery .p29-surrey-detail img{
    aspect-ratio:16 / 9;
  }

}



/* ==========================================================
   PROJECTS 29.3 — EDITORIAL HEADLINE RHYTHM
   ========================================================== */


/* no accidental browser wrapping */

.p29-main h1,
.p29-main h2,
.p29-main h3,
main h1,
main h2,
main h3{
  hyphens:none;
  -webkit-hyphens:none;
  word-break:normal;
  overflow-wrap:normal;
  text-wrap:balance;
}


/* controlled line breaks remain meaningful */

.p29-main h1 br,
.p29-main h2 br,
.p29-main h3 br{
  display:block;
}


/* hero — calmer magazine rhythm */

.p29-hero h1{
  line-height:.94;
  letter-spacing:-.035em;
  max-width:760px;
}

.p29-hero{
  padding-top:clamp(74px,7.5vw,118px);
  padding-bottom:clamp(72px,7vw,110px);
}


/* section titles */

.p29-section-head h2,
.p29-kitchens h2,
.p29-real h2,
.p29-visual h2{
  line-height:.96;
  letter-spacing:-.028em;
}


/* Surrey title */

.p29-surrey-copy h2{
  line-height:.94;
  letter-spacing:-.025em;
  margin-bottom:18px;
}


/* kitchens — let headings breathe */

.p29-kitchen-copy h3,
.p29-kitchen-copy h2{
  line-height:.96;
  letter-spacing:-.02em;
  margin-bottom:12px;
}


/* archive / real projects title */

.p29-real h2,
.p29-real-head h2{
  max-width:720px;
  line-height:.95;
  letter-spacing:-.026em;
}


/* style + visual studies */

.p29-style h2,
.p29-style h3,
.p29-visual h2,
.p29-visual h3{
  line-height:.97;
  letter-spacing:-.022em;
}


/* more breathing room between eyebrow and headline */

.p29-eyebrow + h1,
.p29-eyebrow + h2,
.p29-eyebrow + h3{
  margin-top:10px;
}


/* desktop: slightly wider text columns where headlines felt squeezed */

@media (min-width:1181px){

  .p29-surrey > .p29-shell{
    grid-template-columns:
      minmax(305px,.84fr)
      minmax(500px,1.45fr)
      minmax(195px,.55fr);
  }

  .p29-surrey-copy{
    max-width:385px;
  }

}


/* laptop */

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

  .p29-hero h1{
    max-width:680px;
  }

  .p29-surrey-copy h2{
    font-size:clamp(48px,5vw,68px);
  }

}


/* tablet/mobile: undo forced desktop breaks where necessary */

@media (max-width:760px){

  .p29-main h1 br,
  .p29-main h2 br,
  .p29-main h3 br{
    display:none;
  }

  .p29-main h1,
  .p29-main h2,
  .p29-main h3{
    text-wrap:pretty;
  }

  .p29-hero h1,
  .p29-section-head h2,
  .p29-surrey-copy h2{
    line-height:.98;
    letter-spacing:-.025em;
  }

}



/* ==========================================================
   PROJECTS 29.4 — CONTROLLED EDITORIAL HEADLINES
   ========================================================== */

/* Surrey — three intentional lines, never browser-made lines */

.p294-surrey-title{
  font-size:clamp(42px,3.25vw,55px) !important;
  line-height:.94 !important;
  letter-spacing:-.032em !important;
  max-width:none !important;
  width:100% !important;
  margin:0 0 14px !important;
  hyphens:none !important;
  word-break:normal !important;
  overflow-wrap:normal !important;
}

.p294-surrey-title span{
  display:block !important;
  white-space:nowrap !important;
}


/* kitchen cases */

.p294-kitchen-title{
  font-size:clamp(34px,2.7vw,46px) !important;
  line-height:.95 !important;
  letter-spacing:-.027em !important;
  margin:0 0 12px !important;
  max-width:none !important;
  hyphens:none !important;
  word-break:normal !important;
}

.p294-kitchen-title span{
  display:block !important;
  white-space:nowrap !important;
}

.p294-kitchen-title-old{
  font-size:clamp(33px,2.55vw,44px) !important;
}


/* real storage cards */

.p294-storage-title{
  font-size:clamp(30px,2.25vw,38px) !important;
  line-height:.98 !important;
  letter-spacing:-.022em !important;
  white-space:nowrap !important;
  hyphens:none !important;
  word-break:normal !important;
  overflow-wrap:normal !important;
  margin:3px 0 7px !important;
}


/* section title */

.p294-section-title{
  font-size:clamp(52px,5.1vw,76px) !important;
  line-height:.93 !important;
  letter-spacing:-.035em !important;
  max-width:820px !important;
  margin:0 !important;
}

.p294-section-title span{
  display:block !important;
  white-space:nowrap !important;
}


/* give real-project cards more room for typography */

@media (min-width:1100px){

  .p294-storage-title{
    max-width:none !important;
  }

}


/* tablet */

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

  .p294-surrey-title{
    font-size:42px !important;
  }

  .p294-storage-title{
    font-size:30px !important;
  }

  .p294-section-title{
    font-size:56px !important;
  }

}


/* mobile: allow natural responsive wrapping */

@media (max-width:760px){

  .p294-surrey-title span,
  .p294-kitchen-title span,
  .p294-section-title span{
    white-space:normal !important;
  }

  .p294-storage-title{
    white-space:normal !important;
  }

  .p294-surrey-title{
    font-size:clamp(40px,12vw,56px) !important;
    line-height:.96 !important;
  }

  .p294-kitchen-title{
    font-size:clamp(34px,10vw,46px) !important;
  }

  .p294-section-title{
    font-size:clamp(46px,12vw,62px) !important;
    line-height:.95 !important;
  }

}


/* ==========================================================
   PROJECTS 29.5 — SURREY SUBHEAD SPACING
   ========================================================== */

.p295-surrey-kicker{
  display:block !important;
  margin-top:22px !important;
  margin-bottom:18px !important;
  font-size:clamp(22px,1.55vw,31px) !important;
  line-height:1.06 !important;
}

@media (max-width:1100px){
  .p295-surrey-kicker{
    margin-top:18px !important;
    margin-bottom:16px !important;
  }
}

@media (max-width:760px){
  .p295-surrey-kicker{
    margin-top:14px !important;
    margin-bottom:14px !important;
  }
}


/* PROJECTS 29.5.1 — SURREY SUBHEAD SYMMETRIC SPACING */

.p295-surrey-kicker{
  margin-top:22px !important;
  margin-bottom:22px !important;
}

@media (max-width:1100px){
  .p295-surrey-kicker{
    margin-top:18px !important;
    margin-bottom:18px !important;
  }
}

@media (max-width:760px){
  .p295-surrey-kicker{
    margin-top:14px !important;
    margin-bottom:14px !important;
  }
}


/* PROJECTS 29.5.1 — SURREY SUBHEAD SYMMETRIC SPACING */

.p295-surrey-kicker{
  margin-top:22px !important;
  margin-bottom:22px !important;
}

@media (max-width:1100px){
  .p295-surrey-kicker{
    margin-top:18px !important;
    margin-bottom:18px !important;
  }
}

@media (max-width:760px){
  .p295-surrey-kicker{
    margin-top:14px !important;
    margin-bottom:14px !important;
  }
}


/* PROJECTS 29.5.2 — SURREY SUBTITLE REAL SPACING */

.p295-surrey-subtitle{
  display:block !important;
  margin:0 !important;
  padding-top:18px !important;
  padding-bottom:18px !important;
}

@media (max-width:760px){
  .p295-surrey-subtitle{
    padding-top:14px !important;
    padding-bottom:14px !important;
  }
}



/* ==========================================================
   PROJECTS — FINAL CTA COLOR
   "Новый проект"
   Same green as homepage: #243026
   ========================================================== */

.p29-final {
  background: #243026 !important;
  background-color: #243026 !important;
  background-image: none !important;
}



/* ==========================================================
   PROJECTS — FINAL CTA COLOR
   "Новый проект"
   Same green as homepage: #243026
   ========================================================== */

.p29-final {
  background: #243026 !important;
  background-color: #243026 !important;
  background-image: none !important;
}


/* ==========================================================
   PROJECTS 29.41 — VISUAL STUDIES EDITORIAL
   ========================================================== */

.projects29 .p29v-editorial{
  padding:82px 0 104px;
  background:#ece7dc;
}

.projects29 .p29v-intro{
  margin-bottom:76px;
}

.projects29 .p29v-chapter-head{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:20px 72px;
  align-items:end;
  margin-bottom:34px;
}

.projects29 .p29v-chapter-head .p29-kicker{
  grid-column:1 / -1;
}

.projects29 .p29v-chapter-head h3{
  margin:0;
  max-width:10ch;
  font:400 clamp(48px,4.8vw,76px)/.94 Georgia,"Times New Roman",serif;
  letter-spacing:-.045em;
}

.projects29 .p29v-chapter-head p{
  max-width:480px;
  margin:0 0 7px;
  font:16px/1.55 Georgia,"Times New Roman",serif;
  color:#596159;
}


/* SHELF FILM STRIP */

.projects29 .p29v-rail{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(230px,28%);
  gap:10px;

  margin-bottom:118px;
  padding-bottom:12px;

  overflow-x:auto;
  overscroll-behavior-inline:contain;
  scrollbar-width:thin;
}

.projects29 .p29v-rail figure{
  margin:0;
}

.projects29 .p29v-rail img{
  display:block;
  width:100%;
  aspect-ratio:3 / 4;
  object-fit:cover;
}


/* STUDIES */

.projects29 .p29v-study{
  display:grid;
  grid-template-columns:.78fr 1.22fr;
  gap:clamp(50px,6vw,96px);
  align-items:center;

  padding:0 0 122px;
}

.projects29 .p29v-study-reverse{
  grid-template-columns:1.2fr .8fr;
}

.projects29 .p29v-study-copy{
  max-width:490px;
}

.projects29 .p29v-number{
  margin-bottom:36px;

  font:400 70px/.8 Georgia,"Times New Roman",serif;
  letter-spacing:-.06em;

  color:#b9beb5;
}

.projects29 .p29v-study-copy h3,
.projects29 .p29v-kitchens h3{
  margin:13px 0 23px;

  max-width:9ch;

  font:400 clamp(45px,4.4vw,68px)/.94 Georgia,"Times New Roman",serif;
  letter-spacing:-.045em;
}

.projects29 .p29v-study-copy p,
.projects29 .p29v-kitchens header > p{
  max-width:500px;
  margin:0;

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

  color:#5b635b;
}


/* DRAWERS */

.projects29 .p29v-detail-grid{
  display:grid;
  grid-template-columns:1.18fr .82fr;
  grid-template-rows:auto auto;
  gap:10px;
}

.projects29 .p29v-detail-grid img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.projects29 .p29v-detail-grid img:first-child{
  grid-row:1 / 3;
  min-height:590px;
}

.projects29 .p29v-detail-grid img:nth-child(2),
.projects29 .p29v-detail-grid img:nth-child(3){
  min-height:290px;
}


/* WARDROBE */

.projects29 .p29v-wardrobe-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.projects29 .p29v-wardrobe-grid img{
  display:block;
  width:100%;
  aspect-ratio:4 / 5;
  object-fit:cover;
}


/* KITCHENS */

.projects29 .p29v-kitchens{
  padding-top:10px;
}

.projects29 .p29v-kitchens > header{
  display:grid;
  grid-template-columns:1fr .8fr;
  gap:70px;

  align-items:end;

  margin-bottom:42px;
}

.projects29 .p29v-kitchen-pair{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.projects29 .p29v-kitchen-pair figure{
  margin:0;
}

.projects29 .p29v-kitchen-pair img{
  display:block;
  width:100%;
  aspect-ratio:16 / 10;
  object-fit:cover;
}

.projects29 .p29v-kitchen-pair figcaption{
  margin-top:10px;

  font-size:9px;
  line-height:1.4;

  letter-spacing:.16em;
  text-transform:uppercase;

  color:#647068;
}


/* MOBILE */

@media (max-width:760px){

  .projects29 .p29v-editorial{
    padding:62px 0 72px;
  }

  .projects29 .p29v-intro{
    margin-bottom:58px;
  }

  .projects29 .p29v-chapter-head{
    display:block;
    margin-bottom:26px;
  }

  .projects29 .p29v-chapter-head h3{
    margin:11px 0 20px;

    max-width:10ch;

    font-size:44px;
  }

  .projects29 .p29v-chapter-head p{
    font-size:15px;
  }


  /* images touch the mobile edges */

  .projects29 .p29v-rail{
    width:calc(100% + 32px);
    margin-left:-16px;

    grid-auto-columns:72%;
    gap:5px;

    margin-bottom:74px;
    padding-left:16px;
    padding-right:16px;
  }


  .projects29 .p29v-study,
  .projects29 .p29v-study-reverse{
    display:flex;
    flex-direction:column;

    gap:25px;

    padding-bottom:78px;
  }

  .projects29 .p29v-study-reverse .p29v-wardrobe-grid{
    order:1;
  }

  .projects29 .p29v-study-reverse .p29v-study-copy{
    order:2;
  }

  .projects29 .p29v-study-copy{
    max-width:none;
  }

  .projects29 .p29v-number{
    margin-bottom:22px;
    font-size:56px;
  }

  .projects29 .p29v-study-copy h3,
  .projects29 .p29v-kitchens h3{
    margin:9px 0 16px;
    font-size:41px;
  }

  .projects29 .p29v-study-copy p,
  .projects29 .p29v-kitchens header > p{
    font-size:14px;
    line-height:1.55;
  }


  .projects29 .p29v-detail-grid,
  .projects29 .p29v-wardrobe-grid,
  .projects29 .p29v-kitchen-pair{
    width:calc(100% + 32px);
    margin-left:-16px;
  }

  .projects29 .p29v-detail-grid{
    gap:4px;
  }

  .projects29 .p29v-detail-grid img:first-child{
    min-height:420px;
  }

  .projects29 .p29v-detail-grid img:nth-child(2),
  .projects29 .p29v-detail-grid img:nth-child(3){
    min-height:208px;
  }

  .projects29 .p29v-wardrobe-grid{
    gap:4px;
  }


  .projects29 .p29v-kitchens > header{
    display:block;
    margin-bottom:28px;
  }

  .projects29 .p29v-kitchens > header > p{
    margin-top:18px;
  }

  .projects29 .p29v-kitchen-pair{
    grid-template-columns:1fr;
    gap:28px;
  }

  .projects29 .p29v-kitchen-pair figure{
    padding:0 16px;
  }

  .projects29 .p29v-kitchen-pair img{
    width:calc(100% + 32px);
    max-width:none;
    margin-left:-16px;
    aspect-ratio:4 / 3;
  }

}

/* ==========================================================
   PROJECTS — MOBILE MENU VISIBILITY 29.42
   ========================================================== */

@media (max-width:860px){

  .projects29 .d28-toggle{
    display:block !important;

    margin-left:auto !important;
    margin-right:0 !important;

    padding:4px 0 4px 18px !important;

    border:0 !important;
    background:transparent !important;

    color:#172018 !important;
    opacity:1 !important;

    font-size:23px !important;
    line-height:1 !important;

    position:relative;
    z-index:20;

    cursor:pointer;
  }

  .projects29 .d28-header{
    position:relative;
    z-index:50;
  }

}

/* ==========================================================
   PROJECTS 29.43 — VISUAL STUDIES FINAL RHYTHM
   ========================================================== */

/* desktop */
@media (min-width:761px){

  .projects29 .p29v-editorial{
    padding-top:76px;
    padding-bottom:78px;
  }

  .projects29 .p29v-intro{
    margin-bottom:66px;
  }

  .projects29 .p29v-rail{
    margin-bottom:94px;
  }

  .projects29 .p29v-study{
    padding-bottom:96px;
  }

  .projects29 .p29v-study-copy h3{
    margin-bottom:19px;
  }

  .projects29 .p29v-kitchens{
    padding-top:0;
  }

  .projects29 .p29v-kitchens > header{
    margin-bottom:34px;
  }

  .projects29 .p29v-kitchen-pair{
    margin-bottom:0;
  }
}


/* mobile */
@media (max-width:760px){

  .projects29 .p29v-editorial{
    padding-top:56px;
    padding-bottom:46px;
  }

  .projects29 .p29v-intro{
    margin-bottom:48px;
  }

  .projects29 .p29v-chapter-head{
    margin-bottom:22px;
  }

  .projects29 .p29v-rail{
    margin-bottom:58px;
  }

  .projects29 .p29v-study,
  .projects29 .p29v-study-reverse{
    gap:21px;
    padding-bottom:58px;
  }

  .projects29 .p29v-number{
    margin-bottom:16px;
  }

  .projects29 .p29v-study-copy h3,
  .projects29 .p29v-kitchens h3{
    margin-top:8px;
    margin-bottom:13px;
  }

  .projects29 .p29v-kitchens > header{
    margin-bottom:22px;
  }

  .projects29 .p29v-kitchens > header > p{
    margin-top:14px;
  }

  .projects29 .p29v-kitchen-pair{
    gap:22px;
  }

  .projects29 .p29v-kitchen-pair figcaption{
    margin-top:8px;
  }
}

/* P29 EASTER FINAL MOBILE START */

.p29-sad-bottom-row{
  padding-top:10px;
  padding-bottom:18px;
}

.p29-sad-bottom{
  display:inline-block;

  width:max-content;

  padding:0 0 2px;
  margin:0;

  font-size:9px;
  line-height:1.2;
  letter-spacing:.055em;
  text-transform:none;

  color:#a9b7ae;
  text-decoration:none;

  border-bottom:1px solid rgba(245,241,231,.16);

  opacity:.48;

  transition:
    opacity .2s ease,
    border-color .2s ease;
}

@media(max-width:760px){

  .p29-sad-bottom-row{
    padding-left:10px;
    padding-top:10px;
    padding-bottom:18px;
  }

  .p29-sad-bottom{
    font-size:8px;
    letter-spacing:.04em;
    opacity:.58;
  }
}

@media(hover:hover){

  .p29-sad-bottom:hover,
  .p29-sad-bottom:focus-visible{
    opacity:1;
    border-bottom-color:rgba(245,241,231,.65);
  }
}

/* P29 EASTER FINAL MOBILE END */


/* ==========================================================
   PROJECTS — PRIVACY LINK
   ========================================================== */

.p29-legal-row{
  padding-top:10px;
}

.p29-privacy-link{
  display:inline-block;

  padding-bottom:2px;

  font-size:9px;
  line-height:1.35;
  letter-spacing:.035em;
  text-transform:none;

  color:#a9b7ae;
  text-decoration:none;

  border-bottom:1px solid rgba(245,241,231,.15);

  opacity:.55;
}

@media(max-width:760px){
  .p29-legal-row{
    padding-left:10px;
  }

  .p29-privacy-link{
    font-size:8px;
  }
}

@media(hover:hover){
  .p29-privacy-link:hover,
  .p29-privacy-link:focus-visible{
    opacity:1;
    border-bottom-color:rgba(245,241,231,.6);
  }
}

/* PROJECTS — footer utility links typography */
.p29-footer a[href*="privacy"],
.p29-footer .p29-sad-bottom {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 10px !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
  letter-spacing: .025em !important;
  text-transform: none !important;
  color: rgba(244, 241, 232, .48) !important;
}

.p29-footer a[href*="privacy"] {
  display: inline-block;
}

.p29-footer .p29-sad-bottom {
  color: rgba(244, 241, 232, .54) !important;
}

.p29-footer a[href*="privacy"]:hover,
.p29-footer .p29-sad-bottom:hover {
  color: rgba(244, 241, 232, .82) !important;
}

@media (max-width: 720px) {
  .p29-footer a[href*="privacy"],
  .p29-footer .p29-sad-bottom {
    font-size: 9px !important;
    line-height: 1.5 !important;
    letter-spacing: .025em !important;
  }
}

