/*
Theme Name: dnd
Description: Tema de papelería e invitaciones basado en el mockup, con soporte WooCommerce.
Version: 1.0.0
Text Domain: dnd
*/
.botanical{height:auto}
@media (min-width: 1121px) {
    .tax-product_cat .content-page .term-description { max-width: 72ch; color: #647276; font-size: 1rem; line-height: 1.6; }
}
:root{--dnd-brand:var(--wp--preset--color--brand,#007e92);--dnd-accent:var(--wp--preset--color--accent,#00aac0);--dnd-heading:var(--wp--preset--color--heading,#3c4547);--dnd-text:var(--wp--preset--color--body,#647276);--dnd-surface:var(--wp--preset--color--surface,#f7f5f1);--dnd-on-brand:var(--wp--preset--color--white,#ffffff);--u:clamp(.9px,.110497vw,1.59px);--teal:var(--dnd-brand);--ink:var(--dnd-heading);--cream:var(--dnd-surface);--taupe:var(--dnd-text);--text:var(--dnd-text);--serif:Kalnia,Georgia,serif;--sans:Montserrat,Arial,sans-serif;--script:Allura,cursive}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:20px}body{margin:0;background:var(--cream);color:var(--text);font-family:var(--sans);font-size:calc(11 * var(--u));line-height:1.45}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}button{color:inherit}h1,h2,h3,p,figure,blockquote{margin:0}h1,h2,h3{font-weight:500}h1,h2,h3,h4,h5,h6{color:var(--dnd-heading);font-family:var(--serif)}.shell{width:calc(100% - 96 * var(--u));max-width:1286px;margin:auto}.icon{width:calc(17 * var(--u));height:calc(17 * var(--u));flex:none;object-fit:contain;opacity:.65}.eyebrow{text-transform:uppercase;font-size:calc(7.4 * var(--u));font-weight:600;letter-spacing:calc(1.7 * var(--u));color:var(--dnd-text);line-height:1.55}h2{font-size:calc(29 * var(--u));line-height:1.08;letter-spacing:calc(-.7 * var(--u))}.flourish{display:inline-block;width:calc(45 * var(--u));height:auto;vertical-align:middle;margin-left:calc(8 * var(--u));mix-blend-mode:multiply}.button{display:inline-flex;justify-content:center;align-items:center;gap:calc(9 * var(--u));min-height:calc(31 * var(--u));padding:calc(6 * var(--u)) calc(20 * var(--u));border:1px solid var(--teal);border-radius:99px;background:transparent;color:var(--ink);font-size:calc(10 * var(--u));font-weight:500;white-space:nowrap;transition:background .18s,color .18s,transform .18s}.button .icon{width:calc(15 * var(--u));height:calc(15 * var(--u));filter:invert(26%) sepia(36%) saturate(652%) hue-rotate(140deg);opacity:1}.button:hover{background:#e7edeb;transform:translateY(-1px)}.primary{background:var(--teal);color:white;border-color:var(--teal)}.primary:hover{background:var(--ink)}.primary .icon,.light .icon{filter:invert(1);opacity:.9}.small{min-height:calc(28 * var(--u));font-size:calc(8.4 * var(--u));padding:calc(5 * var(--u)) calc(16 * var(--u));gap:calc(12 * var(--u))}.icon-button{display:inline-flex;align-items:center;justify-content:center;padding:6px;border:0;background:transparent;min-width:32px;min-height:32px}.icon-button .icon{width:calc(17 * var(--u));height:calc(17 * var(--u))}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--dnd-brand);outline-offset:4px}.skip-link{position:absolute;z-index:100;left:8px;top:-70px;background:white;padding:12px}.skip-link:focus{top:8px}
.site-header{height:calc(55 * var(--u));background:var(--teal);color:#fff;position:relative;z-index:10}.header-inner{display:flex;align-items:center;width:calc(100% - 96 * var(--u));max-width:1286px;margin:auto;height:100%;gap:calc(55 * var(--u))}.brand{width:calc(140 * var(--u));flex:none}.brand img{width:100%;height:auto}.main-nav{display:flex;align-items:center;gap:calc(21 * var(--u));font-size:calc(8.1 * var(--u));font-weight:500;flex:1;height:100%}.main-nav>a{padding:4px 0;white-space:nowrap}.main-nav .current{border-bottom:1px solid #dcebe8}.main-nav a:hover{color:var(--dnd-on-brand)}.nav-group{position:relative;display:flex;height:100%;align-items:center}.nav-group>button{border:0;color:inherit;background:none;padding:0;display:flex;align-items:center;gap:3px;font-size:inherit;white-space:nowrap}.nav-group .icon{filter:invert(1);width:8px;height:8px;opacity:.9}.dropdown{display:none;position:absolute;left:-12px;top:calc(100% - 3px);min-width:185px;background:var(--cream);color:var(--ink);padding:8px;box-shadow:0 5px 16px #0002;border:1px solid #ded9cd}.nav-group.open > .dropdown{display:block}.dropdown a{display:block;padding:10px;font-size:11px}.dropdown a:hover{background:#e9ede7;color:var(--ink)}.header-actions{display:flex;align-items:center;gap:calc(5 * var(--u));border-left:1px solid #ffffff70;padding-left:calc(17 * var(--u))}.header-actions .icon{filter:invert(1);opacity:.95}.menu-toggle{display:none}
.hero{height:calc(354 * var(--u));position:relative;overflow:hidden}.hero-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hero-content{position:relative;width:calc(403 * var(--u));padding-top:calc(23 * var(--u));margin-left:calc(51 * var(--u))}.hero-eyebrow{text-align:center;max-width:calc(200 * var(--u));font-size:calc(9 * var(--u));letter-spacing:calc(2.5 * var(--u));margin-bottom:calc(1 * var(--u))}h1{font-size:calc(68 * var(--u));line-height:.98;letter-spacing:calc(-2.2 * var(--u))}.hero h1{white-space:nowrap}.hero h1 em{display:block;font-size:calc(44 * var(--u));color:var(--dnd-heading);letter-spacing:calc(-1 * var(--u));font-weight:400;line-height:.91;text-align:center;width:calc(312 * var(--u))}.hero-description{font-size:calc(11.6 * var(--u));line-height:1.45;margin-top:calc(18 * var(--u));margin-bottom:calc(14 * var(--u))}.hero-buttons{display:flex;gap:calc(12 * var(--u));align-items:center}.hero-buttons .button{padding-left:calc(20 * var(--u));padding-right:calc(20 * var(--u))}.hero-promises{display:flex;width:calc(328 * var(--u));justify-content:space-between;margin-top:calc(18 * var(--u));color:var(--dnd-text)}.hero-promises>div{text-align:center;min-width:calc(86 * var(--u));display:flex;flex-direction:column;align-items:center;gap:calc(5 * var(--u))}.hero-promises .icon{width:calc(18 * var(--u));height:calc(18 * var(--u));filter:sepia(.5)}.hero-promises p{text-transform:uppercase;font-size:calc(6.5 * var(--u));font-weight:500;letter-spacing:calc(1 * var(--u));line-height:1.4}
.collections{position:relative;padding-top:calc(17 * var(--u));padding-bottom:calc(15 * var(--u));overflow:hidden}.collections h2{margin-bottom:calc(9 * var(--u))}.collection-grid{display:grid;grid-template-columns:1fr 1fr;gap:calc(14 * var(--u));position:relative}.collection{display:grid;grid-template-columns:64% 36%;height:calc(165 * var(--u))}.collection-photo{width:100%;height:100%;object-fit:cover;min-width:0}.collection-copy{padding:calc(12 * var(--u)) 0 0 calc(15 * var(--u));position:relative;z-index:1}.collection h3{font-size:calc(22 * var(--u));line-height:.9;letter-spacing:calc(-.4 * var(--u))}.collection p{font-size:calc(10 * var(--u));line-height:1.45;margin-top:calc(8 * var(--u));margin-bottom:calc(18 * var(--u));letter-spacing:calc(-.25 * var(--u))}.collection:nth-child(2){grid-template-columns:67% 33%}.collection:nth-child(2) .collection-copy{padding-left:calc(8 * var(--u))}.collection:nth-child(2) p{margin-bottom:calc(8 * var(--u))}.digital-photo{object-fit:cover}.botanical{position:absolute;pointer-events:none;opacity:.5;mix-blend-mode:multiply;width:calc(70 * var(--u))}.botanical-left{left:calc(-24 * var(--u));bottom:calc(-8 * var(--u));transform:rotate(15deg)}.botanical-right{right:calc(-22 * var(--u));top:calc(14 * var(--u));transform:rotate(-35deg)}
.gallery .section-heading{padding-top:calc(1 * var(--u));padding-bottom:calc(10 * var(--u))}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:calc(20 * var(--u))}.gallery h2{font-size:calc(26 * var(--u))}.section-note{font-size:calc(7.7 * var(--u));line-height:1.5}.gallery .section-note{margin-left:auto}.gallery-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:calc(8 * var(--u));padding:0 calc(13 * var(--u))}.gallery-item{padding:0;border:0;background:none;display:block;overflow:hidden;height:calc(160 * var(--u))}.gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.gallery-item:hover img{transform:scale(1.045)}
.process{padding-top:calc(16 * var(--u));padding-bottom:calc(14 * var(--u))}.process h2{text-transform:uppercase;font-size:calc(19 * var(--u));letter-spacing:calc(-.5 * var(--u))}.process .section-note{font-size:calc(8.7 * var(--u))}.process-grid{list-style:none;padding:0;margin:calc(8 * var(--u)) 0 0;display:grid;grid-template-columns:repeat(4,1fr);gap:calc(16 * var(--u));text-align:center}.step-icon{width:calc(40 * var(--u));height:calc(40 * var(--u));display:flex;align-items:center;justify-content:center;margin:0 auto calc(5 * var(--u));border:1px solid #e9e3d7;border-radius:50%;background:#f2eee5}.step-icon .icon{width:calc(21 * var(--u));height:calc(21 * var(--u));filter:sepia(.5)}.process h3{font-family:var(--sans);font-size:calc(7.3 * var(--u));font-weight:600;letter-spacing:calc(.9 * var(--u));text-transform:uppercase;color:var(--dnd-heading)}.process-grid p{font-size:calc(9 * var(--u));line-height:1.38;margin-top:calc(3 * var(--u))}
.testimonial{background:#f1eee6;position:relative;overflow:hidden}.testimonial-inner{display:flex;align-items:center;gap:calc(25 * var(--u));height:calc(100 * var(--u));padding-left:calc(38 * var(--u))}.bride{width:calc(100 * var(--u));height:calc(96 * var(--u));border-radius:50%;object-fit:cover}.testimonial blockquote{font-family:var(--serif);font-style:italic;font-size:calc(13 * var(--u));line-height:1.2;color:var(--dnd-text)}.testimonial-credit{display:flex;gap:calc(65 * var(--u));margin-top:calc(6 * var(--u));font-size:calc(10 * var(--u));color:var(--dnd-text)}.stars{display:flex;gap:calc(5 * var(--u))}.stars .icon{width:calc(11 * var(--u));height:calc(11 * var(--u));filter:invert(50%) sepia(35%) saturate(620%) hue-rotate(357deg);opacity:1}.handwriting{font-family:var(--script);line-height:.95;color:var(--dnd-text)}.testimonial-handwriting{font-size:calc(28 * var(--u));text-align:center;border-left:1px solid #dfd9cc;padding-left:calc(45 * var(--u));margin-left:calc(20 * var(--u));transform:rotate(-9deg);white-space:nowrap}.testimonial-botanical{right:0;bottom:calc(-32 * var(--u));width:calc(108 * var(--u));transform:rotate(-35deg)}
.contact-band{background:var(--teal);color:#fff;position:relative;overflow:hidden}.contact-inner{height:calc(74 * var(--u));display:flex;align-items:center;padding-left:calc(145 * var(--u));gap:calc(47 * var(--u))}.contact-inner .eyebrow{color:var(--dnd-on-brand);font-size:calc(7 * var(--u));letter-spacing:calc(1.8 * var(--u))}.contact-inner h2{color:#fff;font-size:calc(25 * var(--u));margin-top:2px;white-space:nowrap}.contact-inner .flourish{filter:brightness(0) invert(1);mix-blend-mode:normal;opacity:.7}.contact-buttons{display:flex;gap:calc(12 * var(--u))}.light{color:#fff;border-color:#d2e1dc;font-size:calc(9 * var(--u));min-width:calc(113 * var(--u));padding:calc(5 * var(--u)) calc(13 * var(--u))}.light:hover{background:#ffffff20}.contact-handwriting{font-size:calc(20 * var(--u));color:var(--dnd-on-brand);text-align:center;transform:rotate(-8deg);margin-left:calc(-25 * var(--u))}.contact-botanical{left:calc(13 * var(--u));bottom:calc(-49 * var(--u));width:calc(100 * var(--u));opacity:.55;filter:brightness(0) invert(1);mix-blend-mode:normal;transform:rotate(-45deg)}
.site-footer{background:var(--cream)}.footer-top{height:calc(60 * var(--u));display:flex;align-items:center;gap:calc(35 * var(--u))}.footer-brand{width:calc(107 * var(--u));flex:none}.footer-brand img{width:100%;height:auto}.footer-details{border-left:1px solid #bcc9c6;padding-left:calc(35 * var(--u));font-size:calc(7.4 * var(--u))}.footer-details p{display:flex;align-items:center;gap:calc(7 * var(--u));white-space:nowrap}.footer-details p+p{margin-top:calc(4 * var(--u))}.footer-details .icon{width:calc(13 * var(--u));height:calc(13 * var(--u));filter:invert(30%) sepia(30%) saturate(600%) hue-rotate(140deg);opacity:1}.footer-social{display:flex;gap:calc(10 * var(--u));margin-left:auto}.footer-social .icon{width:calc(12 * var(--u));height:calc(12 * var(--u));filter:invert(28%) sepia(30%) saturate(600%) hue-rotate(140deg);opacity:1}.footer-handwriting{font-size:calc(18 * var(--u));color:var(--teal);text-align:center;white-space:nowrap;transform:rotate(-8deg);margin-left:calc(-13 * var(--u))}.footer-bottom{border-top:1px solid #dbd8ce;min-height:calc(29 * var(--u));display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:calc(7 * var(--u))}.footer-bottom>div{display:flex;gap:calc(25 * var(--u))}.footer-bottom a:hover,.footer-details a:hover{text-decoration:underline}
.content-page{padding-top:50px;padding-bottom:65px;min-height:65vh;font-size:14px}.content-page h1{font-size:48px;line-height:1.1;margin-bottom:24px;letter-spacing:-1px}.content-page h2{font-size:32px;margin:20px 0 12px}.content-page h3{font-size:24px}.content-page p{margin-bottom:16px}.content-page .woocommerce{max-width:100%}.woocommerce .button,.woocommerce a.button,.woocommerce button.button{background:var(--teal);color:white;border-radius:99px;padding:12px 20px;font-family:var(--sans);font-size:13px}.woocommerce div.product p.price,.woocommerce ul.products li.product .price{color:var(--dnd-text)}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:25px}.woocommerce input.input-text,.woocommerce select,.woocommerce textarea{padding:12px;background:white;border:1px solid #b9c5be}.woocommerce-info{border-top-color:var(--teal)}.wc-block-components-button{background:var(--teal)!important;color:#fff!important;border-radius:99px!important}.wp-block-woocommerce-empty-cart-block h2{margin-top:30px}
/* WooCommerce primary actions need to override the plugin's .alt colors. */
#contenido .button.alt { background: var(--dnd-brand); color: var(--dnd-on-brand); }
#contenido .button.alt:hover:not(:disabled):not(.disabled) { background: var(--dnd-heading); color: var(--dnd-on-brand); }

dialog{border:1px solid #d7d5c9;padding:35px;background:var(--cream);color:var(--text);max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);overflow:auto}dialog::backdrop{background:#123b40b8}.dialog-close{position:absolute;right:10px;top:10px}.dialog-close .icon{width:25px;height:25px}.form-dialog{width:500px;font-size:13px}.form-dialog h2{font-size:34px;margin-bottom:12px}.form-dialog h3{font-size:26px}.form-dialog p{margin-bottom:18px}.form-dialog label{display:block;margin:16px 0;font-weight:500}.form-dialog input,.form-dialog textarea,.form-dialog select{display:block;width:100%;border:1px solid #bbc6bd;background:#fff;padding:11px;margin-top:6px;border-radius:3px;color:var(--dnd-text)}.form-dialog .button{font-size:12px;min-height:40px}.gallery-dialog{width:900px;padding:35px}.lightbox{display:flex;align-items:center;gap:15px}.lightbox figure{flex:1;min-width:0}.lightbox figure img{height:min(70vh,650px);width:100%;object-fit:contain}.lightbox figcaption{text-align:center;font-size:14px;padding-top:15px;color:var(--dnd-text)}.gallery-prev{transform:rotate(180deg)}.gallery-count{text-align:center;font-size:12px;margin-top:10px}
@media(min-width:1500px){.hero-content{margin-left:max(calc(51 * var(--u)),calc((100% - 1286px)/2))}}
@media(max-width:860px){:root{--u:1px}body{font-size:12px}.shell{width:calc(100% - 36px)}.site-header{height:64px}.header-inner{width:calc(100% - 28px);gap:12px}.brand{width:130px}.header-actions{margin-left:auto;padding-left:8px;gap:3px}.icon-button{min-width:40px;min-height:40px}.menu-toggle{display:flex;order:3}.menu-toggle .icon{filter:invert(1);opacity:1;width:26px;height:26px}.main-nav{display:none;position:absolute;top:64px;left:0;right:0;background:var(--teal);height:auto;padding:14px 24px;font-size:13px;align-items:stretch;flex-direction:column;gap:8px;box-shadow:0 8px 12px #0002}.main-nav.mobile-open{display:flex}.main-nav>a,.nav-group>button{padding:10px 0;width:100%;text-align:left}.nav-group{display:block}.dropdown{position:static;box-shadow:none;margin:0 0 8px;min-width:0}.hero{height:auto;padding-bottom:255px;background:#f3efe4}.hero-photo{top:auto;bottom:0;height:270px;object-fit:cover;object-position:right}.hero-content{width:auto;margin:0;padding:23px 18px 20px;background:var(--cream)}.hero-eyebrow{max-width:none;font-size:8px;margin-bottom:9px}h1{font-size:clamp(49px,12vw,68px);letter-spacing:-2px}.hero h1{text-align:center}.hero h1 em{width:auto;font-size:clamp(33px,8vw,43px);line-height:.95}.hero-description{text-align:center;font-size:11px;margin-top:15px}.hero-buttons{justify-content:center;gap:8px;flex-wrap:wrap}.hero-buttons .button{padding:8px 15px;min-height:38px}.hero-promises{width:100%;max-width:350px;margin:18px auto 0;gap:12px}.hero-promises p{font-size:6.5px}.collections{padding:24px 0 20px}.collections h2{font-size:28px;margin-bottom:16px}.flourish{width:36px;margin-left:4px}.collection-grid{grid-template-columns:1fr;gap:20px}.collection,.collection:nth-child(2){height:auto;min-height:190px;grid-template-columns:60% 40%}.collection-photo{height:190px}.collection-copy,.collection:nth-child(2) .collection-copy{padding:14px 0 6px 12px}.collection h3{font-size:25px}.collection p{font-size:10px;margin:12px 0 20px}.collection:nth-child(2) p{margin-bottom:12px}.small{min-height:34px;font-size:9px;padding:6px 13px}.section-heading{flex-wrap:wrap;gap:12px}.gallery .section-heading{padding-bottom:16px}.section-note,.gallery .section-note{font-size:9px;margin-left:0;flex:1}.section-note br{display:none}.gallery-grid{grid-template-columns:repeat(2,1fr);gap:8px;padding:0 18px}.gallery-item{height:auto;aspect-ratio:1}.gallery-item:last-child{grid-column:1/-1;aspect-ratio:2}.process{padding:24px 0}.process h2{font-size:21px}.process .section-note{font-size:10px}.process-grid{grid-template-columns:repeat(2,1fr);gap:22px 12px;margin-top:20px}.process h3{font-size:8px;letter-spacing:.5px}.process-grid p{font-size:10px}.step-icon{width:44px;height:44px;margin-bottom:9px}.testimonial-inner{height:auto;padding:20px 0;display:grid;grid-template-columns:76px 1fr;gap:14px}.bride{width:76px;height:76px}.testimonial blockquote{font-size:14px}.testimonial blockquote br{display:none}.testimonial-credit{gap:12px;justify-content:space-between;font-size:9px}.stars{gap:3px}.stars .icon{width:10px;height:10px}.testimonial-handwriting{grid-column:1/-1;margin:0;border:0;padding:10px 0 0;font-size:27px}.testimonial-handwriting br{display:none}.testimonial-botanical{width:90px;opacity:.2}.contact-inner{height:auto;padding:24px 0;display:flex;flex-direction:column;gap:17px;text-align:center}.contact-inner h2{font-size:29px;white-space:normal}.contact-handwriting{font-size:24px;margin:0}.contact-handwriting br{display:none}.contact-buttons{gap:8px}.light{min-height:38px;font-size:10px;padding:8px 15px}.contact-botanical{opacity:.2}.footer-top{height:auto;padding:22px 0;display:grid;grid-template-columns:110px 1fr;gap:18px}.footer-details{border:0;padding:0;grid-column:1/-1;font-size:8px}.footer-details p{flex-wrap:wrap;white-space:normal}.footer-social{margin:0;justify-content:flex-end}.footer-social .icon{width:16px;height:16px}.footer-handwriting{grid-column:1/-1;margin:0;font-size:24px}.footer-bottom{padding:14px 0;flex-direction:column;font-size:8px;text-align:center}.footer-bottom>div{gap:15px;flex-wrap:wrap;justify-content:center}.content-page{padding:30px 0;font-size:13px;min-height:60vh}.content-page h1{font-size:38px}.form-dialog{padding:30px 20px}.lightbox{gap:3px}.gallery-dialog{padding:36px 5px 20px}.lightbox .icon-button{min-width:32px}.lightbox figure img{height:55vh}.lightbox figcaption{font-size:12px}.botanical-left,.botanical-right{opacity:.2}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}
/* Correcciones tras comparar la primera captura con el mockup. */
@media(min-width:861px){
.main-nav{font-size:calc(9 * var(--u));gap:calc(20 * var(--u))}
.hero h1 em{font-family:Georgia,serif;font-size:calc(39 * var(--u));line-height:.97;letter-spacing:calc(-1.2 * var(--u));margin-top:calc(1 * var(--u))}
.hero-description{margin-top:calc(14 * var(--u))}
.collection{grid-template-rows:minmax(0,1fr)}
.collection-photo,.collection-copy{min-height:0}
.collection-photo{height:calc(165 * var(--u));max-height:calc(165 * var(--u))}
.collection p{font-size:calc(10.5 * var(--u))}
.collection-grid{gap:calc(10 * var(--u))}
.collections h2{margin-bottom:calc(6 * var(--u))}
.process-grid{gap:calc(16 * var(--u))}
.process-grid > div{position:relative}
.process-grid > div:not(:last-child)::after{content:"";position:absolute;left:calc(100% - 44 * var(--u));top:calc(10 * var(--u));width:calc(90 * var(--u));height:calc(22 * var(--u));background:url('assets/images/optimized/process-connector-100.webp?v=306b87904219') center/contain no-repeat;mix-blend-mode:multiply}
.contact-inner{display:grid;grid-template-columns:calc(260 * var(--u)) calc(271 * var(--u)) minmax(0,1fr);gap:calc(32 * var(--u));padding-left:calc(145 * var(--u));width:calc(100% - 64 * var(--u));max-width:1318px;margin-left:auto;margin-right:calc(16 * var(--u))}
.contact-inner .eyebrow{white-space:nowrap;letter-spacing:calc(1.4 * var(--u))}
.contact-inner h2{font-size:calc(24 * var(--u))}
.contact-inner .flourish{width:calc(35 * var(--u));height:calc(14 * var(--u));object-fit:contain;vertical-align:baseline}
.contact-handwriting{font-size:calc(18 * var(--u));width:calc(90 * var(--u));margin-left:calc(-10 * var(--u))}
}
h2,h3{font-weight:600}.flourish{height:calc(17 * var(--u));width:calc(45 * var(--u));object-fit:contain;mix-blend-mode:normal}.contact-inner .flourish{filter:brightness(0) invert(1)}
@media(min-width:861px){
.hero-eyebrow{margin-bottom:calc(-2 * var(--u))}
.hero h1 em{font-size:calc(50 * var(--u));line-height:.72;letter-spacing:calc(-1.5 * var(--u))}
.hero-description{margin-bottom:calc(11 * var(--u))}
.digital-photo{object-fit:contain}
.collections h2{font-size:calc(31 * var(--u))}
.process-grid > div:not(:last-child)::after{filter:brightness(1.07)}
}
.flourish{width:calc(66 * var(--u));height:calc(20 * var(--u));margin-left:calc(1 * var(--u));margin-right:calc(-10 * var(--u))}
.contact-inner .flourish{width:calc(48 * var(--u));height:calc(17 * var(--u))}
@media(min-width:861px){
.hero h1 em{font-family:var(--serif);font-size:calc(56 * var(--u));line-height:.64;letter-spacing:calc(-1 * var(--u))}
.hero-description{font-size:calc(12 * var(--u));margin-bottom:calc(10 * var(--u))}
.digital-photo{height:calc(185 * var(--u));max-height:none;transform:translateY(calc(-20 * var(--u)))}
}
.hero-description,.collection p,.process-grid p,.section-note,.footer-details,.footer-bottom{font-weight:500}

/* Search and quote forms share the approved fields and rounded surfaces. */
:is(#search-dialog, #quote-dialog) { width: min(560px, calc(100vw - 32px)); padding: 32px; border: 1px solid var(--dnd-text); border-radius: 24px; background: var(--dnd-surface); color: var(--dnd-heading); font-size: 1rem; }
:is(#search-dialog, #quote-dialog) h2 { margin: 0 40px 24px 0; font-size: 2rem; font-weight: 400; line-height: 1.2; letter-spacing: -.025em; }
:is(#search-dialog, #quote-dialog) form:not([hidden]) { display: grid; gap: 16px; }
#quote-form { margin-top: 24px; }
:is(#search-dialog, #quote-dialog) label { margin: 0; font-weight: 500; line-height: 1.5; }
:is(#search-dialog, #quote-dialog) :is(input, select, textarea) { width: 100%; min-height: 56px; margin-top: 8px; padding: 12px 24px; border: 1px solid var(--dnd-text); border-radius: 999px; background: transparent; color: var(--dnd-heading); font: inherit; }
:is(#search-dialog, #quote-dialog) .button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; padding: 12px 24px; border: 2px solid var(--dnd-brand); border-radius: 999px; background: transparent; color: var(--dnd-text); font-size: 1rem; font-weight: 400; line-height: 1.3; white-space: normal; text-align: center; }
:is(#search-dialog, #quote-dialog) .button .icon { width: 20px; height: 20px; filter: brightness(0) saturate(100%) invert(24%) sepia(10%) saturate(476%) hue-rotate(143deg); }
:is(#search-dialog, #quote-dialog) .button:hover { background: var(--dnd-brand); color: var(--dnd-on-brand); }
:is(#search-dialog, #quote-dialog) .button:hover .icon { filter: brightness(0) invert(1); }
:is(#search-dialog, #quote-dialog) .dialog-close { top: 12px; right: 12px; width: 44px; height: 44px; }
:is(#search-dialog, #quote-dialog) :is(input, select, textarea, button):focus-visible { outline: 2px solid var(--dnd-brand); outline-offset: 3px; }
:is(#search-dialog, #quote-dialog) textarea { min-height: 128px; border-radius: 24px; resize: vertical; }
:is(#search-dialog, #quote-dialog):modal { overscroll-behavior: contain; }
:is(#search-dialog, #quote-dialog)::backdrop { overflow: hidden; overscroll-behavior: contain; }
@media (max-width: 600px) {
    :is(#search-dialog, #quote-dialog) { padding: 24px; }
    :is(#search-dialog, #quote-dialog) h2 { font-size: 1.75rem; }
}

/* Native blocks keep the provisional layout; editorial wrappers add no spacing. */
#contenido .wp-block-group > * { margin-block-start: 0; }
#contenido .wp-block-group { box-sizing: border-box; }
.wp-block-quote { border: 0; padding: 0; margin: 0; }
.wp-block-quote p { margin: 0; font: inherit; line-height: inherit; }
.brand .custom-logo { width: 140px; height: 42px; object-fit: contain; }
.collection h3 { text-transform: none; }

/* An opaque text panel keeps hero copy readable independently of its photograph. */
.hero-content { background: var(--cream); }
.hero .hero-eyebrow,
.hero .hero-description,
.hero .hero-promises { color: var(--text); }
.hero .primary { background: var(--ink); border-color: var(--ink); }

/* Clear the heading's script descenders despite the native Group margin reset. */
@media (min-width: 861px) {
    #contenido .hero-content > .hero-description {
        margin-block-start: calc(24 * var(--u));
    }
}

/* Native parent menu items keep their destination beside the submenu toggle. */
.nav-group > a { font-size: inherit; white-space: nowrap; }
.nav-group > a + button { width: auto; padding: 10px 4px; display: inline-flex; }

/* Homepage reference: full photo, white branding and readable native hero blocks.
   Scope these rules to the header/hero so the remaining page retains its layout. */
.site-header, .hero { --teal: var(--dnd-brand); --ink: var(--dnd-brand); --cream: var(--dnd-on-brand); color: var(--dnd-on-brand); }
.site-header { height: 80px; background: var(--dnd-brand); z-index: 20; }
.home .site-header { position: absolute; inset: 0 0 auto; background: var(--dnd-brand); }
.admin-bar.home .site-header { top: 32px; }
.header-inner { width: calc(100% - 48px); max-width: 1286px; gap: 24px; }
.brand { width: 240px; }
.brand a { display: flex; align-items: center; min-height: 44px; }
.brand img, .brand .custom-logo { width: 100%; height: auto; max-height: 56px; object-fit: contain; }
.brand picture { display: block; width: 100%; }
/* Official white artwork is transparent; preserve its original colors directly. */
.brand picture img { display: block; filter: none; mix-blend-mode: normal; }
.site-header a { color: inherit; }
.main-nav { gap: 18px; font-size: 14px; }
.main-nav > a, .nav-group > a, .nav-group > button { min-height: 44px; display: inline-flex; align-items: center; }
.site-header .nav-group > a + button { min-width: 44px; justify-content: center; }
.main-nav .current { border-bottom: 2px solid #fff; }
.main-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.dropdown { background: var(--dnd-on-brand); color: var(--dnd-brand); border-color: var(--dnd-brand); top: 100%; min-width: 224px; max-width: calc(100vw - 48px); }
.dropdown a { font-size: 14px; min-height: 44px; white-space: normal; }
.dropdown a:hover, .dropdown a:focus-visible { color: var(--dnd-on-brand); background: var(--dnd-brand); }
.header-actions { padding-left: 12px; gap: 4px; }
.site-header .icon-button { width: 44px; height: 44px; flex: none; }
.site-header .icon { width: 21px; height: 21px; filter: brightness(0) invert(1); opacity: 1; }
.site-header .nav-group .icon { width: 12px; height: 12px; }
.menu-toggle[aria-expanded="true"] .icon { display: none; }
.menu-toggle[aria-expanded="true"]::before { content: "×"; font-size: 32px; line-height: 1; }
.site-header :is(a, button):focus-visible, .hero a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px var(--dnd-brand); }
.hero { height: auto; min-height: 640px; padding: 128px 0 48px; background: var(--dnd-brand); isolation: isolate; }
.hero .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -1; }
.hero-content { width: min(580px, calc(100% - 48px)); margin: 0 0 0 max(24px, calc((100% - 1286px) / 2)); padding: 32px; background: var(--dnd-brand); color: #fff; border-radius: 4px; overflow-wrap: anywhere; }
.hero .hero-eyebrow { max-width: none; text-align: left; color: #fff; font-size: 12px; letter-spacing: 2px; margin-bottom: 16px; }
.hero h1, .hero h1 em { width: auto; color: #fff; text-align: left; white-space: normal; font-family: var(--serif); font-size: clamp(48px, 5.4vw, 72px); line-height: 1.06; letter-spacing: -1px; font-weight: 500; }
.hero h1 em { font-style: normal; font-size: .8em; }
#contenido .hero-content > .hero-description { color: #fff; font-size: 16px; line-height: 1.65; text-align: left; margin-block: 20px 24px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-start; }
.hero-buttons .button { min-height: 48px; padding: 12px 20px; font-size: 14px; white-space: normal; text-align: center; color: #fff; border-color: #fff; }
.hero-buttons .primary { background: var(--dnd-on-brand); border-color: var(--dnd-on-brand); color: var(--dnd-brand); }
.hero-buttons .button:hover { background: #fff; color: var(--dnd-brand); }
.hero-buttons .button .icon { filter: brightness(0) invert(1); }
.hero-buttons .primary .icon, .hero-buttons .button:hover .icon { filter: none; }
.hero .hero-promises { color: #fff; width: auto; max-width: 100%; gap: 16px; flex-wrap: wrap; margin-top: 24px; }
.hero .hero-promises p { font-size: 11px; }
.hero .hero-promises .icon { filter: brightness(0) invert(1); opacity: 1; }
@media (max-width: 1120px) {
    .site-header { height: 72px; }
    .header-inner { width: calc(100% - 32px); gap: 8px; }
    .brand { flex: 1; min-width: 0; width: auto; max-width: 240px; }
    .header-actions { margin-left: auto; border: 0; padding-left: 0; gap: 0; }
    .menu-toggle { display: inline-flex; order: 3; }
    .main-nav { display: none; position: absolute; top: 100%; left: 16px; right: 16px; height: auto; max-height: calc(100dvh - 100px); overflow-y: auto; background: var(--dnd-brand); padding: 16px; flex-direction: column; align-items: stretch; gap: 4px; font-size: 16px; border: 1px solid #ffffff40; box-shadow: 0 12px 24px #0003; }
    .main-nav.mobile-open { display: flex; }
    .main-nav > a, .nav-group > button { padding: 10px; width: 100%; text-align: left; }
    .nav-group { display: block; height: auto; }
    .nav-group > a { padding: 10px; }
    .nav-group > a + button { width: 44px; height: 44px; padding: 10px; }
    .dropdown { position: static; margin: 0 0 8px; max-width: 100%; min-width: 0; }
    .hero { min-height: 620px; padding: 160px 0 28px; }
    .hero-content { width: calc(100% - 40px); max-width: 580px; margin-left: 20px; padding: 24px; }
    .hero h1 { font-size: clamp(44px, 7vw, 64px); }
    .hero .hero-promises > div { min-width: 0; flex: 1; }
}
@media (max-width: 782px) { .admin-bar.home .site-header { top: 46px; } }
@media (max-width: 380px) {
    .header-inner { width: calc(100% - 24px); gap: 4px; }
    .hero-content { padding: 20px; }
    .hero-buttons .button { width: 100%; }
}

body { font-size-adjust: from-font; }
h1, h2, h3, h4, h5, h6 { font-family: var(--serif); font-size-adjust: from-font; }
