/* GERARDO LEONE — Redesign V3: shared, responsive editorial refinements.
   This stylesheet is intentionally loaded after V2. It changes presentation,
   not the approved homepage identity, photography or editorial wording. */
:root{
  --paper:#fbf8f3;
  --paper-deep:#f2ece4;
  --bronze:#a87537;
  --bronze-light:#d9b986;
  --shadow-soft:0 18px 44px rgba(68,43,22,.10);
}

/* 1. A consistent and restrained typographic scale */
.article h2,.article .standalone-heading h2{
  font:400 clamp(27px,2.2vw,34px)/1.22 Georgia,'Times New Roman',serif;
  letter-spacing:-.028em;
  margin:0;
  overflow-wrap:break-word;
  text-wrap:balance;
}
.article h3{font-size:clamp(21px,1.8vw,25px);line-height:1.25;letter-spacing:-.014em}
.article p{font-size:16.5px;line-height:1.83;max-width:83ch;color:#514a43}
.article li{font-size:16px;line-height:1.77}
.page-hero h1{font-size:clamp(43px,4vw,64px);line-height:1.03}
.section-title{line-height:1.13}

/* 4. Deliberately different editorial blocks, united by one visual grammar */
.article>.editorial-block{position:relative;isolation:isolate;margin:0 0 31px;scroll-margin-top:36px}
.article>.editorial-block:first-child{margin-top:0}
.editorial-heading,.standalone-heading{display:flex;align-items:flex-start;gap:18px;margin-bottom:19px;min-width:0}
.section-symbol{
  display:inline-flex;align-items:center;justify-content:center;
  flex:none;width:50px;height:50px;
  border:1px solid rgba(163,113,55,.32);border-radius:16px;
  background:linear-gradient(145deg,#fffefd 0%,#f1e6d8 100%);
  color:#a5743c;box-shadow:inset 0 1px 0 #fff,0 7px 18px #79573513;
}
.section-icon-svg{width:26px;height:26px;stroke:currentColor;stroke-width:1.35;fill:none;stroke-linecap:round;stroke-linejoin:round}
.editorial-heading h2{min-width:0;padding-top:5px}
.editorial-copy{min-width:0}
.editorial-copy p:last-child{margin-bottom:0}
.editorial-block.layout-rule{padding:10px 0 31px;border-bottom:1px solid #dacbb9}
.editorial-block.layout-rule::before{content:"";position:absolute;top:0;left:0;width:82px;height:2px;background:linear-gradient(90deg,#9b6633,#e2c89e)}
.editorial-block.layout-soft{
  background:linear-gradient(130deg,#fffdfa,#f4ede4);
  padding:30px 32px;border:1px solid #e5d7c8;border-radius:18px;
  box-shadow:0 13px 32px #7253330b;
}
.editorial-block.layout-columns{
  display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.3fr);gap:35px;align-items:start;
  padding:30px 28px;
  background:linear-gradient(100deg,#f0e7dc 0%,#f8f3ec 42%,#fcf9f5 100%);
  border-left:3px solid #b68a56;border-radius:0 14px 14px 0;
}
.editorial-block.layout-columns .editorial-heading{align-items:flex-start;flex-direction:column;gap:14px;margin:0}
.editorial-block.layout-columns .editorial-heading h2{padding:0}
.editorial-block.layout-columns .section-symbol{width:45px;height:45px}
.editorial-block.layout-framed{
  padding:30px 30px 29px;border-radius:16px;
  border:1px solid #e3d6c4;box-shadow:inset 0 0 0 5px #fff9,0 11px 22px #66503d0b;
}
.editorial-block.layout-framed::after{content:"";position:absolute;right:0;top:0;width:54px;height:54px;
  border-radius:0 16px 0 90%;background:linear-gradient(225deg,#cda46b44,#fff0 65%);pointer-events:none}
.article>figure.art-figure+.editorial-block{margin-top:14px}
.article>.editorial-block+.editorial-block{margin-top:17px}
.standalone-heading{margin:45px 0 19px}
.article>.overline+.standalone-heading{margin-top:14px}
.article>h2:not(.side-title){margin:34px 0 16px}

/* 2. Each editorial image is presented as a designed object, not a bare rectangle */
.article figure.art-figure{
  position:relative;max-width:100%;margin:35px 0 40px;
  background:linear-gradient(155deg,#fffefa,#f9f3eb);
  border:1px solid #dac5aa;border-radius:18px;
  padding:11px 11px 16px;box-shadow:0 21px 49px #4c37251c;
  isolation:isolate;
}
.article figure.art-figure::before{content:"";position:absolute;top:-1px;right:56px;width:80px;height:2px;background:#bd8a46}
.article figure.art-figure::after{content:"";position:absolute;right:19px;bottom:16px;width:35px;height:1px;background:#c5a77f}
.article figure.art-figure .article-img{
  width:100%;height:clamp(240px,30vw,420px);object-fit:cover;object-position:center;
  margin:0;border-radius:10px 10px 5px 5px;
  filter:saturate(.93) contrast(1.015);
}
.article figure.art-figure .editorial-caption{
  display:block;margin:13px 43px 0 12px!important;
  color:#887667!important;font-size:12px!important;line-height:1.55;
  font-style:italic;
}
.article figure.art-figure.photo-detail{padding:15px 15px 18px;border-radius:8px 22px 8px 22px}
.article figure.art-figure.photo-detail img{border-radius:5px 15px 5px 15px}

/* 3. Citations: quiet editorial accents, not giant typographic slabs */
.article blockquote.quote{
  font:italic 400 clamp(17px,1.45vw,21px)/1.52 Georgia,'Times New Roman',serif;
  background:linear-gradient(110deg,#f7f0e6,#fffaf4);
  border-left:2px solid #b6874b;border-top:1px solid #eee1d0;border-right:1px solid #eee1d0;border-bottom:1px solid #eee1d0;
  border-radius:0 15px 15px 0;
  padding:22px 29px 21px;margin:42px 0 44px;max-width:950px;
  box-shadow:0 11px 26px #674a3210;
}
.article blockquote.quote small{font:600 10px/1.5 'Segoe UI',Arial,sans-serif;letter-spacing:.11em;margin-top:13px;color:#956a37}

/* 5. Side index: genuinely part of the page, with the same icons as headings */
.side-panel{
  position:sticky;top:24px;align-self:start;
  background:linear-gradient(155deg,#fffaf4 0%,#f1e7da 100%);
  border:1px solid #dbc6a9;border-radius:22px;
  padding:25px 24px 24px;
  box-shadow:0 18px 45px rgba(71,50,27,.11),inset 0 1px 0 #fff;
  overflow:hidden;
}
.side-panel::before{content:"";position:absolute;left:0;top:0;right:0;height:3px;background:linear-gradient(90deg,transparent,#bb8b4e 25%,#e3c9a3 70%,transparent)}
.side-panel .side-title{font:400 25px/1.2 Georgia,'Times New Roman',serif;letter-spacing:-.016em;margin:0 0 16px;padding:0 0 16px;border-bottom:1px solid #d6c5b0}
.side-list{display:grid;gap:3px}
.side-panel a.side-link{
  display:flex;align-items:center;gap:11px;border:0;
  padding:9px 9px;border-radius:10px;font-size:13.5px;line-height:1.35;
  transition:background .18s,color .18s,transform .18s;
}
.side-panel a.side-link:hover,.side-panel a.side-link.is-active{background:#fff9ee;color:#81531f;transform:translateX(2px)}
.side-symbol{width:29px;height:29px;display:inline-flex;align-items:center;justify-content:center;flex:none;border:1px solid #e2cfb5;background:#fff9f1;border-radius:9px;color:#a6783e}
.side-icon-svg{width:17px;height:17px;stroke:currentColor;stroke-width:1.55;fill:none;stroke-linecap:round;stroke-linejoin:round}
.side-panel a.aside-cta{
  display:flex;align-items:center;justify-content:center;min-height:46px;width:100%;
  margin-top:19px;border:1px solid #9c744a;border-radius:12px;padding:11px 14px;
  background:linear-gradient(115deg,#392b22,#2a211d);color:#fff8eb;
  box-shadow:0 7px 17px #46301e23;text-align:center;font-weight:600;
}
.side-panel a.aside-cta:hover{background:#5c412b;color:white}

/* 6. Rhythm and breathing space between completely different components */
.page-body{padding-top:65px;padding-bottom:95px}
.article>.form-shell{margin:28px 0 0;border-radius:17px;box-shadow:0 20px 48px #3c302319}
.article>.form-shell+.editorial-block{margin-top:68px;margin-bottom:26px}
.article>.form-shell+.editorial-block.layout-rule{padding-top:25px}
.article>.contact-band{margin-top:30px;margin-bottom:38px}
.article>.contact-band+.standalone-heading{margin-top:54px}
.article>.standalone-heading+.editorial-block{margin-top:14px}
.article>figure.art-figure+.editorial-block{margin-top:23px}
.article>.note{margin:35px 0}
.article .form-shell h3{margin:0 0 27px;font-size:24px}
.form-shell input:not([type=checkbox]),.form-shell textarea,.form-shell select{border-radius:9px;transition:border-color .18s,box-shadow .18s}
.form-shell input:focus,.form-shell textarea:focus,.form-shell select:focus{border-color:#ae8348;box-shadow:0 0 0 3px #bb8c4833}
.form-shell .consent{margin-bottom:23px}

/* 7. Brand: actual centered subtitle under the actual typographic width */
.brand{width:max-content;max-width:39vw;flex-shrink:0;align-items:center;gap:0;text-align:center}
.brand-main{font-size:clamp(22px,1.8vw,30px);letter-spacing:.115em;line-height:1.03}
.brand-sub{display:block;text-align:center;letter-spacing:.345em;font-size:10px;font-weight:650;width:100%;padding:0 20px;margin-top:9px;white-space:nowrap}
.brand-sub::before,.brand-sub::after{top:48%;width:17px}
.brand-sub::before{left:0}.brand-sub::after{right:0}
.footer-brand{display:inline-flex;flex-direction:column;align-items:center;max-width:100%;padding:0 0 14px;border-bottom:1px solid #695039}
.footer-brand .logo-foot{font-size:clamp(22px,2vw,27px);letter-spacing:.112em;white-space:nowrap}
.site-footer .footer-brand-sub{margin:10px 0 0;color:#dcba86;text-align:center;font-size:10px;letter-spacing:.31em;line-height:1.4}

/* 8. Consistent premium actions with sufficient whitespace and predictable sizing */
.btn,.site-footer a.btn,.header-cta{
  display:inline-flex;align-items:center;justify-content:center;gap:12px;
  min-height:46px;padding:11px 22px;border-radius:100px;
  font-size:12px;font-weight:700;letter-spacing:.03em;line-height:1.3;
  white-space:normal;text-align:center;vertical-align:middle;
  transition:transform .18s,box-shadow .18s,background .18s,border-color .18s;
}
.btn .icon{width:16px;height:16px;flex:none}
.btn:active{transform:translateY(0)}
.btn:hover{box-shadow:0 9px 18px #0002}
.btn-gold{background:linear-gradient(125deg,#eac27b,#c8974c);border:1px solid #ce9f58;border-radius:100px;color:#1b1510}
.btn-outline,.btn-outline-light{border-width:1px}
.header-inner{gap:clamp(12px,1.4vw,24px)}
.header-nav{gap:clamp(12px,1.3vw,26px)}
.header-cta{flex:none;min-width:197px;min-height:43px;margin-left:0;padding:10px 16px;font-size:10.5px;color:#f4cc8a;border-color:#cba05e;background:#231b17ae}
.header-cta:hover{color:#1d1712;background:#e4b876;border-color:#e4b876}
.site-footer .foot-grid>div:last-child a.btn{
  display:inline-flex!important;width:max-content;max-width:100%;min-width:0;
  padding:11px 18px!important;margin-top:12px;
  font-size:12px!important;line-height:1.45;color:#f6e4c6;
  border:1px solid #ba8d55;background:#332820;
}
.site-footer .foot-grid>div:last-child a.btn:hover{background:#72512f;color:#fff}
.site-footer .foot-grid>div:last-child p{margin-bottom:14px}
.site-footer .foot-grid>div:last-child{min-width:0}
.mobile-quote-link{display:none!important}

/* 9. Micro-interactions and a refined folded-paper corner on approved cards */
.learn-card,.tile,.stone,.gallery-card{position:relative;isolation:isolate;transition:transform .22s,box-shadow .22s;border-radius:10px;overflow:hidden}
.learn-card::after,.tile::after,.stone::after,.gallery-card::after{
  content:"";pointer-events:none;position:absolute;z-index:4;top:0;right:0;width:36px;height:36px;
  background:linear-gradient(135deg,transparent 0 46%,#c6a67b 47%,#f8eddd 51%,#fffaf3 83%);
  clip-path:polygon(0 0,100% 0,100% 100%);
  filter:drop-shadow(-2px 3px 2px #45342224);
}
.learn-card:hover,.tile:hover,.stone:hover{transform:translateY(-3px);box-shadow:0 15px 29px #5540301b}
.learn-card img,.tile img,.stone img{transition:transform .4s ease}
.learn-card:hover img,.tile:hover img,.stone:hover img{transform:scale(1.025)}
.learn-card .inside{padding:26px 26px 29px}
.learn-card h3{font-size:26px;line-height:1.19}
.learn-card p{min-height:0}
.tile,.stone,.gallery-card{border-color:#e5d5c1;box-shadow:0 11px 30px rgba(90,58,25,.09)}
.gallery-card{border-radius:13px}
.gallery-card .compare{border-radius:8px}

/* Improved global visual alignment. */
.foot-grid{gap:clamp(24px,4vw,68px);grid-template-columns:minmax(230px,1.4fr) minmax(115px,.9fr) minmax(160px,.95fr) minmax(205px,1.1fr)}
.contact-pill{border:1px solid #e0d2c0;border-radius:13px;background:linear-gradient(140deg,#faf2e8,#eee0d0)}
.note{border-radius:11px}

@media(max-width:1350px){
  .brand-main{font-size:25px}.brand-sub{font-size:9px}
  .header-nav{gap:14px}.header-nav a{font-size:11px}
  .header-cta{min-width:178px;padding-inline:12px;font-size:10px}
  .article-layout{grid-template-columns:minmax(0,1fr) 280px;gap:4.5%}
}
@media(max-width:1200px){
  /* Switch before desktop links and the quote pill start clipping each other. */
  .header-nav,.header-cta{display:none}
  .menu-toggle{display:inline-flex;margin-left:auto;border-radius:11px;padding:10px 12px}
  .header-inner{width:min(calc(100% - 48px),var(--max))}
  .mobile-nav-open .header-nav{
    display:flex;position:absolute;top:83px;right:-24px;left:auto;
    width:min(430px,calc(100vw - 30px));max-height:calc(100vh - 99px);overflow-y:auto;
    background:#231d1bed;padding:19px 24px 25px;
    flex-direction:column;align-items:stretch;gap:0;
    border:1px solid #937143;border-radius:0 0 17px 17px;
    box-shadow:0 22px 38px #0006;backdrop-filter:blur(18px)
  }
  .mobile-nav-open .header-nav a{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #ffffff20;padding:12px 5px;color:#f6eee5}
  .mobile-nav-open .nav-drop .dropdown{display:grid;position:static;background:transparent;border:0;box-shadow:none;padding:0 0 7px 15px;min-width:0}
  .mobile-nav-open .dropdown a{font-size:12px;padding:8px 7px;color:#e0c39b;border-bottom:0}
  .mobile-nav-open .header-nav .mobile-quote-link{display:flex!important;margin-top:16px;padding:13px 15px;border:1px solid #d3aa69;border-radius:12px;background:#d0a15d;color:#1b1410;font-weight:700;justify-content:center;gap:10px}
  .mobile-quote-link svg{height:18px;width:18px}
  .mobile-nav-open .header-nav a.current::after{display:none}
  .brand{max-width:70vw}
}
@media(max-width:880px){
  .article-layout{display:grid;grid-template-columns:1fr;gap:30px}
  .side-panel{position:static;order:-1;margin-bottom:6px;max-width:100%}
  .side-list{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px}
  .editorial-block.layout-columns{grid-template-columns:1fr;gap:16px}
  .editorial-block.layout-columns .editorial-heading{flex-direction:row;align-items:flex-start}
  .page-body{padding-top:45px}
  .article>.form-shell+.editorial-block{margin-top:60px}
  .article>.editorial-block{margin-bottom:24px}
  .site-footer .foot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .mobile-nav-open .header-nav{top:75px}
}
@media(max-width:570px){
  .brand{max-width:calc(100vw - 110px)}
  .brand-main{font-size:19px;letter-spacing:.075em}
  .brand-sub{letter-spacing:.18em;font-size:8px;padding-inline:15px}
  .brand-sub::before,.brand-sub::after{width:10px}
  .header-inner{width:calc(100% - 36px)}
  .mobile-nav-open .header-nav{right:-18px;top:66px}
  .article h2,.article .standalone-heading h2{font-size:clamp(24px,6.1vw,30px);line-height:1.21}
  .article h3{font-size:22px}
  .article p{font-size:15.5px;line-height:1.76}
  .section-symbol{width:41px;height:41px;border-radius:13px}
  .section-icon-svg{width:22px;height:22px}
  .editorial-heading,.standalone-heading{gap:12px;margin-bottom:17px}
  .editorial-heading h2{padding-top:2px}
  .editorial-block.layout-soft,.editorial-block.layout-framed{padding:21px 18px;border-radius:14px}
  .editorial-block.layout-columns{padding:22px 17px}
  .editorial-block.layout-rule{padding:8px 0 25px}
  .article figure.art-figure{padding:7px 7px 12px;margin:24px 0 33px;border-radius:13px;box-shadow:0 12px 29px #4c37251c}
  .article figure.art-figure .article-img{height:clamp(195px,66vw,300px);border-radius:8px 8px 3px 3px}
  .article figure.art-figure .editorial-caption{margin:10px 25px 0 8px!important;font-size:11.5px!important}
  .side-panel{padding:22px 17px;border-radius:17px}
  .side-panel .side-title{font-size:23px}
  .side-list{grid-template-columns:1fr 1fr;gap:4px 6px}
  .side-panel a.side-link{font-size:12px;padding:8px 5px;gap:6px}
  .side-symbol{width:25px;height:25px;border-radius:7px}
  .side-icon-svg{width:15px;height:15px}
  .article blockquote.quote{font-size:17px;padding:18px 19px;margin:31px 0}
  .article>.form-shell+.editorial-block{margin-top:53px}
  .article>.contact-band+.standalone-heading{margin-top:41px}
  .learn-card::after,.tile::after,.stone::after,.gallery-card::after{width:27px;height:27px}
  .btn,.header-cta{font-size:12px;min-height:44px;padding:10px 17px}
  .footer-brand .logo-foot{font-size:24px}
}
