/* DERSIN v155 - palette + typography refinement
   Palette supplied by user:
   navy #0F1F2A, blue #2E4D62, green #4C5736, brown #463A2F
*/
:root{
  --dersin-bg:#0F1F2A;
  --dersin-blue:#2E4D62;
  --dersin-green:#4C5736;
  --dersin-brown:#463A2F;
  --dersin-text:#70808A;
  --dersin-text-strong:#82919A;
  --dersin-muted:#52636E;
  --dersin-line:rgba(46,77,98,.48);
}

html{background:var(--dersin-bg)}
body.ui-v150{
  background:var(--dersin-bg)!important;
  color:var(--dersin-text)!important;
}
body.ui-v150 .site-header .nav-shell{
  border-color:rgba(46,77,98,.45)!important;
  background:rgba(15,31,42,.88)!important;
  box-shadow:0 18px 44px rgba(3,10,14,.28)!important;
}
body.ui-v150 .brand-name{color:#667A87!important}
body.ui-v150 .brand-mark{filter:saturate(.55) brightness(.7) sepia(.08)!important}
body.ui-v150 .main-nav a{color:#586B77!important}
body.ui-v150 .main-nav a:hover,
body.ui-v150 .main-nav a.active{color:#788A95!important}
body.ui-v150 .lang button{color:#526570!important}
body.ui-v150 .lang button.active{color:#71838E!important}
body.ui-v150 .header-icon:hover{background:rgba(46,77,98,.16)!important}
body.ui-v150 .header-icon img{opacity:.62!important}
body.ui-v150 .cart-count{background:var(--dersin-blue)!important;color:#7E8E97!important;border-color:rgba(46,77,98,.8)!important}

/* Home hero: live text instead of a raster image, so DERSIN stays razor-sharp at every size. */
.v154-hero{
  padding:104px clamp(18px,2.5vw,42px) 24px!important;
  background:
    radial-gradient(circle at 72% 18%,rgba(46,77,98,.28),transparent 33rem),
    radial-gradient(circle at 18% 82%,rgba(46,77,98,.10),transparent 28rem),
    var(--dersin-bg)!important;
}
.v154-wordmark-wrap{
  position:relative;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden;
}
.v154-wordmark-wrap::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:8.5%;
  transform:translateX(-50%);
  width:94px;
  height:4px;
  border-radius:99px;
  background:linear-gradient(90deg,var(--dersin-green) 0 66%,transparent 66% 74%,var(--dersin-brown) 74% 100%);
  opacity:.9;
}
.v155-wordmark{
  display:block;
  margin:0;
  color:var(--dersin-blue);
  font-family:Georgia,'Times New Roman',serif;
  font-weight:400;
  font-size:clamp(132px,22.6vw,430px);
  line-height:.73;
  letter-spacing:-.078em;
  white-space:nowrap;
  transform:translateX(-.018em) translateY(-.5vh);
  text-rendering:geometricPrecision;
  -webkit-font-smoothing:antialiased;
  user-select:none;
}
.v154-hero-bottom{
  border-top-color:rgba(46,77,98,.46)!important;
  color:#50636E!important;
}
.v154-hero-bottom a{color:#627783!important;border-bottom:1px solid rgba(76,87,54,.72);padding-bottom:3px}
.v154-hero-bottom a:hover{color:#748994!important;border-color:var(--dersin-green)}

/* Home content - same structure, less black/grey and more of the supplied palette. */
.v154-main .v152-feature{padding-top:46px!important}
.v152-feature{border-color:var(--dersin-line)!important}
.v152-feature-image{background:#0C1921!important}
.v152-feature-image img{filter:saturate(.76) brightness(.82) contrast(.98)!important}
.v152-feature-image::after{background:linear-gradient(transparent,rgba(15,31,42,.78))!important}
.v152-caption h2,.v152-section-head h2,.v152-shop-intro h2{color:#71838E!important}
.v152-caption p,.v152-caption .year,.v152-section-head p,.v152-shop-intro p{color:#536671!important}
.v152-section+.v152-section{border-top-color:rgba(46,77,98,.28)!important}
.v152-kicker{display:flex;align-items:center;gap:8px;color:#52646F!important}
.v152-kicker::before{content:"";width:7px;height:7px;background:var(--dersin-green);border-radius:2px;flex:0 0 auto}
.v152-project-list{border-top-color:var(--dersin-line)!important}
.v152-project-row{border-bottom-color:var(--dersin-line)!important}
.v152-project-row:hover{background:rgba(46,77,98,.09)!important}
.v152-project-row h3{color:#667A86!important}
.v152-project-row .year,.v152-project-row p,.v152-project-row .arrow{color:#516570!important}
.v152-project-row:nth-child(4n+2) .arrow{color:var(--dersin-green)!important}
.v152-project-row:nth-child(4n+4) .arrow{color:var(--dersin-brown)!important}
.v152-gallery-main,.v152-gallery-side{background:#0C1921!important}
.v152-gallery img{filter:saturate(.72) brightness(.78)!important}
.v152-link{color:#627783!important;border-color:rgba(76,87,54,.66)!important}
.v152-link:hover{color:#748994!important;border-color:var(--dersin-green)!important}
.v152-shop-media,.product-v150-media{
  background:radial-gradient(circle at 50% 42%,rgba(46,77,98,.24),transparent 40%),#0C1921!important;
}
.v152-shop-media img,.product-v150-media img{filter:saturate(.72) brightness(.76)!important}
.v152-shop-meta strong,.product-v150 h3{color:#667A86!important}
.v152-shop-meta span,.product-v150-price{color:#50636F!important}

/* Commerce/account surfaces */
.account-panel-v150,.checkout-panel-v150,.cart-panel-v150,.auth-card-v150{
  background:#0C1921!important;
  border-color:var(--dersin-line)!important;
}
.v150-btn{background:#112631!important;border-color:rgba(46,77,98,.58)!important;color:#667A86!important}
.v150-btn:hover{background:#18313F!important;color:#768B96!important;border-color:#2E4D62!important}
.field-v150 input,.field-v150 select,.field-v150 textarea,.payment-option-v150,.cart-thumb-v150,.qty-v150 button{
  background:#10212C!important;border-color:var(--dersin-line)!important;color:#667A86!important;
}
.payment-option-v150 input{accent-color:var(--dersin-green)!important}
.success-v150{background:rgba(76,87,54,.12)!important;border-color:rgba(76,87,54,.42)!important;color:#667258!important}

body.ui-v150 .site-footer{background:#0C1921!important;border-top-color:rgba(46,77,98,.34)!important}
body.ui-v150 .site-footer,body.ui-v150 .site-footer a,body.ui-v150 .site-footer p{color:#4D606B!important}
body.ui-v150 .footer-title{color:#60727D!important}

@media(max-width:900px){
  .v155-wordmark{font-size:clamp(112px,25vw,250px);letter-spacing:-.073em}
  .v154-wordmark-wrap::after{bottom:7%;width:78px}
}
@media(max-width:620px){
  .v154-hero{padding:82px 10px 16px!important;min-height:72svh!important}
  .v155-wordmark{font-size:clamp(84px,27vw,160px);letter-spacing:-.068em;line-height:.8}
  .v154-wordmark-wrap::after{bottom:10%;width:66px;height:3px}
}
